	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_parm
_vidioc_g_parm:                         ## @vidioc_g_parm
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	$0, -24(%rbp)
	callq	_video_drvdata
	movq	8(%rax), %rdi
	movq	(%rbx), %rcx
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_3:
	movq	_EM28XX_MIN_BUF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	8(%rbx), %r14
	movl	%ecx, 16(%rbx)
	movq	_V4L2_CAP_TIMEPERFRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rbx)
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.4:
	addq	$4, %rdi
	movq	_video@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_g_frame_interval@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %r8
	xorl	%esi, %esi
	callq	_v4l2_device_call_until_err
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movl	-24(%rbp), %eax
	movl	%eax, (%r14)
	jmp	LBB0_7
LBB0_6:
	movl	(%rdi), %edi
	movq	%r14, %rsi
	callq	_v4l2_video_std_frame_period
LBB0_7:
	xorl	%eax, %eax
LBB0_8:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,8,3 ## @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EM28XX_MIN_BUF,4,2             ## @EM28XX_MIN_BUF
	.comm	_V4L2_CAP_TIMEPERFRAME,4,2      ## @V4L2_CAP_TIMEPERFRAME
	.comm	_video,4,2                      ## @video
	.comm	_g_frame_interval,4,2           ## @g_frame_interval
	.no_dead_strip	_vidioc_g_parm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_g_parm
_vidioc_g_parm:                         ; @vidioc_g_parm
	.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	x20, x2
	str	xzr, [sp, #8]
	bl	_video_drvdata
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _V4L2_BUF_TYPE_VIDEO_CAPTURE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _EM28XX_MIN_BUF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EM28XX_MIN_BUF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _V4L2_CAP_TIMEPERFRAME@GOTPAGE
Lloh10:
	ldr	x9, [x9, _V4L2_CAP_TIMEPERFRAME@GOTPAGEOFF]
	add	x19, x20, #8
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #12]
	ldp	x9, x8, [x0]
	cbz	x9, LBB0_5
; %bb.2:
	add	x0, x8, #4
Lloh12:
	adrp	x8, _video@GOTPAGE
Lloh13:
	ldr	x8, [x8, _video@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _g_frame_interval@GOTPAGE
Lloh16:
	ldr	x8, [x8, _g_frame_interval@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	w1, #0
	bl	_v4l2_device_call_until_err
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	w8, [sp, #8]
	str	w8, [x19]
	b	LBB0_6
LBB0_4:
Lloh18:
	adrp	x8, _EINVAL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_6
LBB0_5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_v4l2_video_std_frame_period
	mov	w0, #0
LBB0_6:
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE,8,3 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE
	.comm	_V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE,8,3 ; @V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EM28XX_MIN_BUF,4,2             ; @EM28XX_MIN_BUF
	.comm	_V4L2_CAP_TIMEPERFRAME,4,2      ; @V4L2_CAP_TIMEPERFRAME
	.comm	_video,4,2                      ; @video
	.comm	_g_frame_interval,4,2           ; @g_frame_interval
	.no_dead_strip	_vidioc_g_parm
.subsections_via_symbols
