	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fimc_subdev_get_fmt
_fimc_subdev_get_fmt:                   ## @fimc_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, %r12
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_v4l2_get_subdevdata
	movq	%rax, %r14
	movq	(%r12), %rax
	movq	_V4L2_SUBDEV_FORMAT_TRY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	8(%r12), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_v4l2_subdev_get_try_format
	movups	(%rax), %xmm0
	movups	%xmm0, 12(%r12)
	jmp	LBB0_11
LBB0_2:
	movq	40(%r14), %rbx
	leaq	12(%r12), %r15
	movq	%r14, %rdi
	callq	_mutex_lock
	movl	8(%r12), %eax
	cmpl	$129, %eax
	je	LBB0_7
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.4:
	xorl	%edi, %edi
	cmpq	$0, 8(%rbx)
	sete	%dil
	callq	_WARN_ON
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	8(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r12)
LBB0_6:
	movl	4(%rbx), %eax
	movl	%eax, 20(%r12)
	movl	(%rbx), %eax
	movl	%eax, 16(%r12)
	jmp	LBB0_10
LBB0_7:
	movups	24(%r14), %xmm0
	jmp	LBB0_9
LBB0_8:
	movups	8(%r14), %xmm0
LBB0_9:
	movups	%xmm0, (%r15)
LBB0_10:
	movq	%r14, %rdi
	callq	_mutex_unlock
	movq	_V4L2_COLORSPACE_JPEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r15)
LBB0_11:
	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	_V4L2_COLORSPACE_JPEG,4,2       ## @V4L2_COLORSPACE_JPEG
	.no_dead_strip	_fimc_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_subdev_get_fmt
_fimc_subdev_get_fmt:                   ; @fimc_subdev_get_fmt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x21, x1
	mov	x22, x0
	bl	_v4l2_get_subdevdata
	ldr	x8, [x19]
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	w2, [x19, #8]
	mov	x0, x22
	mov	x1, x21
	bl	_v4l2_subdev_get_try_format
	ldr	q0, [x0]
	stur	q0, [x19, #12]
	b	LBB0_11
LBB0_2:
	mov	x20, x0
	ldr	x22, [x0, #40]
	add	x21, x19, #12
	bl	_mutex_lock
	ldr	w8, [x19, #8]
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_8
; %bb.4:
	ldr	x8, [x22, #8]
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	cbnz	w0, LBB0_6
; %bb.5:
	ldr	x8, [x22, #8]
	ldr	w8, [x8]
	str	w8, [x19, #24]
LBB0_6:
	ldr	d0, [x22]
	str	d0, [x19, #16]
	b	LBB0_10
LBB0_7:
	ldur	q0, [x20, #24]
	b	LBB0_9
LBB0_8:
	ldur	q0, [x20, #8]
LBB0_9:
	str	q0, [x21]
LBB0_10:
	mov	x0, x20
	bl	_mutex_unlock
Lloh3:
	adrp	x8, _V4L2_COLORSPACE_JPEG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _V4L2_COLORSPACE_JPEG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x21]
LBB0_11:
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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	_V4L2_COLORSPACE_JPEG,4,2       ; @V4L2_COLORSPACE_JPEG
	.no_dead_strip	_fimc_subdev_get_fmt
.subsections_via_symbols
