	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si470x_start                   ## -- Begin function si470x_start
	.p2align	4, 0x90
_si470x_start:                          ## @si470x_start
	.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	_POWERCFG_DMUTE@GOTPCREL(%rip), %rax
	movq	_POWERCFG_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	%rdi, %rbx
	movq	_POWERCFG_RDSM@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	(%rdi), %rax
	movq	_POWERCFG@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movl	%ecx, (%rax,%rsi,4)
	callq	*8(%rdi)
	testl	%eax, %eax
	js	LBB0_5
## %bb.1:
	movq	_SYSCONFIG1_RDSIEN@GOTPCREL(%rip), %rax
	movq	_SYSCONFIG1_STCIEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_SYSCONFIG1_RDS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	(%rbx), %rax
	movq	_SYSCONFIG1@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	orl	(%rax,%rsi,4), %edx
	movl	%edx, (%rax,%rsi,4)
	movq	_SYSCONFIG1_GPIO2@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	notl	%ecx
	andl	%edx, %ecx
	movl	%ecx, (%rax,%rsi,4)
	movq	_SYSCONFIG1_GPIO2_INT@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax,%rsi,4)
	movq	_de@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	_SYSCONFIG1_DE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%rax,%rsi,4)
LBB0_3:
	movq	%rbx, %rdi
	callq	*8(%rbx)
	testl	%eax, %eax
	js	LBB0_5
## %bb.4:
	movl	16(%rbx), %eax
	shll	$6, %eax
	movq	_SYSCONFIG2_BAND@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_space@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$4, %ecx
	movq	_SYSCONFIG2_SPACE@GOTPCREL(%rip), %rdx
	andl	(%rdx), %ecx
	orl	%eax, %ecx
	orl	$7951, %ecx                     ## imm = 0x1F0F
	movq	(%rbx), %rax
	movq	_SYSCONFIG2@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	movl	%ecx, (%rax,%rsi,4)
	movq	%rbx, %rdi
	callq	*8(%rbx)
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movq	(%rbx), %rax
	movq	_CHANNEL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_CHANNEL_CHAN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	andl	(%rax,%rcx,4), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_si470x_set_chan                ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_POWERCFG_DMUTE,4,2             ## @POWERCFG_DMUTE
	.comm	_POWERCFG_ENABLE,4,2            ## @POWERCFG_ENABLE
	.comm	_POWERCFG_RDSM,4,2              ## @POWERCFG_RDSM
	.comm	_POWERCFG,8,3                   ## @POWERCFG
	.comm	_SYSCONFIG1_RDSIEN,4,2          ## @SYSCONFIG1_RDSIEN
	.comm	_SYSCONFIG1_STCIEN,4,2          ## @SYSCONFIG1_STCIEN
	.comm	_SYSCONFIG1_RDS,4,2             ## @SYSCONFIG1_RDS
	.comm	_SYSCONFIG1,8,3                 ## @SYSCONFIG1
	.comm	_SYSCONFIG1_GPIO2,4,2           ## @SYSCONFIG1_GPIO2
	.comm	_SYSCONFIG1_GPIO2_INT,4,2       ## @SYSCONFIG1_GPIO2_INT
	.comm	_de,8,3                         ## @de
	.comm	_SYSCONFIG1_DE,4,2              ## @SYSCONFIG1_DE
	.comm	_SYSCONFIG2_BAND,4,2            ## @SYSCONFIG2_BAND
	.comm	_space,4,2                      ## @space
	.comm	_SYSCONFIG2_SPACE,4,2           ## @SYSCONFIG2_SPACE
	.comm	_SYSCONFIG2,8,3                 ## @SYSCONFIG2
	.comm	_CHANNEL,8,3                    ## @CHANNEL
	.comm	_CHANNEL_CHAN,4,2               ## @CHANNEL_CHAN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si470x_start                   ; -- Begin function si470x_start
	.p2align	2
_si470x_start:                          ; @si470x_start
	.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, x0
Lloh0:
	adrp	x8, _POWERCFG_DMUTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _POWERCFG_DMUTE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _POWERCFG_ENABLE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _POWERCFG_ENABLE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _POWERCFG_RDSM@GOTPAGE
