	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_high_utility_cell
_get_high_utility_cell:                 ## @get_high_utility_cell
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movslq	8(%rdi), %rcx
	movl	-4(%rax,%rcx,4), %r15d
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	24(%rdi), %edi
	callq	_av_lfg_get
	cmpl	%ebx, %r15d
	jge	LBB0_2
## %bb.1:
	movq	(%r14), %rcx
	movslq	8(%r14), %rsi
	xorl	%edx, %edx
	divl	-4(%rcx,%rsi,4)
	incl	%edx
	jmp	LBB0_3
LBB0_2:
	movl	24(%r14), %edi
	callq	_av_lfg_get
	movq	(%r14), %rcx
                                        ## implicit-def: $edx
LBB0_3:
	movq	$-1, %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rax
	incq	%rbx
	cmpl	%edx, 4(%rcx,%rax,4)
	jl	LBB0_4
## %bb.5:
	movl	%ebx, %eax
	movq	16(%r14), %rcx
	movl	(%rcx,%rax,4), %edi
	callq	_av_assert2
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.no_dead_strip	_get_high_utility_cell
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_high_utility_cell
_get_high_utility_cell:                 ; @get_high_utility_cell
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldr	x8, [x0]
	ldrsw	x9, [x0, #8]
	add	x8, x8, x9, lsl #2
	ldur	w20, [x8, #-4]
Lloh0:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	ldr	w0, [x0, #24]
	bl	_av_lfg_get
	cmp	w20, w21
	b.ge	LBB0_2
; %bb.1:
	ldr	x8, [x19]
	ldrsw	x9, [x19, #8]
	add	x9, x8, x9, lsl #2
	ldur	w9, [x9, #-4]
	udiv	w10, w0, w9
	msub	w9, w10, w9, w0
	add	w9, w9, #1
	b	LBB0_3
LBB0_2:
	ldr	w0, [x19, #24]
	bl	_av_lfg_get
	ldr	x8, [x19]
                                        ; implicit-def: $w9
LBB0_3:
	mov	x10, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8, x10, lsl #2]
	add	x10, x10, #1
	cmp	w11, w9
	b.lt	LBB0_4
; %bb.5:
	sub	x20, x10, #1
	ldr	x8, [x19, #16]
	ldr	w0, [x8, w20, uxtw #2]
	bl	_av_assert2
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.no_dead_strip	_get_high_utility_cell
.subsections_via_symbols
