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:
LFB4:
	stp	x29, x30, [sp, -32]!	;,,,
LCFI0:
	mov	x29, sp	;,
LCFI1:
	stp	x19, x20, [sp, 16]	;,,
LCFI2:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:4: int *func0(int n, int *count) {
	mov	x19, x1	; count, count
	mov	w20, w0	; n, n
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:5:     int *out = malloc(n * sizeof(int));
	sbfiz	x0, x0, 2, 32	;, n,,
	bl	_malloc		;
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:9:     for (i = 2; i < n; i++) {
	mov	w5, 2	; i,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:6:     *count = 0;
	str	wzr, [x19]	;, *count_22(D)
	mov	w7, 0	; pretmp_8,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:9:     for (i = 2; i < n; i++) {
	cmp	w20, w5	; n,
	ble	L1		;,
	.p2align 5,,15
L2:
	mov	x3, x0	; ivtmp.8, <retval>
	add	x6, x0, w7, uxtw 2	; _33, <retval>, pretmp_8,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:11:         for (j = 0; j < *count; j++) {
	cmp	w7, 0	; pretmp_8,
	bgt	L6		;,
	b	L4		;
	.p2align 2,,3
L18:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:14:             if (i % k == 0) {
	sdiv	w4, w5, w2	; tmp138, i, k
	msub	w2, w4, w2, w5	; _7, tmp138, k, i
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:14:             if (i % k == 0) {
	cbz	w2, L5	; _7,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:11:         for (j = 0; j < *count; j++) {
	add	x3, x3, 4	; ivtmp.8, ivtmp.8,
	cmp	x3, x6	; ivtmp.8, _33
	beq	L4		;,
L6:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:12:             k = out[j];
	ldr	w2, [x3]	;, MEM[(int *)_14]
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:13:             if (k * k > i) break;
	mul	w4, w2, w2	; _6, k, k
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:13:             if (k * k > i) break;
	cmp	w4, w5	; _6, i
	ble	L18		;,
L4:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:20:             out[*count] = i;
	str	w5, [x0, w7, sxtw 2]	; i, *_11
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:21:             (*count)++;
	add	w7, w7, 1	; _12, pretmp_8,
	str	w7, [x19]	; _12, *count_22(D)
L5:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:9:     for (i = 2; i < n; i++) {
	add	w5, w5, 1	; i, i,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:9:     for (i = 2; i < n; i++) {
	cmp	w20, w5	; n, i
	beq	L1		;,
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:11:         for (j = 0; j < *count; j++) {
	ldr	w7, [x19]	;, *count_22(D)
	b	L2		;
	.p2align 2,,3
L1:
; /Users/abdulrahman.mahmoud/alham_approach/eval/problem97/code.c:25: }
	ldp	x19, x20, [sp, 16]	;,,
	ldp	x29, x30, [sp], 32	;,,,
LCFI3:
	ret	
LFE4:
	.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	LFB4-.
	.set L$set$2,LFE4-LFB4
	.quad L$set$2
	.uleb128 0
	.byte	0x4
	.set L$set$3,LCFI0-LFB4
	.long L$set$3
	.byte	0xe
	.uleb128 0x20
	.byte	0x9d
	.uleb128 0x4
	.byte	0x9e
	.uleb128 0x3
	.byte	0x4
	.set L$set$4,LCFI1-LCFI0
	.long L$set$4
	.byte	0xd
	.uleb128 0x1d
	.byte	0x4
	.set L$set$5,LCFI2-LCFI1
	.long L$set$5
	.byte	0x93
	.uleb128 0x2
	.byte	0x94
	.uleb128 0x1
	.byte	0x4
	.set L$set$6,LCFI3-LCFI2
	.long L$set$6
	.byte	0xde
	.byte	0xdd
	.byte	0xd3
	.byte	0xd4
	.byte	0xc
	.uleb128 0x1f
	.uleb128 0
	.align	3
LEFDE1:
	.ident	"GCC: (Homebrew GCC 15.1.0) 15.1.0"
	.subsections_via_symbols
