	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lcb_shutdown
_lcb_shutdown:                          ## @lcb_shutdown
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_DC_LCB_CFG_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_DC_LCB_CFG_TX_FIFOS_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DC_LCB_CFG_TX_FIFOS_RESET_VAL_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edx
	shlq	%cl, %rdx
	movq	%rbx, %rdi
	callq	_write_csr
	movq	_DC_LCB_ERR_EN@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_read_csr
	movq	%rax, (%rbx)
	movq	_DCC_CFG_RESET@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_read_csr
	movq	%rax, %r15
	movl	(%r13), %esi
	movq	_DCC_CFG_RESET_RESET_LCB@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	orq	%r15, %rdx
	movq	_DCC_CFG_RESET_RESET_RX_FPE@GOTPCREL(%rip), %rax
	orq	(%rax), %rdx
	movq	%rbx, %rdi
	callq	_write_csr
	movl	(%r13), %esi
	movq	%rbx, %rdi
	callq	_read_csr
	testl	%r14d, %r14d
	je	LBB0_2
## %bb.1:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	$1, %edi
	callq	_udelay
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movq	%r15, %rdx
	callq	_write_csr
	movl	(%r12), %esi
	movq	(%rbx), %rdx
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_csr                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_LCB_CFG_RUN,4,2             ## @DC_LCB_CFG_RUN
	.comm	_DC_LCB_CFG_TX_FIFOS_RESET,4,2  ## @DC_LCB_CFG_TX_FIFOS_RESET
	.comm	_DC_LCB_CFG_TX_FIFOS_RESET_VAL_SHIFT,8,3 ## @DC_LCB_CFG_TX_FIFOS_RESET_VAL_SHIFT
	.comm	_DC_LCB_ERR_EN,4,2              ## @DC_LCB_ERR_EN
	.comm	_DCC_CFG_RESET,4,2              ## @DCC_CFG_RESET
	.comm	_DCC_CFG_RESET_RESET_LCB,8,3    ## @DCC_CFG_RESET_RESET_LCB
	.comm	_DCC_CFG_RESET_RESET_RX_FPE,8,3 ## @DCC_CFG_RESET_RESET_RX_FPE
	.no_dead_strip	_lcb_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lcb_shutdown
_lcb_shutdown:                          ; @lcb_shutdown
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _DC_LCB_CFG_RUN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DC_LCB_CFG_RUN@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x2, #0
	bl	_write_csr
Lloh3:
	adrp	x8, _DC_LCB_CFG_TX_FIFOS_RESET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DC_LCB_CFG_TX_FIFOS_RESET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _DC_LCB_CFG_TX_FIFOS_RESET_VAL_SHIFT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DC_LCB_CFG_TX_FIFOS_RESET_VAL_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	mov	w9, #1
	lsl	x2, x9, x8
	mov	x0, x19
	bl	_write_csr
Lloh9:
	adrp	x22, _DC_LCB_ERR_EN@GOTPAGE
Lloh10:
	ldr	x22, [x22, _DC_LCB_ERR_EN@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_read_csr
	str	x0, [x19]
Lloh11:
	adrp	x23, _DCC_CFG_RESET@GOTPAGE
Lloh12:
	ldr	x23, [x23, _DCC_CFG_RESET@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	bl	_read_csr
	mov	x21, x0
	ldr	w1, [x23]
Lloh13:
	adrp	x8, _DCC_CFG_RESET_RESET_LCB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DCC_CFG_RESET_RESET_LCB@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	orr	x8, x8, x0
Lloh16:
	adrp	x9, _DCC_CFG_RESET_RESET_RX_FPE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _DCC_CFG_RESET_RESET_RX_FPE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	orr	x2, x8, x9
	mov	x0, x19
	bl	_write_csr
	ldr	w1, [x23]
	mov	x0, x19
	bl	_read_csr
	cbz	w20, LBB0_2
; %bb.1:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	w0, #1
	bl	_udelay
	ldr	w1, [x23]
	mov	x0, x19
	mov	x2, x21
	bl	_write_csr
	ldr	w1, [x22]
	ldr	x2, [x19]
	mov	x0, x19
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_write_csr
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_LCB_CFG_RUN,4,2             ; @DC_LCB_CFG_RUN
	.comm	_DC_LCB_CFG_TX_FIFOS_RESET,4,2  ; @DC_LCB_CFG_TX_FIFOS_RESET
	.comm	_DC_LCB_CFG_TX_FIFOS_RESET_VAL_SHIFT,8,3 ; @DC_LCB_CFG_TX_FIFOS_RESET_VAL_SHIFT
	.comm	_DC_LCB_ERR_EN,4,2              ; @DC_LCB_ERR_EN
	.comm	_DCC_CFG_RESET,4,2              ; @DCC_CFG_RESET
	.comm	_DCC_CFG_RESET_RESET_LCB,8,3    ; @DCC_CFG_RESET_RESET_LCB
	.comm	_DCC_CFG_RESET_RESET_RX_FPE,8,3 ; @DCC_CFG_RESET_RESET_RX_FPE
	.no_dead_strip	_lcb_shutdown
.subsections_via_symbols
