	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function si470x_get_freq
_si470x_get_freq:                       ## @si470x_get_freq
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_READCHAN@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	callq	*(%rdi)
	movl	%eax, %r15d
	movq	8(%rbx), %rax
	movq	(%r12), %rcx
	movq	_READCHAN_READCHAN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r12d
	andl	(%rax,%rcx,4), %r12d
	movq	%rbx, %rdi
	callq	_si470x_get_step
	imull	%r12d, %eax
	movq	_bands@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	16(%rbx), %rdx
	addl	(%rcx,%rdx,4), %eax
	movl	%eax, (%r14)
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_READCHAN,8,3                   ## @READCHAN
	.comm	_READCHAN_READCHAN,4,2          ## @READCHAN_READCHAN
	.comm	_bands,8,3                      ## @bands
	.no_dead_strip	_si470x_get_freq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function si470x_get_freq
_si470x_get_freq:                       ; @si470x_get_freq
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _READCHAN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _READCHAN@GOTPAGEOFF]
	ldr	x1, [x22]
	blr	x8
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	x9, [x22]
	ldr	w8, [x8, x9, lsl #2]
Lloh2:
	adrp	x9, _READCHAN_READCHAN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _READCHAN_READCHAN@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w22, w9, w8
	mov	x0, x20
	bl	_si470x_get_step
Lloh5:
	adrp	x8, _bands@GOTPAGE
Lloh6:
	ldr	x8, [x8, _bands@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x9, [x20, #16]
	ldr	w8, [x8, x9, lsl #2]
	madd	w8, w22, w0, w8
	str	w8, [x19]
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_READCHAN,8,3                   ; @READCHAN
	.comm	_READCHAN_READCHAN,4,2          ; @READCHAN_READCHAN
	.comm	_bands,8,3                      ; @bands
	.no_dead_strip	_si470x_get_freq
.subsections_via_symbols
