	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5c73m3_find_frame_size
_s5c73m3_find_frame_size:               ## @s5c73m3_find_frame_size
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ecx
	movq	_s5c73m3_resolutions_len@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r13d, %r13d
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%rax,%rcx,4)
	jle	LBB0_1
## %bb.2:
	movq	_s5c73m3_resolutions@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %r12
	movq	_INT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	xorl	%ebx, %ebx
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	subq	8(%r15), %rdi
	callq	_abs
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%r12), %rdi
	subq	(%r15), %rdi
	callq	_abs
	movq	_s5c73m3_resolutions_len@GOTPCREL(%rip), %rcx
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	%r14d, %eax
	cmovlq	%r12, %rbx
	cmovll	%eax, %r14d
	addq	$16, %r12
	incl	%r13d
	movq	(%rcx), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	(%rax,%rcx,4), %r13d
	jl	LBB0_3
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INT_MAX,4,2                    ## @INT_MAX
	.comm	_s5c73m3_resolutions,8,3        ## @s5c73m3_resolutions
	.comm	_s5c73m3_resolutions_len,8,3    ## @s5c73m3_resolutions_len
	.no_dead_strip	_s5c73m3_find_frame_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5c73m3_find_frame_size
_s5c73m3_find_frame_size:               ; @s5c73m3_find_frame_size
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x22, _s5c73m3_resolutions_len@GOTPAGE
Lloh1:
	ldr	x22, [x22, _s5c73m3_resolutions_len@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w8, [x8, w1, uxtw #2]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x19, x0
	mov	w23, #0
	mov	x20, #0
	mov	w24, w1
Lloh2:
	adrp	x8, _s5c73m3_resolutions@GOTPAGE
Lloh3:
	ldr	x8, [x8, _s5c73m3_resolutions@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x25, [x8, x24, lsl #3]
Lloh5:
	adrp	x8, _INT_MAX@GOTPAGE
Lloh6:
	ldr	x8, [x8, _INT_MAX@GOTPAGEOFF]
Lloh7:
	ldr	w26, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x25, #8]
	ldr	x9, [x19, #8]
	sub	x0, x8, x9
	bl	_abs
	mov	x21, x0
	ldr	x8, [x25]
	ldr	x9, [x19]
	sub	x0, x8, x9
	bl	_abs
	add	w8, w0, w21
	cmp	w8, w26
	csel	x20, x25, x20, lt
	csel	w26, w8, w26, lt
	add	x25, x25, #16
	add	w23, w23, #1
	ldr	x8, [x22]
	ldr	w8, [x8, x24, lsl #2]
	cmp	w23, w8
	b.lt	LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x20, #0
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INT_MAX,4,2                    ; @INT_MAX
	.comm	_s5c73m3_resolutions,8,3        ; @s5c73m3_resolutions
	.comm	_s5c73m3_resolutions_len,8,3    ; @s5c73m3_resolutions_len
	.no_dead_strip	_s5c73m3_find_frame_size
.subsections_via_symbols
