	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5k6a3_try_format
_s5k6a3_try_format:                     ## @s5k6a3_try_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
	callq	_find_sensor_format
	movl	12(%rax), %eax
	movl	%eax, 12(%rbx)
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	leaq	4(%rbx), %rdi
	movq	_S5K6A3_SENSOR_MIN_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_S5K6A3_SENSOR_MAX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_S5K6A3_SENSOR_MIN_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_S5K6A3_SENSOR_MAX_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	_v4l_bound_align_image
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_S5K6A3_SENSOR_MIN_WIDTH,4,2    ## @S5K6A3_SENSOR_MIN_WIDTH
	.comm	_S5K6A3_SENSOR_MAX_WIDTH,4,2    ## @S5K6A3_SENSOR_MAX_WIDTH
	.comm	_S5K6A3_SENSOR_MIN_HEIGHT,4,2   ## @S5K6A3_SENSOR_MIN_HEIGHT
	.comm	_S5K6A3_SENSOR_MAX_HEIGHT,4,2   ## @S5K6A3_SENSOR_MAX_HEIGHT
	.no_dead_strip	_s5k6a3_try_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5k6a3_try_format
_s5k6a3_try_format:                     ; @s5k6a3_try_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
	bl	_find_sensor_format
	ldr	w8, [x0, #12]
Lloh0:
	adrp	x9, _V4L2_FIELD_NONE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
	add	x0, x19, #4
Lloh3:
	adrp	x8, _S5K6A3_SENSOR_MIN_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _S5K6A3_SENSOR_MIN_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _S5K6A3_SENSOR_MAX_WIDTH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _S5K6A3_SENSOR_MAX_WIDTH@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _S5K6A3_SENSOR_MIN_HEIGHT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _S5K6A3_SENSOR_MIN_HEIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
Lloh12:
	adrp	x8, _S5K6A3_SENSOR_MAX_HEIGHT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _S5K6A3_SENSOR_MAX_HEIGHT@GOTPAGEOFF]
Lloh14:
	ldr	w6, [x8]
	str	wzr, [sp]
	mov	w3, #0
	mov	x4, x19
	mov	w7, #0
	bl	_v4l_bound_align_image
	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	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	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_S5K6A3_SENSOR_MIN_WIDTH,4,2    ; @S5K6A3_SENSOR_MIN_WIDTH
	.comm	_S5K6A3_SENSOR_MAX_WIDTH,4,2    ; @S5K6A3_SENSOR_MAX_WIDTH
	.comm	_S5K6A3_SENSOR_MIN_HEIGHT,4,2   ; @S5K6A3_SENSOR_MIN_HEIGHT
	.comm	_S5K6A3_SENSOR_MAX_HEIGHT,4,2   ; @S5K6A3_SENSOR_MAX_HEIGHT
	.no_dead_strip	_s5k6a3_try_format
.subsections_via_symbols
