	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_sclk_from_bounding_box
_determine_sclk_from_bounding_box:      ## @determine_sclk_from_bounding_box
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	(%rdi), %ecx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movq	%rdi, %rbx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.3:
	movq	8(%rbx), %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdx,%rdi,4), %eax
	cmpl	%esi, %eax
	jge	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdi
	cmpq	%rdi, %rcx
	jne	LBB0_5
LBB0_6:
	xorl	%edi, %edi
	callq	_ASSERT
	movq	8(%rbx), %rax
	movslq	(%rbx), %rcx
	movl	-4(%rax,%rcx,4), %eax
	jmp	LBB0_7
LBB0_1:
	movl	%esi, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_determine_sclk_from_bounding_box
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_sclk_from_bounding_box
_determine_sclk_from_bounding_box:      ; @determine_sclk_from_bounding_box
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	w8, [x0]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x19, x0
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	ldr	x9, [x19, #8]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	cmp	w10, w1
	b.ge	LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #4
	subs	x8, x8, #1
	b.ne	LBB0_3
LBB0_5:
	mov	w0, #0
	bl	_ASSERT
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	ldur	w1, [x8, #-4]
	b	LBB0_7
LBB0_6:
	mov	x1, x10
LBB0_7:
	mov	x0, x1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_determine_sclk_from_bounding_box
.subsections_via_symbols
