	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_s_fmt_vid_cap
_vidioc_s_fmt_vid_cap:                  ## @vidioc_s_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
	movq	8(%rsi), %r14
	movq	16(%r14), %rdi
	movq	_V4L2_PIX_FMT_MPEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rdx)
	movl	4(%r14), %eax
	imull	(%r14), %eax
	movl	%eax, (%rdx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 16(%rdx)
	movl	12(%rdx), %eax
	movl	%eax, 12(%r14)
	movl	8(%rdx), %edx
	movl	%edx, 8(%r14)
	movl	4(%rbx), %ecx
	movl	%ecx, (%rsi)
	movl	%eax, %esi
	callq	_cx88_set_scale
	movq	_CX2341X_ENC_SET_FRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %r8d
	movl	12(%rbx), %r9d
	movq	%r14, %rdi
	movl	$2, %edx
	xorl	%ecx, %ecx
	callq	_blackbird_api_cmd
	movl	12(%rbx), %edx
	movl	4(%rbx), %r8d
	movl	8(%rbx), %ecx
	leaq	L_.str(%rip), %rsi
	xorl	%edi, %edi
	callq	_dprintk
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_PIX_FMT_MPEG,4,2          ## @V4L2_PIX_FMT_MPEG
	.comm	_CX2341X_ENC_SET_FRAME_SIZE,4,2 ## @CX2341X_ENC_SET_FRAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VIDIOC_S_FMT: w: %d, h: %d, f: %d\n"

	.no_dead_strip	_vidioc_s_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 vidioc_s_fmt_vid_cap
_vidioc_s_fmt_vid_cap:                  ; @vidioc_s_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
	ldr	x20, [x1, #8]
	ldr	x0, [x20, #16]
Lloh0:
	adrp	x8, _V4L2_PIX_FMT_MPEG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_PIX_FMT_MPEG@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2, #32]
	ldp	w8, w9, [x20]
	mul	w8, w9, w8
	str	w8, [x2]
	stp	xzr, xzr, [x2, #16]
	ldp	w2, w8, [x2, #8]
	ldr	w3, [x19, #4]
	stp	w2, w8, [x20, #8]
	str	w3, [x1]
	mov	x1, x8
	bl	_cx88_set_scale
Lloh3:
	adrp	x8, _CX2341X_ENC_SET_FRAME_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CX2341X_ENC_SET_FRAME_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	w4, w5, [x19, #8]
	mov	x0, x20
	mov	w2, #2
	mov	w3, #0
	bl	_blackbird_api_cmd
	ldp	w3, w2, [x19, #8]
	ldr	w4, [x19, #4]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #0
	bl	_dprintk
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_PIX_FMT_MPEG,4,2          ; @V4L2_PIX_FMT_MPEG
	.comm	_CX2341X_ENC_SET_FRAME_SIZE,4,2 ; @CX2341X_ENC_SET_FRAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VIDIOC_S_FMT: w: %d, h: %d, f: %d\n"

	.no_dead_strip	_vidioc_s_fmt_vid_cap
.subsections_via_symbols
