	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lanai_shutdown_rx_vci
_lanai_shutdown_rx_vci:                 ## @lanai_shutdown_rx_vci
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	cmpq	$0, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movq	_RMMODE_TRASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RXADDR1_SET_RMMODE
	movl	%eax, %ebx
	movq	_RXMODE_TRASH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RXADDR1_SET_MODE
	orl	%eax, %ebx
	movq	_vcc_rxaddr1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_cardvcc_write
	movl	$15, %edi
	callq	_udelay
	movq	_vcc_rxaddr2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cardvcc_write
	movq	_vcc_rxcrc1@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cardvcc_write
	movq	_vcc_rxcrc2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cardvcc_write
	movq	_vcc_rxwriteptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cardvcc_write
	movq	_vcc_rxbufstart@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_cardvcc_write
	movq	_vcc_rxreadptr@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_cardvcc_write                  ## TAILCALL
LBB0_1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RMMODE_TRASH,4,2               ## @RMMODE_TRASH
	.comm	_RXMODE_TRASH,4,2               ## @RXMODE_TRASH
	.comm	_vcc_rxaddr1,4,2                ## @vcc_rxaddr1
	.comm	_vcc_rxaddr2,4,2                ## @vcc_rxaddr2
	.comm	_vcc_rxcrc1,4,2                 ## @vcc_rxcrc1
	.comm	_vcc_rxcrc2,4,2                 ## @vcc_rxcrc2
	.comm	_vcc_rxwriteptr,4,2             ## @vcc_rxwriteptr
	.comm	_vcc_rxbufstart,4,2             ## @vcc_rxbufstart
	.comm	_vcc_rxreadptr,4,2              ## @vcc_rxreadptr
	.no_dead_strip	_lanai_shutdown_rx_vci
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lanai_shutdown_rx_vci
_lanai_shutdown_rx_vci:                 ; @lanai_shutdown_rx_vci
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _RMMODE_TRASH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RMMODE_TRASH@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_RXADDR1_SET_RMMODE
	mov	x20, x0
Lloh3:
	adrp	x8, _RXMODE_TRASH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RXMODE_TRASH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_RXADDR1_SET_MODE
	orr	w1, w0, w20
Lloh6:
	adrp	x8, _vcc_rxaddr1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _vcc_rxaddr1@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_cardvcc_write
	mov	w0, #15
	bl	_udelay
Lloh9:
	adrp	x8, _vcc_rxaddr2@GOTPAGE
Lloh10:
	ldr	x8, [x8, _vcc_rxaddr2@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cardvcc_write
Lloh12:
	adrp	x8, _vcc_rxcrc1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _vcc_rxcrc1@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cardvcc_write
Lloh15:
	adrp	x8, _vcc_rxcrc2@GOTPAGE
Lloh16:
	ldr	x8, [x8, _vcc_rxcrc2@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cardvcc_write
Lloh18:
	adrp	x8, _vcc_rxwriteptr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _vcc_rxwriteptr@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cardvcc_write
Lloh21:
	adrp	x8, _vcc_rxbufstart@GOTPAGE
Lloh22:
	ldr	x8, [x8, _vcc_rxbufstart@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_cardvcc_write
Lloh24:
	adrp	x8, _vcc_rxreadptr@GOTPAGE
Lloh25:
	ldr	x8, [x8, _vcc_rxreadptr@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cardvcc_write
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RMMODE_TRASH,4,2               ; @RMMODE_TRASH
	.comm	_RXMODE_TRASH,4,2               ; @RXMODE_TRASH
	.comm	_vcc_rxaddr1,4,2                ; @vcc_rxaddr1
	.comm	_vcc_rxaddr2,4,2                ; @vcc_rxaddr2
	.comm	_vcc_rxcrc1,4,2                 ; @vcc_rxcrc1
	.comm	_vcc_rxcrc2,4,2                 ; @vcc_rxcrc2
	.comm	_vcc_rxwriteptr,4,2             ; @vcc_rxwriteptr
	.comm	_vcc_rxbufstart,4,2             ; @vcc_rxbufstart
	.comm	_vcc_rxreadptr,4,2              ; @vcc_rxreadptr
	.no_dead_strip	_lanai_shutdown_rx_vci
.subsections_via_symbols
