	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _setup_loops
__setup_loops:                          ## @_setup_loops
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	8(%rcx), %r14
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	(%rcx), %ebx
	movl	(%r14), %edi
	movl	%ebx, %esi
	callq	_BYTE_TO_BURST
	movq	%rax, %r13
	movl	(%r14), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_BURST_TO_BYTE
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	callq	_BRST_SIZE
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	xorl	%r14d, %r14d
	testq	%r13, %r13
	je	LBB0_1
## %bb.2:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, -80(%rbp)
	leaq	(%rbx,%r14,4), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	leaq	-80(%rbp), %rcx
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	__loop
	addl	%eax, %r14d
	movslq	%r14d, %r14
	subq	-80(%rbp), %r13
	jne	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
LBB0_4:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	subl	-48(%rbp), %eax                 ## 4-byte Folded Reload
	cltd
	idivl	-44(%rbp)                       ## 4-byte Folded Reload
	leaq	(%rbx,%r14,4), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, %r8d
	callq	__dregs
	addl	%r14d, %eax
                                        ## kill: def $eax killed $eax killed $rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	__setup_loops
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _setup_loops
__setup_loops:                          ; @_setup_loops
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x23, [x3, #8]
	ldr	w25, [x3]
	ldr	w0, [x23]
	mov	x1, x25
	bl	_BYTE_TO_BURST
	mov	x24, x0
	ldr	w26, [x23]
	mov	x1, x25
	bl	_BURST_TO_BYTE
	mov	x23, x0
	mov	x0, x25
	bl	_BRST_SIZE
	mov	x25, x0
	mov	x27, #0
	cbz	x24, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	x24, [sp, #8]
	add	x2, x22, x27, lsl #2
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x20
	mov	x4, x19
	bl	__loop
	add	w8, w0, w27
	ldr	x9, [sp, #8]
	sxtw	x27, w8
	subs	x24, x24, x9
	b.ne	LBB0_1
LBB0_2:
	sub	w8, w26, w23
	add	x2, x22, x27, lsl #2
	sdiv	w4, w8, w25
	mov	x0, x21
	mov	x1, x20
	mov	x3, x19
	bl	__dregs
	add	w0, w0, w27
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	__setup_loops
.subsections_via_symbols
