	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function airspy_g_frequency
_airspy_g_frequency:                    ## @airspy_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	%rdx, %rbx
	callq	_video_drvdata
	movl	(%rbx), %ecx
	cmpl	$1, %ecx
	je	LBB0_4
## %bb.1:
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.2:
	movq	_V4L2_TUNER_ADC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	8(%rax), %edx
	movl	%edx, 4(%rbx)
	movl	4(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_3
LBB0_4:
	movq	_V4L2_TUNER_RF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	(%rax), %edx
	movl	%edx, 4(%rbx)
	movl	4(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_3:
	callq	_dev_dbg
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_V4L2_TUNER_ADC,4,2             ## @V4L2_TUNER_ADC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ADC frequency=%u Hz\n"

	.comm	_V4L2_TUNER_RF,4,2              ## @V4L2_TUNER_RF
L_.str.1:                               ## @.str.1
	.asciz	"RF frequency=%u Hz\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_airspy_g_frequency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function airspy_g_frequency
_airspy_g_frequency:                    ; @airspy_g_frequency
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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
	ldr	w8, [x19]
	cmp	w8, #1
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_5
; %bb.2:
Lloh0:
	adrp	x8, _V4L2_TUNER_ADC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _V4L2_TUNER_ADC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w0, w2, [x0, #4]
	stp	w2, w8, [x19, #4]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
Lloh5:
	adrp	x8, _V4L2_TUNER_RF@GOTPAGE
Lloh6:
	ldr	x8, [x8, _V4L2_TUNER_RF@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldp	w2, w0, [x0]
	stp	w2, w8, [x19, #4]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	bl	_dev_dbg
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_V4L2_TUNER_ADC,4,2             ; @V4L2_TUNER_ADC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ADC frequency=%u Hz\n"

	.comm	_V4L2_TUNER_RF,4,2              ; @V4L2_TUNER_RF
l_.str.1:                               ; @.str.1
	.asciz	"RF frequency=%u Hz\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_airspy_g_frequency
.subsections_via_symbols
