	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _loop
__loop:                                 ## @_loop
	.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
	movq	%r8, %r15
	movq	%rdx, %r12
	movq	%rdi, %rbx
	movq	(%rcx), %r13
	cmpq	$1, %r13
	jne	LBB0_1
## %bb.14:
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movq	%r15, %rcx
	movl	$1, %r8d
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__bursts                        ## TAILCALL
LBB0_1:
	cmpq	$65536, %r13                    ## imm = 0x10000
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	jb	LBB0_3
## %bb.2:
	shrq	$16, %r13
	movl	$256, %r14d                     ## imm = 0x100
	movl	$256, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x100
	jmp	LBB0_7
LBB0_3:
	cmpq	$257, %r13                      ## imm = 0x101
	jb	LBB0_5
## %bb.4:
	shrq	$8, %r13
	movl	%r13d, %r14d
	movl	$256, -44(%rbp)                 ## 4-byte Folded Spill
                                        ## imm = 0x100
	jmp	LBB0_6
LBB0_5:
	movl	%r13d, %eax
	movl	%r13d, -44(%rbp)                ## 4-byte Spill
	xorl	%r14d, %r14d
LBB0_6:
	movl	$1, %r13d
LBB0_7:
	movl	$1, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	__emit_LP
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$1, %esi
	movq	%r12, %rdx
	movq	%r15, -104(%rbp)                ## 8-byte Spill
	movq	%r15, %rcx
	movl	$1, %r8d
	callq	__bursts
	movl	%eax, %r15d
	movq	_ALWAYS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movq	$0, -80(%rbp)
	movl	$0, -72(%rbp)
	leaq	-80(%rbp), %rdx
	movl	$1, %edi
	movq	%r12, %rsi
	callq	__emit_LPEND
	testl	%r14d, %r14d
	setne	%cl
	addl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	shll	%cl, %eax
	movl	$255, %ecx
	subl	%eax, %ecx
	movl	%ecx, %eax
	cltd
	idivl	%r15d
	cmpl	%r13d, %eax
	cmovll	%eax, %r13d
	testl	%r14d, %r14d
	movl	%r14d, -84(%rbp)                ## 4-byte Spill
	je	LBB0_8
## %bb.9:
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	movl	%r15d, %edi
	movq	%r12, %rsi
	xorl	%edx, %edx
	movl	%r14d, %ecx
	callq	__emit_LP
	jmp	LBB0_10
LBB0_8:
	movl	-52(%rbp), %r15d                ## 4-byte Reload
	xorl	%eax, %eax
LBB0_10:
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movslq	%eax, %rbx
	leaq	(%r12,%rbx,4), %rsi
	movl	%r15d, %edi
	movl	$1, %edx
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	__emit_LP
	addl	%eax, %ebx
	movslq	%ebx, %rbx
	leaq	(%r12,%rbx,4), %rdx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, %esi
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movl	%r13d, %r8d
	callq	__bursts
	addl	%eax, %ebx
	movq	_ALWAYS@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	%rcx, -64(%rbp)
	movabsq	$4294967296, %rcx               ## imm = 0x100000000
	movq	%rcx, -80(%rbp)
	movl	%eax, -72(%rbp)
	movslq	%ebx, %rbx
	leaq	(%r12,%rbx,4), %rsi
	leaq	-80(%rbp), %rdx
	movl	%r15d, %edi
	callq	__emit_LPEND
	addl	%eax, %ebx
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	je	LBB0_11
## %bb.12:
	movq	(%r14), %rax
	movq	%rax, -64(%rbp)
	movq	$0, -80(%rbp)
	movl	%r15d, %edi
	movl	%ecx, %r15d
	movslq	%ebx, %r14
	subl	-48(%rbp), %ebx                 ## 4-byte Folded Reload
	movl	%ebx, -72(%rbp)
	leaq	(%r12,%r14,4), %rsi
	leaq	-80(%rbp), %rdx
	callq	__emit_LPEND
	addl	%eax, %r14d
	movl	%r14d, %ebx
	jmp	LBB0_13
