	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s5pcsis_try_format
_s5pcsis_try_format:                    ## @s5pcsis_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_find_csis_format
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_s5pcsis_formats@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_2:
	movl	4(%rbx), %eax
	movl	%eax, 8(%r14)
	leaq	4(%r14), %rdi
	movq	_CSIS_MAX_PIX_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	_CSIS_MAX_PIX_HEIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	movl	$1, %esi
	movq	%r14, %r8
	movl	$1, %r9d
	pushq	$0
	pushq	$1
	pushq	%rax
	callq	_v4l_bound_align_image
	addq	$32, %rsp
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_s5pcsis_formats,8,3            ## @s5pcsis_formats
	.comm	_CSIS_MAX_PIX_WIDTH,4,2         ## @CSIS_MAX_PIX_WIDTH
	.comm	_CSIS_MAX_PIX_HEIGHT,4,2        ## @CSIS_MAX_PIX_HEIGHT
	.no_dead_strip	_s5pcsis_try_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s5pcsis_try_format
_s5pcsis_try_format:                    ; @s5pcsis_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_csis_format
Lloh0:
	adrp	x8, _s5pcsis_formats@GOTPAGE
Lloh1:
	ldr	x8, [x8, _s5pcsis_formats@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, #0
	csel	x20, x8, x0, eq
	ldp	w3, w8, [x20]
	str	w8, [x19, #8]
	add	x0, x19, #4
Lloh3:
	adrp	x8, _CSIS_MAX_PIX_WIDTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CSIS_MAX_PIX_WIDTH@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _CSIS_MAX_PIX_HEIGHT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CSIS_MAX_PIX_HEIGHT@GOTPAGEOFF]
Lloh8:
	ldr	w6, [x8]
	str	wzr, [sp]
	mov	w1, #1
	mov	x4, x19
	mov	w5, #1
	mov	w7, #1
	bl	_v4l_bound_align_image
	mov	x0, x20
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_s5pcsis_formats,8,3            ; @s5pcsis_formats
	.comm	_CSIS_MAX_PIX_WIDTH,4,2         ; @CSIS_MAX_PIX_WIDTH
	.comm	_CSIS_MAX_PIX_HEIGHT,4,2        ; @CSIS_MAX_PIX_HEIGHT
	.no_dead_strip	_s5pcsis_try_format
.subsections_via_symbols
