	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_lite_subdev_get_fmt
_fimc_lite_subdev_get_fmt:              ## @fimc_lite_subdev_get_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	movq	(%rbx), %rax
	movq	_V4L2_SUBDEV_FORMAT_TRY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	8(%rbx), %rdx
	addq	$16, %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	___fimc_lite_subdev_get_try_fmt
	movups	(%rax), %xmm0
	movups	%xmm0, (%rbx)
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	24(%r14), %rax
	movl	4(%rax), %ecx
	movl	%ecx, 28(%rbx)
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	8(%rbx), %rax
	movq	_FLITE_SD_PAD_SINK@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	movq	8(%r14,%rdx,8), %rax
	movq	%rax, 16(%rbx)
	movq	%r14, %rdi
	callq	_mutex_unlock
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_TRY,8,3     ## @V4L2_SUBDEV_FORMAT_TRY
	.comm	_FLITE_SD_PAD_SINK,8,3          ## @FLITE_SD_PAD_SINK
	.no_dead_strip	_fimc_lite_subdev_get_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_get_fmt
_fimc_lite_subdev_get_fmt:              ; @fimc_lite_subdev_get_fmt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_v4l2_get_subdevdata
	mov	x23, x19
	ldr	x8, [x23], #16
Lloh0:
	adrp	x9, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x2, [x19, #8]
	mov	x0, x22
	mov	x1, x21
	bl	___fimc_lite_subdev_get_try_fmt
	ldr	q0, [x0]
	str	q0, [x23]
	b	LBB0_3
LBB0_2:
	mov	x20, x0
	bl	_mutex_lock
	ldr	x8, [x20, #24]
	ldr	d0, [x8]
	str	d0, [x19, #24]
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _FLITE_SD_PAD_SINK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLITE_SD_PAD_SINK@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	mov	w10, #12
	mov	w11, #20
	cmp	x8, x9
	csel	x8, x11, x10, eq
	mov	w9, #8
	mov	w10, #16
	csel	x9, x10, x9, eq
	ldr	w9, [x20, x9]
	ldr	w8, [x20, x8]
	stp	w9, w8, [x19, #16]
	mov	x0, x20
	bl	_mutex_unlock
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_TRY,8,3     ; @V4L2_SUBDEV_FORMAT_TRY
	.comm	_FLITE_SD_PAD_SINK,8,3          ; @FLITE_SD_PAD_SINK
	.no_dead_strip	_fimc_lite_subdev_get_fmt
.subsections_via_symbols