LBB0_11:
	movl	$1, %r15d
LBB0_13:
	imull	-44(%rbp), %r13d                ## 4-byte Folded Reload
	movl	%r15d, %eax
	imulq	%r13, %rax
	movq	-112(%rbp), %rcx                ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALWAYS,8,3                     ## @ALWAYS
	.no_dead_strip	__loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function _loop
lCPI0_0:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
__loop:                                 ; @_loop
	.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	x24, x4
	mov	x21, x2
	mov	x20, x1
	mov	x25, x0
	ldr	x8, [x3]
	cmp	x8, #1
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x25
	mov	x1, x20
	mov	x2, x21
	mov	x3, x24
	mov	w4, #1
	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
	b	__bursts
LBB0_2:
	mov	x19, x3
	cmp	x8, #257
	mov	w9, #1
	lsr	x10, x8, #8
	mov	w11, #256
	mov	w12, #1
	csel	w9, w9, w12, lo
	csel	w10, wzr, w10, lo
	csel	w11, w8, w11, lo
	lsr	x12, x8, #16
	mov	w13, #256
	cmp	x8, #16, lsl #12                ; =65536
	csel	w28, w9, w12, lo
	csel	w23, w10, w13, lo
	csel	w22, w11, w13, lo
	mov	w0, #1
	mov	x1, x21
	mov	w2, #0
	mov	w3, #0
	bl	__emit_LP
	mov	x26, x0
	mov	x0, x25
	mov	w1, #1
	mov	x2, x21
	mov	x3, x24
	mov	w4, #1
	bl	__bursts
	mov	x27, x0
Lloh0:
	adrp	x8, _ALWAYS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ALWAYS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	str	xzr, [sp, #8]
	str	wzr, [sp, #16]
	add	x2, sp, #8
	mov	w0, #1
	mov	x1, x21
	bl	__emit_LPEND
	cmp	w23, #0
	cset	w8, ne
	add	w9, w26, w0
	lsl	w8, w9, w8
	mov	w9, #255
	sub	w8, w9, w8
	sdiv	w8, w8, w27
	cmp	w8, w28
	csel	w26, w8, w28, lt
	cbz	w23, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x21
	mov	w2, #0
	mov	x3, x23
	bl	__emit_LP
	mov	x27, x0
	b	LBB0_5
LBB0_4:
	mov	w27, #0
LBB0_5:
	add	x1, x21, w27, sxtw #2
	mov	x0, x20
	mov	w2, #1
	mov	x3, x22
	bl	__emit_LP
	add	w28, w0, w27
	add	x2, x21, w28, sxtw #2
	mov	x0, x25
	mov	x1, x20
	mov	x3, x24
	mov	x4, x26
	bl	__bursts
	add	w24, w28, w0
Lloh3:
	adrp	x25, _ALWAYS@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ALWAYS@GOTPAGEOFF]
	ldr	x8, [x25]
	str	x8, [sp, #24]
Lloh5:
	adrp	x8, lCPI0_0@PAGE
Lloh6:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	str	w0, [sp, #16]
	add	x1, x21, w24, sxtw #2
	add	x2, sp, #8
	mov	x0, x20
	bl	__emit_LPEND
	add	w24, w0, w24
	cbz	w23, LBB0_7
; %bb.6:
	ldr	x8, [x25]
	str	x8, [sp, #24]
	str	xzr, [sp, #8]
	sub	w8, w24, w27
	str	w8, [sp, #16]
	add	x1, x21, w24, sxtw #2
	add	x2, sp, #8
	mov	x0, x20
	bl	__emit_LPEND
	add	w24, w0, w24
	b	LBB0_8
LBB0_7:
	mov	w23, #1
LBB0_8:
	mul	w8, w26, w22
	umull	x8, w23, w8
	str	x8, [x19]
	mov	x0, x24
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ALWAYS,8,3                     ; @ALWAYS
	.no_dead_strip	__loop
.subsections_via_symbols
