	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cafe_vidioc_try_fmt_vid_cap
_cafe_vidioc_try_fmt_vid_cap:           ## @cafe_vidioc_try_fmt_vid_cap
	.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, %rbx
	movq	%rsi, %r15
	movl	16(%rdx), %edi
	callq	_cafe_find_format
	movq	%rax, %r14
	movl	8(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	4(%r14), %edx
	leaq	-48(%rbp), %r12
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_fill_mbus_format
	movq	%r15, %rdi
	callq	_mutex_lock
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_try_mbus_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r12, %rcx
	callq	_sensor_call
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_mutex_unlock
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_v4l2_fill_pix_format
	movl	(%r14), %eax
	imull	4(%rbx), %eax
	movl	%eax, (%rbx)
	imull	12(%rbx), %eax
	movl	%eax, 8(%rbx)
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_video,4,2                      ## @video
	.comm	_try_mbus_fmt,4,2               ## @try_mbus_fmt
	.no_dead_strip	_cafe_vidioc_try_fmt_vid_cap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cafe_vidioc_try_fmt_vid_cap
_cafe_vidioc_try_fmt_vid_cap:           ; @cafe_vidioc_try_fmt_vid_cap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x2
	mov	x20, x1
	ldr	w0, [x2, #16]
	bl	_cafe_find_format
	mov	x21, x0
	ldp	w2, w8, [x0, #4]
	str	w8, [x19, #16]
	add	x0, sp, #8
	mov	x1, x19
	bl	_v4l2_fill_mbus_format
	mov	x0, x20
	bl	_mutex_lock
Lloh0:
	adrp	x8, _video@GOTPAGE
Lloh1:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _try_mbus_fmt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _try_mbus_fmt@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x20
	bl	_sensor_call
	mov	x22, x0
	mov	x0, x20
	bl	_mutex_unlock
	add	x1, sp, #8
	mov	x0, x19
	bl	_v4l2_fill_pix_format
	ldr	w8, [x19, #4]
	ldr	w9, [x21]
	mul	w8, w9, w8
	str	w8, [x19]
	ldr	w9, [x19, #12]
	mul	w8, w9, w8
	str	w8, [x19, #8]
	mov	x0, x22
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_video,4,2                      ; @video
	.comm	_try_mbus_fmt,4,2               ; @try_mbus_fmt
	.no_dead_strip	_cafe_vidioc_try_fmt_vid_cap
.subsections_via_symbols
