ERROR: No output file created
	.arch armv8.5-a
	.build_version macos,  15, 0
; GNU C11 (Homebrew GCC 15.1.0) version 15.1.0 (aarch64-apple-darwin24)
;	compiled by GNU C version 15.1.0, GMP version 6.3.0, MPFR version 4.2.2, MPC version 1.3.1, isl version isl-0.27-GMP

; GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
; options passed: -fPIC -mmacosx-version-min=15.0.0 -mcpu=apple-m1 -mlittle-endian -mabi=lp64 -O2 -std=c11
	.text
	.align	2
	.p2align 5,,15
	.globl _func0
_func0:
LFB1:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:4:     for (int i = 0; i < rows; i++) {
	cmp	w1, 0	; rows,
	ble	L10		;,
	mov	x6, x0	; ivtmp.15, grid
	add	x7, x0, w1, uxtw 3	; _43, ivtmp.15, rows,
L3:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:6:         for (int j = 0; j < cols; j++)
	cmp	w2, 0	; cols,
	bgt	L13		;,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:4:     for (int i = 0; i < rows; i++) {
	add	x6, x6, 8	; ivtmp.15, ivtmp.15,
	cmp	x6, x7	; ivtmp.15, _43
	bne	L3		;,
L10:
	mov	w0, 0	; <retval>,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:11: }
	ret	
	.p2align 2,,3
L13:
	sbfiz	x8, x2, 2, 32	; _13, cols,,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:6:         for (int j = 0; j < cols; j++)
	mov	w0, 0	; <retval>,
	.p2align 5,,15
L8:
	ldr	x1, [x6]	; ivtmp.8, MEM[(int * *)_44]
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:5:         int sum = 0;
	mov	w2, 0	; sum,
	add	x5, x8, x1	; _36, _13, ivtmp.8
	.p2align 5,,15
L4:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:7:             sum += grid[i][j];
	ldr	w4, [x1], 4	;, MEM[(int *)_15]
	add	w2, w2, w4	; sum, sum, MEM[(int *)_15]
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:6:         for (int j = 0; j < cols; j++)
	cmp	x1, x5	; ivtmp.8, _36
	bne	L4		;,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:8:         if (sum > 0) out += (sum + capacity - 1) / capacity;
	cmp	w2, 0	; sum,
	ble	L5		;,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:8:         if (sum > 0) out += (sum + capacity - 1) / capacity;
	add	w1, w3, w2	; _9, capacity, sum
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:4:     for (int i = 0; i < rows; i++) {
	add	x6, x6, 8	; ivtmp.15, ivtmp.15,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:8:         if (sum > 0) out += (sum + capacity - 1) / capacity;
	sub	w1, w1, #1	; _10, _9,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:8:         if (sum > 0) out += (sum + capacity - 1) / capacity;
	sdiv	w1, w1, w3	; _11, _10, capacity
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:8:         if (sum > 0) out += (sum + capacity - 1) / capacity;
	add	w0, w0, w1	; <retval>, <retval>, _11
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:4:     for (int i = 0; i < rows; i++) {
	cmp	x6, x7	; ivtmp.15, _43
	bne	L8		;,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:11: }
	ret	
	.p2align 2,,3
L5:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:4:     for (int i = 0; i < rows; i++) {
	add	x6, x6, 8	; ivtmp.15, ivtmp.15,
	cmp	x6, x7	; ivtmp.15, _43
	bne	L8		;,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem116/code.c:11: }
	ret	
LFE1:
	.section __TEXT,__eh_frame,coalesced,no_toc+strip_static_syms+live_support
EH_frame1:
	.set L$set$0,LECIE1-LSCIE1
	.long L$set$0
LSCIE1:
	.long	0
	.byte	0x3
	.ascii "zR\0"
	.uleb128 0x1
	.sleb128 -8
	.uleb128 0x1e
	.uleb128 0x1
	.byte	0x10
	.byte	0xc
	.uleb128 0x1f
	.uleb128 0
	.align	3
LECIE1:
LSFDE1:
	.set L$set$1,LEFDE1-LASFDE1
	.long L$set$1
LASFDE1:
	.long	LASFDE1-EH_frame1
	.quad	LFB1-.
	.set L$set$2,LFE1-LFB1
	.quad L$set$2
	.uleb128 0
	.align	3
LEFDE1:
	.ident	"GCC: (Homebrew GCC 15.1.0) 15.1.0"
	.subsections_via_symbols
