	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dcmi_set_sensor_format
_dcmi_set_sensor_format:                ## @dcmi_set_sensor_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	$0, -32(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_TRY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	(%rsi), %esi
	callq	_find_format_by_fourcc
	testq	%rax, %rax
	jne	LBB0_4
## %bb.1:
	movslq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	8(%rbx), %rcx
	movq	-8(%rcx,%rax,8), %rax
	movl	4(%rax), %ecx
	movl	%ecx, (%r14)
LBB0_4:
	movl	(%rax), %edx
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_v4l2_fill_mbus_format
	movl	4(%rbx), %edi
	movq	_pad@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_set_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-40(%rbp), %rcx
	movq	%r15, %r8
	callq	_v4l2_subdev_call
	movl	%eax, %ecx
	sarl	$31, %eax
	andl	%ecx, %eax
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_TRY,4,2     ## @V4L2_SUBDEV_FORMAT_TRY
	.comm	_ENODATA,4,2                    ## @ENODATA
	.comm	_pad,4,2                        ## @pad
	.comm	_set_fmt,4,2                    ## @set_fmt
	.no_dead_strip	_dcmi_set_sensor_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dcmi_set_sensor_format
_dcmi_set_sensor_format:                ; @dcmi_set_sensor_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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_TRY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
	ldr	w1, [x1]
	bl	_find_format_by_fourcc
	cbnz	x0, LBB0_3
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_5
; %bb.2:
	ldr	x9, [x19, #8]
	sub	w8, w8, #1
	ldr	x0, [x9, w8, sxtw #3]
	ldr	w8, [x0, #4]
	str	w8, [x20]
LBB0_3:
	ldr	w2, [x0]
	add	x0, sp, #8
	mov	x1, x20
	bl	_v4l2_fill_mbus_format
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x8, _pad@GOTPAGE
Lloh4:
	ldr	x8, [x8, _pad@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _set_fmt@GOTPAGE
Lloh7:
	ldr	x8, [x8, _set_fmt@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x3, sp
	add	x4, sp, #8
	bl	_v4l2_subdev_call
	cmp	w0, #0
	csel	w0, w0, wzr, lt
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
Lloh9:
	adrp	x8, _ENODATA@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_TRY,4,2     ; @V4L2_SUBDEV_FORMAT_TRY
	.comm	_ENODATA,4,2                    ; @ENODATA
	.comm	_pad,4,2                        ; @pad
	.comm	_set_fmt,4,2                    ; @set_fmt
	.no_dead_strip	_dcmi_set_sensor_format
.subsections_via_symbols
