	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_fmt_vid_cap
_vidioc_g_fmt_vid_cap:                  ## @vidioc_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
	movq	(%rdi), %rax
	movq	(%rax), %r14
	leaq	L_.str(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_dprintk
	movq	_V4L2_PIX_FMT_MPEG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movq	$0, 24(%rbx)
	movq	_mpeglines@GOTPCREL(%rip), %rax
	movq	_mpeglinesize@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_V4L2_COLORSPACE_SMPTE170M@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
	movl	4(%r14), %edx
	movl	%edx, 12(%rbx)
	movl	(%r14), %ecx
	movl	%ecx, 8(%rbx)
	movq	_V4L2_FIELD_INTERLACED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	leaq	L_.str.1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_dprintk
	leaq	L_.str.2(%rip), %rsi
	movl	$3, %edi
	xorl	%eax, %eax
	callq	_dprintk
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enter vidioc_g_fmt_vid_cap()\n"

	.comm	_V4L2_PIX_FMT_MPEG,4,2          ## @V4L2_PIX_FMT_MPEG
	.comm	_mpeglines,4,2                  ## @mpeglines
	.comm	_mpeglinesize,4,2               ## @mpeglinesize
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ## @V4L2_COLORSPACE_SMPTE170M
	.comm	_V4L2_FIELD_INTERLACED,4,2      ## @V4L2_FIELD_INTERLACED
L_.str.1:                               ## @.str.1
	.asciz	"VIDIOC_G_FMT: w: %d, h: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"exit vidioc_g_fmt_vid_cap()\n"

	.no_dead_strip	_vidioc_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 vidioc_g_fmt_vid_cap
_vidioc_g_fmt_vid_cap:                  ; @vidioc_g_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
	ldr	x8, [x0]
	ldr	x20, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #3
	bl	_dprintk
Lloh2:
	adrp	x8, _V4L2_PIX_FMT_MPEG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _V4L2_PIX_FMT_MPEG@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	str	xzr, [x19, #24]
Lloh5:
	adrp	x8, _mpeglines@GOTPAGE
Lloh6:
	ldr	x8, [x8, _mpeglines@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _mpeglinesize@GOTPAGE
Lloh9:
	ldr	x9, [x9, _mpeglinesize@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	mul	w8, w9, w8
	str	w8, [x19]
Lloh11:
	adrp	x8, _V4L2_COLORSPACE_SMPTE170M@GOTPAGE
Lloh12:
	ldr	x8, [x8, _V4L2_COLORSPACE_SMPTE170M@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldp	w10, w9, [x20]
	stp	w9, w8, [x19, #12]
Lloh14:
	adrp	x8, _V4L2_FIELD_INTERLACED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _V4L2_FIELD_INTERLACED@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	stp	w8, w10, [x19, #4]
	stp	x9, x10, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #1
	bl	_dprintk
Lloh19:
	adrp	x1, l_.str.2@PAGE
Lloh20:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w0, #3
	bl	_dprintk
	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 AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enter vidioc_g_fmt_vid_cap()\n"

	.comm	_V4L2_PIX_FMT_MPEG,4,2          ; @V4L2_PIX_FMT_MPEG
	.comm	_mpeglines,4,2                  ; @mpeglines
	.comm	_mpeglinesize,4,2               ; @mpeglinesize
	.comm	_V4L2_COLORSPACE_SMPTE170M,4,2  ; @V4L2_COLORSPACE_SMPTE170M
	.comm	_V4L2_FIELD_INTERLACED,4,2      ; @V4L2_FIELD_INTERLACED
l_.str.1:                               ; @.str.1
	.asciz	"VIDIOC_G_FMT: w: %d, h: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"exit vidioc_g_fmt_vid_cap()\n"

	.no_dead_strip	_vidioc_g_fmt_vid_cap
.subsections_via_symbols
