	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function force_logical_link_state_down
_force_logical_link_state_down:         ## @force_logical_link_state_down
	.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
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	movq	_DC_LCB_CFG_TX_FIFOS_RESET@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_write_csr
	movq	_DC_LCB_CFG_IGNORE_LOST_RCLK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	_DC_LCB_CFG_IGNORE_LOST_RCLK_EN_SMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_write_csr
	movq	_DC_LCB_CFG_LANE_WIDTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_DC_LCB_CFG_REINIT_AS_SLAVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_DC_LCB_CFG_CNT_FOR_SKIP_STALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$272, %edx                      ## imm = 0x110
	callq	_write_csr
	movq	_DC_LCB_CFG_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_write_csr
	movl	(%r12), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_read_csr
	movl	$3, %edi
	callq	_udelay
	movq	_DC_LCB_CFG_ALLOW_LINK_UP@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_write_csr
	movq	_DC_LCB_CFG_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DC_LCB_CFG_RUN_EN_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %edx
	shlq	%cl, %rdx
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_write_csr
	movq	%rbx, %rdi
	movl	$100, %esi
	callq	_wait_link_transfer_active
	movl	(%r12), %esi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_write_csr
	movl	(%r13), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movl	(%r15), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dd_dev_info                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DC_LCB_CFG_TX_FIFOS_RESET,4,2  ## @DC_LCB_CFG_TX_FIFOS_RESET
	.comm	_DC_LCB_CFG_IGNORE_LOST_RCLK,4,2 ## @DC_LCB_CFG_IGNORE_LOST_RCLK
	.comm	_DC_LCB_CFG_IGNORE_LOST_RCLK_EN_SMASK,4,2 ## @DC_LCB_CFG_IGNORE_LOST_RCLK_EN_SMASK
	.comm	_DC_LCB_CFG_LANE_WIDTH,4,2      ## @DC_LCB_CFG_LANE_WIDTH
	.comm	_DC_LCB_CFG_REINIT_AS_SLAVE,4,2 ## @DC_LCB_CFG_REINIT_AS_SLAVE
	.comm	_DC_LCB_CFG_CNT_FOR_SKIP_STALL,4,2 ## @DC_LCB_CFG_CNT_FOR_SKIP_STALL
	.comm	_DC_LCB_CFG_LOOPBACK,4,2        ## @DC_LCB_CFG_LOOPBACK
	.comm	_DC_LCB_CFG_ALLOW_LINK_UP,4,2   ## @DC_LCB_CFG_ALLOW_LINK_UP
	.comm	_DC_LCB_CFG_RUN,4,2             ## @DC_LCB_CFG_RUN
	.comm	_DC_LCB_CFG_RUN_EN_SHIFT,8,3    ## @DC_LCB_CFG_RUN_EN_SHIFT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"logical state forced to LINK_DOWN\n"

	.no_dead_strip	_force_logical_link_state_down
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function force_logical_link_state_down
_force_logical_link_state_down:         ; @force_logical_link_state_down
	.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	x19, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x22, _DC_LCB_CFG_TX_FIFOS_RESET@GOTPAGE
Lloh1:
	ldr	x22, [x22, _DC_LCB_CFG_TX_FIFOS_RESET@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w23, #1
	mov	x0, x20
	mov	w2, #1
	bl	_write_csr
Lloh2:
	adrp	x21, _DC_LCB_CFG_IGNORE_LOST_RCLK@GOTPAGE
Lloh3:
	ldr	x21, [x21, _DC_LCB_CFG_IGNORE_LOST_RCLK@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh4:
	adrp	x8, _DC_LCB_CFG_IGNORE_LOST_RCLK_EN_SMASK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DC_LCB_CFG_IGNORE_LOST_RCLK_EN_SMASK@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_write_csr
Lloh7:
	adrp	x8, _DC_LCB_CFG_LANE_WIDTH@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DC_LCB_CFG_LANE_WIDTH@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_write_csr
Lloh10:
	adrp	x8, _DC_LCB_CFG_REINIT_AS_SLAVE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _DC_LCB_CFG_REINIT_AS_SLAVE@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #0
	bl	_write_csr
Lloh13:
	adrp	x8, _DC_LCB_CFG_CNT_FOR_SKIP_STALL@GOTPAGE
Lloh14:
	ldr	x8, [x8, _DC_LCB_CFG_CNT_FOR_SKIP_STALL@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #272
	bl	_write_csr
Lloh16:
	adrp	x8, _DC_LCB_CFG_LOOPBACK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DC_LCB_CFG_LOOPBACK@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x20
	mov	w2, #2
	bl	_write_csr
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #0
	bl	_write_csr
	ldr	w1, [x22]
	mov	x0, x20
	bl	_read_csr
	mov	w0, #3
	bl	_udelay
Lloh19:
	adrp	x24, _DC_LCB_CFG_ALLOW_LINK_UP@GOTPAGE
Lloh20:
	ldr	x24, [x24, _DC_LCB_CFG_ALLOW_LINK_UP@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #1
	bl	_write_csr
Lloh21:
	adrp	x8, _DC_LCB_CFG_RUN@GOTPAGE
Lloh22:
	ldr	x8, [x8, _DC_LCB_CFG_RUN@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _DC_LCB_CFG_RUN_EN_SHIFT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DC_LCB_CFG_RUN_EN_SHIFT@GOTPAGEOFF]
Lloh26:
	ldr	x8, [x8]
	lsl	x2, x23, x8
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_write_csr
	mov	x0, x20
	mov	w1, #100
	bl	_wait_link_transfer_active
	ldr	w1, [x22]
	mov	x0, x20
	mov	w2, #1
	bl	_write_csr
	ldr	w1, [x24]
	mov	x0, x20
	mov	w2, #0
	bl	_write_csr
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #0
	bl	_write_csr
	ldr	x0, [x19]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	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	_dd_dev_info
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DC_LCB_CFG_TX_FIFOS_RESET,4,2  ; @DC_LCB_CFG_TX_FIFOS_RESET
	.comm	_DC_LCB_CFG_IGNORE_LOST_RCLK,4,2 ; @DC_LCB_CFG_IGNORE_LOST_RCLK
	.comm	_DC_LCB_CFG_IGNORE_LOST_RCLK_EN_SMASK,4,2 ; @DC_LCB_CFG_IGNORE_LOST_RCLK_EN_SMASK
	.comm	_DC_LCB_CFG_LANE_WIDTH,4,2      ; @DC_LCB_CFG_LANE_WIDTH
	.comm	_DC_LCB_CFG_REINIT_AS_SLAVE,4,2 ; @DC_LCB_CFG_REINIT_AS_SLAVE
	.comm	_DC_LCB_CFG_CNT_FOR_SKIP_STALL,4,2 ; @DC_LCB_CFG_CNT_FOR_SKIP_STALL
	.comm	_DC_LCB_CFG_LOOPBACK,4,2        ; @DC_LCB_CFG_LOOPBACK
	.comm	_DC_LCB_CFG_ALLOW_LINK_UP,4,2   ; @DC_LCB_CFG_ALLOW_LINK_UP
	.comm	_DC_LCB_CFG_RUN,4,2             ; @DC_LCB_CFG_RUN
	.comm	_DC_LCB_CFG_RUN_EN_SHIFT,8,3    ; @DC_LCB_CFG_RUN_EN_SHIFT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"logical state forced to LINK_DOWN\n"

	.no_dead_strip	_force_logical_link_state_down
.subsections_via_symbols
