	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	$7, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$21, %r15d
	movl	$189826, %ecx                   ## imm = 0x2E582
	movl	$4, %r14d
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_2 Depth 2
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%edx, %eax
	shrl	$9, %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	shll	$9, %eax
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	shrl	$17, %eax
	movl	%eax, -72(%rbp)                 ## 4-byte Spill
	movl	%edx, %eax
	shll	$17, %eax
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	movl	$-27115, %r12d                  ## imm = 0x9615
	movl	%r14d, -60(%rbp)                ## 4-byte Spill
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	movl	%r15d, -64(%rbp)                ## 4-byte Spill
	movl	%r15d, -56(%rbp)                ## 4-byte Spill
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	.p2align	4, 0x90
LBB0_2:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	leal	27118(%r12), %ebx
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	%r14d, %edi
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	callq	_av_int2i
	movl	%eax, %r13d
	movl	%ebx, %edi
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	callq	_av_int2i
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_av_i2int
	xorl	%edi, %edi
	cmpl	%r14d, %eax
	sete	%dil
	callq	_av_assert0
	movl	%r15d, %edi
	callq	_av_i2int
	xorl	%edi, %edi
	cmpl	%eax, %ebx
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_av_add_i
	movl	%eax, %edi
	callq	_av_i2int
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	addl	%r12d, %ecx
	addl	$27125, %ecx                    ## imm = 0x69F5
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	movl	%r15d, %esi
	movl	%r15d, -88(%rbp)                ## 4-byte Spill
	callq	_av_sub_i
	movl	%eax, %edi
	callq	_av_i2int
	xorl	%edi, %edi
	movl	-52(%rbp), %r12d                ## 4-byte Reload
	cmpl	%eax, %r12d
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	movl	%r15d, %esi
	callq	_av_mul_i
	movl	%eax, %edi
	callq	_av_i2int
	xorl	%edi, %edi
	movl	-56(%rbp), %r14d                ## 4-byte Reload
	cmpl	%eax, %r14d
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	movl	$9, %esi
	callq	_av_shr_i
	movl	%eax, %edi
	callq	_av_i2int
	xorl	%edi, %edi
	cmpl	-80(%rbp), %eax                 ## 4-byte Folded Reload
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	movl	$-9, %esi
	callq	_av_shr_i
	movl	%eax, %edi
	callq	_av_i2int
	xorl	%edi, %edi
	cmpl	-76(%rbp), %eax                 ## 4-byte Folded Reload
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	movl	$17, %esi
	callq	_av_shr_i
	movl	%eax, %edi
	callq	_av_i2int
	xorl	%edi, %edi
	cmpl	-72(%rbp), %eax                 ## 4-byte Folded Reload
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	movl	$-17, %esi
	callq	_av_shr_i
	movl	%eax, %edi
	callq	_av_i2int
	xorl	%edi, %edi
	cmpl	-68(%rbp), %eax                 ## 4-byte Folded Reload
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	callq	_av_log2_i
	movq	%rax, %rbx
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movl	%r15d, %edi
	callq	_av_log2
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	sete	%dil
	callq	_av_assert0
	movl	%r13d, %edi
	movl	-88(%rbp), %esi                 ## 4-byte Reload
	callq	_av_div_i
	movl	%eax, %edi
	callq	_av_i2int
	movl	%eax, %ecx
	movl	%r15d, %eax
	xorl	%edx, %edx
	movl	-92(%rbp), %ebx                 ## 4-byte Reload
	divl	%ebx
	xorl	%edi, %edi
	cmpl	%eax, %ecx
	sete	%dil
	callq	_av_assert0
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	addl	%ecx, %r14d
	movl	%r14d, -56(%rbp)                ## 4-byte Spill
	addl	$-27118, %r12d                  ## imm = 0x9612
	movl	%r12d, -52(%rbp)                ## 4-byte Spill
	movl	%ebx, %eax
	movl	%ebx, %r12d
	cmpl	$16750098, %ebx                 ## imm = 0xFF9612
	jb	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	leal	13215(%rdx), %eax
	movl	-64(%rbp), %r15d                ## 4-byte Reload
	addl	$39645, %r15d                   ## imm = 0x9ADD
	addl	$358364370, %ecx                ## imm = 0x155C34D2
	movl	-60(%rbp), %r14d                ## 4-byte Reload
	addl	$13215, %r14d                   ## imm = 0x339F
	movq	-104(%rbp), %rsi                ## 8-byte Reload
	addl	$13215, %esi                    ## imm = 0x339F
	cmpl	$16764001, %edx                 ## imm = 0xFFCC61
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rax
	jb	LBB0_1
