	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cxusb_medion_g_fmt_vid_cap
_cxusb_medion_g_fmt_vid_cap:            ## @cxusb_medion_g_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movq	(%rax), %r14
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
	movq	_V4L2_PIX_FMT_UYVY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	leaq	12(%r14), %rdi
	callq	_vb2_start_streaming_called
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	8(%r14), %eax
	jmp	LBB0_3
LBB0_2:
	movq	%r14, %rdi
	callq	_cxusb_medion_field_order
LBB0_3:
	movl	%eax, 20(%rbx)
	movl	(%r14), %eax
	addl	%eax, %eax
	movl	%eax, 8(%rbx)
	movq	_V4L2_COLORSPACE_SMPTE170M@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 16(%rbx)
	imull	4(%rbx), %eax
	movl	%eax, 12(%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_UYVY,4,2          ## @V4L2_PIX_FMT_UYVY
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ## @V4L2_COLORSPACE_SMPTE170M
	.no_dead_strip	_cxusb_medion_g_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 cxusb_medion_g_fmt_vid_cap
_cxusb_medion_g_fmt_vid_cap:            ; @cxusb_medion_g_fmt_vid_cap
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	bl	_video_drvdata
	ldr	x20, [x0]
	mov	x0, x20
	ldr	d0, [x0], #12
	str	d0, [x19]
Lloh0:
	adrp	x8, _V4L2_PIX_FMT_UYVY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_PIX_FMT_UYVY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	bl	_vb2_start_streaming_called
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [x20, #8]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	bl	_cxusb_medion_field_order
LBB0_3:
	ldr	w8, [x20]
	lsl	w8, w8, #1
Lloh3:
	adrp	x9, _V4L2_COLORSPACE_SMPTE170M@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_COLORSPACE_SMPTE170M@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	stp	w9, w0, [x19, #16]
	ldr	w9, [x19, #4]
	mul	w9, w9, w8
	stp	w8, w9, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_PIX_FMT_UYVY,4,2          ; @V4L2_PIX_FMT_UYVY
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ; @V4L2_COLORSPACE_SMPTE170M
	.no_dead_strip	_cxusb_medion_g_fmt_vid_cap
.subsections_via_symbols
