	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si470x_stop                    ## -- Begin function si470x_stop
	.p2align	4, 0x90
_si470x_stop:                           ## @si470x_stop
	.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	%rdi, %rbx
	movq	_SYSCONFIG1_RDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%rdi), %rcx
	movq	_SYSCONFIG1@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	andl	%eax, (%rcx,%rsi,4)
	callq	*8(%rdi)
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_POWERCFG_DMUTE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	(%rbx), %rcx
	movq	_POWERCFG@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	andl	(%rcx,%rsi,4), %eax
	movl	%eax, (%rcx,%rsi,4)
	movq	_POWERCFG_ENABLE@GOTPCREL(%rip), %rdx
	movq	_POWERCFG_DISABLE@GOTPCREL(%rip), %rdi
	orl	(%rdx), %eax
	orl	(%rdi), %eax
	movl	%eax, (%rcx,%rsi,4)
	movq	8(%rbx), %rax
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSCONFIG1_RDS,4,2             ## @SYSCONFIG1_RDS
	.comm	_SYSCONFIG1,8,3                 ## @SYSCONFIG1
	.comm	_POWERCFG_DMUTE,4,2             ## @POWERCFG_DMUTE
	.comm	_POWERCFG,8,3                   ## @POWERCFG
	.comm	_POWERCFG_ENABLE,4,2            ## @POWERCFG_ENABLE
	.comm	_POWERCFG_DISABLE,4,2           ## @POWERCFG_DISABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_si470x_stop                    ; -- Begin function si470x_stop
	.p2align	2
_si470x_stop:                           ; @si470x_stop
	.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, _SYSCONFIG1_RDS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYSCONFIG1_RDS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _SYSCONFIG1@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SYSCONFIG1@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x9]
	lsl	x9, x1, #2
	ldp	x10, x11, [x0]
	ldr	w12, [x10, x9]
	bic	w8, w12, w8
	str	w8, [x10, x9]
	blr	x11
	tbnz	w0, #31, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _POWERCFG_DMUTE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _POWERCFG_DMUTE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _POWERCFG@GOTPAGE
Lloh10:
	ldr	x9, [x9, _POWERCFG@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x9]
	lsl	x9, x1, #2
	ldp	x10, x2, [x19]
	ldr	w11, [x10, x9]
	bic	w8, w11, w8
	str	w8, [x10, x9]
Lloh12:
	adrp	x11, _POWERCFG_ENABLE@GOTPAGE
Lloh13:
	ldr	x11, [x11, _POWERCFG_ENABLE@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w8, w11, w8
Lloh15:
	adrp	x11, _POWERCFG_DISABLE@GOTPAGE
Lloh16:
	ldr	x11, [x11, _POWERCFG_DISABLE@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	orr	w8, w8, w11
	str	w8, [x10, x9]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSCONFIG1_RDS,4,2             ; @SYSCONFIG1_RDS
	.comm	_SYSCONFIG1,8,3                 ; @SYSCONFIG1
	.comm	_POWERCFG_DMUTE,4,2             ; @POWERCFG_DMUTE
	.comm	_POWERCFG,8,3                   ; @POWERCFG
	.comm	_POWERCFG_ENABLE,4,2            ; @POWERCFG_ENABLE
	.comm	_POWERCFG_DISABLE,4,2           ; @POWERCFG_DISABLE
.subsections_via_symbols
