	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function empress_s_fmt_vid_cap
_empress_s_fmt_vid_cap:                 ## @empress_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	callq	_video_drvdata
	movq	%rax, %r14
	movl	$0, -32(%rbp)
	movq	_V4L2_SUBDEV_FORMAT_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_MEDIA_BUS_FMT_FIXED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_v4l2_fill_mbus_format
	movq	_pad@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_set_fmt@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movq	%r15, %r8
	callq	_saa_call_all
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_v4l2_fill_pix_format
	movq	_V4L2_PIX_FMT_MPEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movq	_TS_PACKET_SIZE@GOTPCREL(%rip), %rax
	movl	(%r14), %ecx
	imull	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	$0, 8(%rbx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ## @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_MEDIA_BUS_FMT_FIXED,4,2        ## @MEDIA_BUS_FMT_FIXED
	.comm	_pad,4,2                        ## @pad
	.comm	_set_fmt,4,2                    ## @set_fmt
	.comm	_V4L2_PIX_FMT_MPEG,4,2          ## @V4L2_PIX_FMT_MPEG
	.comm	_TS_PACKET_SIZE,4,2             ## @TS_PACKET_SIZE
	.no_dead_strip	_empress_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 empress_s_fmt_vid_cap
_empress_s_fmt_vid_cap:                 ; @empress_s_fmt_vid_cap
	.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	x19, x2
	bl	_video_drvdata
	mov	x20, x0
Lloh0:
	adrp	x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_SUBDEV_FORMAT_ACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #8]
Lloh3:
	adrp	x8, _MEDIA_BUS_FMT_FIXED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MEDIA_BUS_FMT_FIXED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x0, sp, #8
	mov	x1, x19
	bl	_v4l2_fill_mbus_format
Lloh6:
	adrp	x8, _pad@GOTPAGE
Lloh7:
	ldr	x8, [x8, _pad@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _set_fmt@GOTPAGE
Lloh10:
	ldr	x8, [x8, _set_fmt@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x4, sp, #8
	mov	x0, x20
	mov	x3, #0
	bl	_saa_call_all
	add	x1, sp, #8
	mov	x0, x19
	bl	_v4l2_fill_pix_format
Lloh12:
	adrp	x8, _V4L2_PIX_FMT_MPEG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _V4L2_PIX_FMT_MPEG@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh15:
	adrp	x8, _TS_PACKET_SIZE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TS_PACKET_SIZE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	w9, [x20]
	mul	w8, w9, w8
	str	w8, [x19]
	str	xzr, [x19, #8]
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_SUBDEV_FORMAT_ACTIVE,4,2  ; @V4L2_SUBDEV_FORMAT_ACTIVE
	.comm	_MEDIA_BUS_FMT_FIXED,4,2        ; @MEDIA_BUS_FMT_FIXED
	.comm	_pad,4,2                        ; @pad
	.comm	_set_fmt,4,2                    ; @set_fmt
	.comm	_V4L2_PIX_FMT_MPEG,4,2          ; @V4L2_PIX_FMT_MPEG
	.comm	_TS_PACKET_SIZE,4,2             ; @TS_PACKET_SIZE
	.no_dead_strip	_empress_s_fmt_vid_cap
.subsections_via_symbols
