	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k5baf_try_isp_format
_s5k5baf_try_isp_format:                ## @s5k5baf_try_isp_format
	.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
	movq	%rdi, %rbx
	addq	$16, %rdi
	movq	_S5K5BAF_WIN_WIDTH_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_S5K5BAF_CIS_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	12(%rbx), %r8
	movq	_S5K5BAF_WIN_HEIGHT_MIN@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_S5K5BAF_CIS_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	$1, %ecx
	pushq	$0
	pushq	$1
	pushq	%rax
	callq	_v4l_bound_align_image
	addq	$32, %rsp
	movq	%rbx, %rdi
	callq	_s5k5baf_find_pixfmt
	movq	_s5k5baf_formats@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cltq
	movl	4(%rcx,%rax,8), %edx
	movl	%edx, 8(%rbx)
	movl	(%rcx,%rax,8), %ecx
	movl	%ecx, 4(%rbx)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rbx)
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S5K5BAF_WIN_WIDTH_MIN,4,2      ## @S5K5BAF_WIN_WIDTH_MIN
	.comm	_S5K5BAF_CIS_WIDTH,4,2          ## @S5K5BAF_CIS_WIDTH
	.comm	_S5K5BAF_WIN_HEIGHT_MIN,4,2     ## @S5K5BAF_WIN_HEIGHT_MIN
	.comm	_S5K5BAF_CIS_HEIGHT,4,2         ## @S5K5BAF_CIS_HEIGHT
	.comm	_s5k5baf_formats,8,3            ## @s5k5baf_formats
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.no_dead_strip	_s5k5baf_try_isp_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k5baf_try_isp_format
_s5k5baf_try_isp_format:                ; @s5k5baf_try_isp_format
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _S5K5BAF_WIN_WIDTH_MIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _S5K5BAF_WIN_WIDTH_MIN@GOTPAGEOFF]
	add	x0, x0, #16
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _S5K5BAF_CIS_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S5K5BAF_CIS_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x4, x19, #12
Lloh6:
	adrp	x8, _S5K5BAF_WIN_HEIGHT_MIN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S5K5BAF_WIN_HEIGHT_MIN@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
Lloh9:
	adrp	x8, _S5K5BAF_CIS_HEIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S5K5BAF_CIS_HEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w6, [x8]
	str	wzr, [sp]
	mov	w3, #1
	mov	w7, #1
	bl	_v4l_bound_align_image
	mov	x0, x19
	bl	_s5k5baf_find_pixfmt
Lloh12:
	adrp	x8, _s5k5baf_formats@GOTPAGE
Lloh13:
	ldr	x8, [x8, _s5k5baf_formats@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	d0, [x8, w0, sxtw #3]
	stur	d0, [x19, #4]
Lloh15:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S5K5BAF_WIN_WIDTH_MIN,4,2      ; @S5K5BAF_WIN_WIDTH_MIN
	.comm	_S5K5BAF_CIS_WIDTH,4,2          ; @S5K5BAF_CIS_WIDTH
	.comm	_S5K5BAF_WIN_HEIGHT_MIN,4,2     ; @S5K5BAF_WIN_HEIGHT_MIN
	.comm	_S5K5BAF_CIS_HEIGHT,4,2         ; @S5K5BAF_CIS_HEIGHT
	.comm	_s5k5baf_formats,8,3            ; @s5k5baf_formats
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.no_dead_strip	_s5k5baf_try_isp_format
.subsections_via_symbols
