	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pxp_s_fmt_vid_out
_pxp_s_fmt_vid_out:                     ## @pxp_s_fmt_vid_out
	.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, %r15
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_file2ctx
	movq	%rax, %r14
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_pxp_try_fmt_vid_out
	testl	%eax, %eax
	jne	LBB0_3
## %bb.1:
	movq	%rbx, %rdi
	callq	_file2ctx
	movq	%rax, %rdi
	movq	%r15, %rsi
	callq	_pxp_s_fmt
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movl	12(%r15), %eax
	movl	%eax, 12(%r14)
	movl	8(%r15), %eax
	movl	%eax, 8(%r14)
	movl	4(%r15), %eax
	movq	(%r14), %rdx
	movq	_V4L2_M2M_SRC@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	shlq	$4, %rcx
	movl	%eax, 4(%rdx,%rcx)
	movl	(%r15), %eax
	movl	%eax, (%rdx,%rcx)
	movq	_V4L2_M2M_DST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$4, %rax
	leaq	(%rdx,%rax), %rcx
	movq	8(%rdx,%rax), %rsi
	movl	(%rsi), %esi
	addq	%rax, %rdx
	addq	$4, %rdx
	movq	%r14, %rdi
	callq	_pxp_fixup_colorimetry_cap
	xorl	%eax, %eax
LBB0_3:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_M2M_SRC,8,3               ## @V4L2_M2M_SRC
	.comm	_V4L2_M2M_DST,8,3               ## @V4L2_M2M_DST
	.no_dead_strip	_pxp_s_fmt_vid_out
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pxp_s_fmt_vid_out
_pxp_s_fmt_vid_out:                     ; @pxp_s_fmt_vid_out
	.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	x20, x2
	mov	x22, x1
	mov	x21, x0
	bl	_file2ctx
	mov	x19, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_pxp_try_fmt_vid_out
	cbnz	w0, LBB0_3
; %bb.1:
	mov	x0, x21
	bl	_file2ctx
	mov	x1, x20
	bl	_pxp_s_fmt
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	d0, [x20, #8]
	str	d0, [x19, #8]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _V4L2_M2M_SRC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_M2M_SRC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	lsl	x9, x9, #4
	ldr	d0, [x20]
	str	d0, [x8, x9]
Lloh3:
	adrp	x9, _V4L2_M2M_DST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _V4L2_M2M_DST@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x3, x8, x9, lsl #4
	ldr	x8, [x3, #8]
	ldr	w1, [x8]
	add	x2, x3, #4
	mov	x0, x19
	bl	_pxp_fixup_colorimetry_cap
	mov	w0, #0
LBB0_3:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_M2M_SRC,8,3               ; @V4L2_M2M_SRC
	.comm	_V4L2_M2M_DST,8,3               ; @V4L2_M2M_DST
	.no_dead_strip	_pxp_s_fmt_vid_out
.subsections_via_symbols