Lloh7:
	ldr	x9, [x9, _POWERCFG_RDSM@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _POWERCFG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _POWERCFG@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh11:
	ldr	x1, [x10]
	ldp	x9, x10, [x0]
	str	w8, [x9, x1, lsl #2]
	blr	x10
	tbnz	w0, #31, LBB0_6
; %bb.1:
Lloh12:
	adrp	x8, _SYSCONFIG1_RDSIEN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SYSCONFIG1_RDSIEN@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SYSCONFIG1_STCIEN@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SYSCONFIG1_STCIEN@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _SYSCONFIG1_RDS@GOTPAGE
Lloh19:
	ldr	x9, [x9, _SYSCONFIG1_RDS@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w9, w8, w9
	ldr	x8, [x19]
Lloh21:
	adrp	x10, _SYSCONFIG1@GOTPAGE
Lloh22:
	ldr	x10, [x10, _SYSCONFIG1@GOTPAGEOFF]
Lloh23:
	ldr	x1, [x10]
	lsl	x10, x1, #2
	ldr	w11, [x8, x10]
	orr	w9, w9, w11
	str	w9, [x8, x10]
Lloh24:
	adrp	x11, _SYSCONFIG1_GPIO2@GOTPAGE
Lloh25:
	ldr	x11, [x11, _SYSCONFIG1_GPIO2@GOTPAGEOFF]
Lloh26:
	ldr	w11, [x11]
	bic	w9, w9, w11
	str	w9, [x8, x10]
Lloh27:
	adrp	x11, _SYSCONFIG1_GPIO2_INT@GOTPAGE
Lloh28:
	ldr	x11, [x11, _SYSCONFIG1_GPIO2_INT@GOTPAGEOFF]
Lloh29:
	ldr	w11, [x11]
	orr	w9, w11, w9
	str	w9, [x8, x10]
Lloh30:
	adrp	x10, _de@GOTPAGE
Lloh31:
	ldr	x10, [x10, _de@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cbz	x10, LBB0_3
; %bb.2:
Lloh33:
	adrp	x10, _SYSCONFIG1_DE@GOTPAGE
Lloh34:
	ldr	x10, [x10, _SYSCONFIG1_DE@GOTPAGEOFF]
Lloh35:
	ldr	w10, [x10]
	orr	w9, w10, w9
	str	w9, [x8, x1, lsl #2]
LBB0_3:
	ldr	x8, [x19, #8]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_6
; %bb.4:
	ldr	w8, [x19, #16]
Lloh36:
	adrp	x9, _SYSCONFIG2_BAND@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SYSCONFIG2_BAND@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	and	w8, w9, w8, lsl #6
Lloh39:
	adrp	x9, _space@GOTPAGE
Lloh40:
	ldr	x9, [x9, _space@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
Lloh42:
	adrp	x10, _SYSCONFIG2_SPACE@GOTPAGE
Lloh43:
	ldr	x10, [x10, _SYSCONFIG2_SPACE@GOTPAGEOFF]
Lloh44:
	ldr	w10, [x10]
	and	w9, w10, w9, lsl #4
	orr	w8, w8, w9
	mov	w9, #7951
Lloh45:
	adrp	x10, _SYSCONFIG2@GOTPAGE
Lloh46:
	ldr	x10, [x10, _SYSCONFIG2@GOTPAGEOFF]
	orr	w8, w8, w9
Lloh47:
	ldr	x1, [x10]
	ldp	x9, x10, [x19]
	str	w8, [x9, x1, lsl #2]
	mov	x0, x19
	blr	x10
	tbnz	w0, #31, LBB0_6
; %bb.5:
	ldr	x8, [x19]
Lloh48:
	adrp	x9, _CHANNEL@GOTPAGE
Lloh49:
	ldr	x9, [x9, _CHANNEL@GOTPAGEOFF]
Lloh50:
	ldr	x9, [x9]
	ldr	w8, [x8, x9, lsl #2]
Lloh51:
	adrp	x9, _CHANNEL_CHAN@GOTPAGE
Lloh52:
	ldr	x9, [x9, _CHANNEL_CHAN@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	and	w1, w9, w8
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_si470x_set_chan
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.cfi_endproc
                                        ; -- End function
	.comm	_POWERCFG_DMUTE,4,2             ; @POWERCFG_DMUTE
	.comm	_POWERCFG_ENABLE,4,2            ; @POWERCFG_ENABLE
	.comm	_POWERCFG_RDSM,4,2              ; @POWERCFG_RDSM
	.comm	_POWERCFG,8,3                   ; @POWERCFG
	.comm	_SYSCONFIG1_RDSIEN,4,2          ; @SYSCONFIG1_RDSIEN
	.comm	_SYSCONFIG1_STCIEN,4,2          ; @SYSCONFIG1_STCIEN
	.comm	_SYSCONFIG1_RDS,4,2             ; @SYSCONFIG1_RDS
	.comm	_SYSCONFIG1,8,3                 ; @SYSCONFIG1
	.comm	_SYSCONFIG1_GPIO2,4,2           ; @SYSCONFIG1_GPIO2
	.comm	_SYSCONFIG1_GPIO2_INT,4,2       ; @SYSCONFIG1_GPIO2_INT
	.comm	_de,8,3                         ; @de
	.comm	_SYSCONFIG1_DE,4,2              ; @SYSCONFIG1_DE
	.comm	_SYSCONFIG2_BAND,4,2            ; @SYSCONFIG2_BAND
	.comm	_space,4,2                      ; @space
	.comm	_SYSCONFIG2_SPACE,4,2           ; @SYSCONFIG2_SPACE
	.comm	_SYSCONFIG2,8,3                 ; @SYSCONFIG2
	.comm	_CHANNEL,8,3                    ; @CHANNEL
	.comm	_CHANNEL_CHAN,4,2               ; @CHANNEL_CHAN
.subsections_via_symbols
