	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ov772x_select_win
_ov772x_select_win:                     ## @ov772x_select_win
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_ov772x_win_qvga@GOTPCREL(%rip), %rax
	movq	%rdi, %rcx
	subq	8(%rax), %rcx
	movq	%rcx, %rdx
	negq	%rdx
	cmovsq	%rcx, %rdx
	movq	%rsi, %r8
	subq	(%rax), %r8
	movq	%r8, %rcx
	negq	%rcx
	cmovsq	%r8, %rcx
	addq	%rdx, %rcx
	movq	_ov772x_win_vga@GOTPCREL(%rip), %r8
	subq	8(%r8), %rdi
	movq	%rdi, %rdx
	negq	%rdx
	cmovsq	%rdi, %rdx
	subq	(%r8), %rsi
	movq	%rsi, %rdi
	negq	%rdi
	cmovsq	%rsi, %rdi
	addq	%rdx, %rdi
	cmpq	%rdi, %rcx
	cmovaq	%r8, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ov772x_win_qvga,16,3           ## @ov772x_win_qvga
	.comm	_ov772x_win_vga,16,3            ## @ov772x_win_vga
	.no_dead_strip	_ov772x_select_win
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ov772x_select_win
_ov772x_select_win:                     ; @ov772x_select_win
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _ov772x_win_qvga@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ov772x_win_qvga@GOTPAGEOFF]
	ldr	q0, [x8]
	fmov	d1, x1
	mov.d	v1[1], x0
	sub.2d	v0, v1, v0
	abs.2d	v0, v0
Lloh2:
	adrp	x9, _ov772x_win_vga@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ov772x_win_vga@GOTPAGEOFF]
	ldr	q2, [x9]
	sub.2d	v1, v1, v2
	abs.2d	v1, v1
	zip1.2d	v2, v0, v1
	zip2.2d	v0, v0, v1
	add.2d	v0, v2, v0
	dup.2d	v1, v0[1]
	cmhi.2d	v0, v0, v1
	xtn.2s	v0, v0
	fmov	w10, s0
	tst	w10, #0x1
	csel	x0, x9, x8, ne
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ov772x_win_qvga,16,3           ; @ov772x_win_qvga
	.comm	_ov772x_win_vga,16,3            ; @ov772x_win_vga
	.no_dead_strip	_ov772x_select_win
.subsections_via_symbols
