	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si4713_g_frequency
_si4713_g_frequency:                    ## @si4713_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	%r15
	pushq	%r14
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_to_si4713_device
	cmpq	$0, 8(%r14)
	je	LBB0_2
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	%rax, %r15
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.4:
	leaq	-28(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	leaq	-36(%rbp), %r8
	leaq	-32(%rbp), %r9
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_si4713_tx_tune_status
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movl	-28(%rbp), %eax
	movl	%eax, (%r15)
	jmp	LBB0_6
LBB0_3:
	xorl	%ebx, %ebx
LBB0_6:
	movl	(%r15), %edi
	callq	_si4713_to_v4l2
	movl	%eax, (%r14)
LBB0_7:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_si4713_g_frequency
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si4713_g_frequency
_si4713_g_frequency:                    ; @si4713_g_frequency
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_to_si4713_device
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_2:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.3:
	add	x2, sp, #12
	add	x3, sp, #8
	add	x4, sp, #4
	mov	x5, sp
	mov	x0, x20
	mov	w1, #0
	bl	_si4713_tx_tune_status
	mov	x21, x0
	tbnz	w0, #31, LBB0_7
; %bb.4:
	ldr	w8, [sp, #12]
	str	w8, [x20]
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	ldr	w0, [x20]
	bl	_si4713_to_v4l2
	str	w0, [x19]
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_si4713_g_frequency
.subsections_via_symbols
