	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_lite_subdev_try_fmt
_fimc_lite_subdev_try_fmt:              ## @fimc_lite_subdev_try_fmt
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rdi, %r13
	movq	_FLITE_SD_PAD_SINK@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	cmpq	%rdx, (%r14)
	jne	LBB0_3
## %bb.1:
	leaq	16(%r14), %r12
	movq	24(%r13), %rbx
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	leaq	20(%r14), %r13
	movl	4(%rbx), %edi
	movl	8(%rbx), %r15d
	callq	_ffs
	leaq	-1(%rax), %rcx
	movl	(%rbx), %eax
	subq	$8, %rsp
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	movl	$8, %esi
	movl	%r15d, %edx
	movq	%r12, %r8
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	pushq	%rax
	callq	_v4l_bound_align_image
	addq	$32, %rsp
	leaq	28(%r14), %rsi
	xorl	%edi, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_fimc_lite_find_format
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_8
## %bb.2:
	movl	4(%r12), %r9d
	movl	%r9d, 24(%r14)
	movl	(%r12), %r8d
	movl	%r8d, 28(%r14)
	movl	16(%r14), %eax
	movl	20(%r14), %r10d
	movq	%r12, %rbx
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_7
LBB0_3:
	movq	8(%r14), %rax
	movq	_V4L2_SUBDEV_FORMAT_TRY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rsi, %r15
	movq	%r13, %rdi
	callq	_v4l2_subdev_get_try_format
	movl	12(%rax), %ecx
	movl	%ecx, 28(%r14)
	movl	8(%rax), %eax
	movl	%eax, 24(%r14)
	movq	(%rbx), %rdx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_v4l2_subdev_get_try_crop
	movl	24(%r14), %r9d
	movl	28(%r14), %r8d
	jmp	LBB0_6
LBB0_5:
	leaq	8(%r13), %rax
	movq	16(%r13), %rcx
	movl	4(%rcx), %r8d
	movl	%r8d, 28(%r14)
	movl	(%rcx), %r9d
	movl	%r9d, 24(%r14)
LBB0_6:
	movl	4(%rax), %r10d
	movl	%r10d, 20(%r14)
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	xorl	%ebx, %ebx
LBB0_7:
	movq	_V4L2_FIELD_NONE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 32(%r14)
	movq	_debug@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	L_.str(%rip), %rcx
	movl	$1, %edi
	movq	%r13, %rdx
	pushq	%rax
	pushq	%r10
	callq	_v4l2_dbg
	addq	$16, %rsp
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FLITE_SD_PAD_SINK,8,3          ## @FLITE_SD_PAD_SINK
	.comm	_V4L2_SUBDEV_FORMAT_TRY,8,3     ## @V4L2_SUBDEV_FORMAT_TRY
	.comm	_V4L2_FIELD_NONE,4,2            ## @V4L2_FIELD_NONE
	.comm	_debug,4,2                      ## @debug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"code: %#x (%d), %dx%d\n"

	.no_dead_strip	_fimc_lite_subdev_try_fmt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fimc_lite_subdev_try_fmt
_fimc_lite_subdev_try_fmt:              ; @fimc_lite_subdev_try_fmt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x19, x0
	mov	x22, x2
	ldr	x8, [x22], #16
Lloh0:
	adrp	x23, _FLITE_SD_PAD_SINK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _FLITE_SD_PAD_SINK@GOTPAGEOFF]
	ldr	x2, [x23]
	cmp	x8, x2
	b.ne	LBB0_3
; %bb.1:
	ldr	x24, [x19, #24]
	add	x21, x20, #20
	ldp	w0, w23, [x24, #4]
	bl	_ffs
	sub	x3, x0, #1
	ldr	w6, [x24]
	str	wzr, [sp]
	mov	x0, x21
	mov	w1, #8
	mov	x2, x23
	mov	x4, x22
	mov	w5, #0
	mov	w7, #0
	bl	_v4l_bound_align_image
	add	x1, x20, #28
	mov	x0, #0
	mov	w2, #0
	mov	w3, #0
	bl	_fimc_lite_find_format
	mov	x22, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_WARN_ON
	mov	x21, #0
	cbnz	x0, LBB0_8
; %bb.2:
	ldp	w4, w5, [x22]
	stp	w5, w4, [x20, #24]
	ldp	w7, w6, [x20, #16]
	mov	x21, x22
	b	LBB0_7
LBB0_3:
	ldr	x8, [x20, #8]
Lloh2:
	adrp	x9, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	mov	x21, x1
	mov	x0, x19
	bl	_v4l2_subdev_get_try_format
	ldr	d0, [x0, #8]
	str	d0, [x20, #24]
	ldr	x2, [x23]
	mov	x0, x19
	mov	x1, x21
	bl	_v4l2_subdev_get_try_crop
	ldp	w5, w4, [x20, #24]
	b	LBB0_6
LBB0_5:
	add	x0, x19, #8
	ldr	x8, [x19, #16]
	ldp	w5, w4, [x8]
	stp	w5, w4, [x20, #24]
LBB0_6:
	mov	x21, #0
	ldp	w7, w6, [x0]
	stp	w7, w6, [x20, #16]
LBB0_7:
Lloh5:
	adrp	x8, _V4L2_FIELD_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_FIELD_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x20, #32]
Lloh8:
	adrp	x8, _debug@GOTPAGE
Lloh9:
	ldr	x8, [x8, _debug@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
Lloh11:
	adrp	x3, l_.str@PAGE
Lloh12:
	add	x3, x3, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_v4l2_dbg
LBB0_8:
	mov	x0, x21
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_FLITE_SD_PAD_SINK,8,3          ; @FLITE_SD_PAD_SINK
	.comm	_V4L2_SUBDEV_FORMAT_TRY,8,3     ; @V4L2_SUBDEV_FORMAT_TRY
	.comm	_V4L2_FIELD_NONE,4,2            ; @V4L2_FIELD_NONE
	.comm	_debug,4,2                      ; @debug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"code: %#x (%d), %dx%d\n"

	.no_dead_strip	_fimc_lite_subdev_try_fmt
.subsections_via_symbols
