	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vidioc_g_frequency
_vidioc_g_frequency:                    ## @vidioc_g_frequency
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rsi), %rdi
	movq	_UNSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	(%rdi), %rax
	jne	LBB0_3
## %bb.1:
	movq	_ENOTTY@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rdx, %r8
	cmpq	$0, 8(%rdx)
	je	LBB0_5
## %bb.4:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_6
LBB0_5:
	movl	12(%rdi), %eax
	movl	%eax, (%r8)
	addq	$8, %rdi
	movq	_tuner@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_g_frequency@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_v4l2_device_call_all
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_UNSET,8,3                      ## @UNSET
	.comm	_ENOTTY,4,2                     ## @ENOTTY
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_tuner,4,2                      ## @tuner
	.comm	_g_frequency,4,2                ## @g_frequency
	.no_dead_strip	_vidioc_g_frequency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vidioc_g_frequency
_vidioc_g_frequency:                    ; @vidioc_g_frequency
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _UNSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _UNSET@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x10, [x8]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:
	mov	x4, x2
	ldr	x9, [x2, #8]
	cbz	x9, LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	w9, [x8, #12]
	str	w9, [x4]
	add	x0, x8, #8
Lloh7:
	adrp	x8, _tuner@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tuner@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _g_frequency@GOTPAGE
Lloh11:
	ldr	x8, [x8, _g_frequency@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	w1, #0
	bl	_v4l2_device_call_all
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_UNSET,8,3                      ; @UNSET
	.comm	_ENOTTY,4,2                     ; @ENOTTY
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_tuner,4,2                      ; @tuner
	.comm	_g_frequency,4,2                ; @g_frequency
	.no_dead_strip	_vidioc_g_frequency
.subsections_via_symbols