## %bb.4:
	xorl	%eax, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	w19, #7
	mov	w24, #21
	mov	w25, #58754
	movk	w25, #2, lsl #16
	mov	w27, #4
	mov	w26, #10
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_2 Depth 2
	mov	w28, #0
	lsr	w9, w19, #9
	lsl	w8, w19, #9
	stp	w8, w9, [sp, #24]               ; 8-byte Folded Spill
	lsr	w9, w19, #17
	stp	w27, w24, [sp, #8]              ; 8-byte Folded Spill
	lsl	w8, w19, #17
	stp	w8, w9, [sp, #16]               ; 8-byte Folded Spill
LBB0_2:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	w20, w28, #3
	mov	x0, x19
	bl	_av_int2i
	mov	x21, x0
	mov	x0, x20
	bl	_av_int2i
	mov	x22, x0
	mov	x0, x21
	bl	_av_i2int
	cmp	w0, w19
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x22
	bl	_av_i2int
	cmp	w20, w0
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	mov	x1, x22
	bl	_av_add_i
	bl	_av_i2int
	add	w8, w26, w28
	cmp	w8, w0
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	mov	x1, x22
	bl	_av_sub_i
	bl	_av_i2int
	cmp	w27, w0
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	mov	x1, x22
	bl	_av_mul_i
	bl	_av_i2int
	cmp	w24, w0
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	mov	w1, #9
	bl	_av_shr_i
	bl	_av_i2int
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cmp	w0, w8
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	mov	w1, #-9
	bl	_av_shr_i
	bl	_av_i2int
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	cmp	w0, w8
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	mov	w1, #17
	bl	_av_shr_i
	bl	_av_i2int
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cmp	w0, w8
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	mov	w1, #-17
	bl	_av_shr_i
	bl	_av_i2int
	ldr	w8, [sp, #16]                   ; 4-byte Folded Reload
	cmp	w0, w8
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	bl	_av_log2_i
	mov	x23, x0
	mov	x0, x19
	bl	_av_log2
	cmp	x23, x0
	cset	w0, eq
	bl	_av_assert0
	mov	x0, x21
	mov	x1, x22
	bl	_av_div_i
	bl	_av_i2int
	udiv	w8, w19, w20
	cmp	w0, w8
	cset	w0, eq
	bl	_av_assert0
	mov	w9, #-27118
	mov	w8, #27118
	add	w28, w28, w8
	add	w24, w24, w25
	add	w27, w27, w9
	mov	w8, #38418
	movk	w8, #255, lsl #16
	cmp	w20, w8
	b.lo	LBB0_2
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w9, #13215
	add	w8, w19, w9
	ldp	w27, w24, [sp, #8]              ; 8-byte Folded Reload
	mov	w10, #39645
	add	w24, w24, w10
	mov	w10, #13522
	movk	w10, #5468, lsl #16
	add	w25, w25, w10
	add	w27, w27, w9
	add	w26, w26, w9
	mov	w9, #52321
	movk	w9, #255, lsl #16
	cmp	w19, w9
	mov	x19, x8
	b.lo	LBB0_1
; %bb.4:
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
