	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __ov965x_try_frame_size
___ov965x_try_frame_size:               ## @__ov965x_try_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
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r13
	movq	_ov965x_framesizes@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r12d
	movq	_UINT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rdi
	subq	8(%r13), %rdi
	callq	_abs
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rdi
	subq	(%r13), %rdi
	callq	_abs
	addl	-44(%rbp), %eax                 ## 4-byte Folded Reload
	cmpl	%r15d, %eax
	cmovbq	%rbx, %r14
	cmovbl	%eax, %r15d
	addq	$16, %rbx
	decl	%r12d
	jne	LBB0_3
## %bb.4:
	testq	%r14, %r14
	jne	LBB0_6
LBB0_5:
	movq	_ov965x_framesizes@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
LBB0_6:
	movups	(%r14), %xmm0
	movups	%xmm0, (%r13)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%r14, (%rax)
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%r14d, %r14d
	testq	%r14, %r14
	je	LBB0_5
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ov965x_framesizes,8,3          ## @ov965x_framesizes
	.comm	_UINT_MAX,4,2                   ## @UINT_MAX
	.no_dead_strip	___ov965x_try_frame_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __ov965x_try_frame_size
___ov965x_try_frame_size:               ; @__ov965x_try_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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _ov965x_framesizes@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ov965x_framesizes@GOTPAGEOFF]
	ldr	x21, [x24]
	mov	x0, x21
	bl	_ARRAY_SIZE
	cbz	w0, LBB0_3
; %bb.1:
	mov	x22, x0
	mov	x25, #0
Lloh2:
	adrp	x8, _UINT_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _UINT_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w26, [x8]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w22, w22, #1
	ldr	x8, [x21, #8]
	ldr	x9, [x20, #8]
	sub	x0, x8, x9
	bl	_abs
	mov	x23, x0
	ldr	x8, [x21]
	ldr	x9, [x20]
	sub	x0, x8, x9
	bl	_abs
	add	w8, w0, w23
	cmp	w8, w26
	csel	x25, x21, x25, lo
	csel	w26, w8, w26, lo
	add	x21, x21, #16
	cbnz	w22, LBB0_2
	b	LBB0_4
LBB0_3:
	mov	x25, #0
LBB0_4:
	ldr	x8, [x24]
	cmp	x25, #0
	csel	x8, x8, x25, eq
	ldr	q0, [x8]
	str	q0, [x20]
	cbz	x19, LBB0_6
; %bb.5:
	str	x8, [x19]
LBB0_6:
	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	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ov965x_framesizes,8,3          ; @ov965x_framesizes
	.comm	_UINT_MAX,4,2                   ; @UINT_MAX
	.no_dead_strip	___ov965x_try_frame_size
.subsections_via_symbols
