	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_lcb
_init_lcb:                              ## @init_lcb
	.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
	movq	(%rdi), %rax
	movq	_ICODE_FUNCTIONAL_SIMULATOR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	%rdi, %rbx
	movq	_DC_LCB_CFG_TX_FIFOS_RESET@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$1, %edx
	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_CLK_CNTR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$8, %edx
	callq	_write_csr
	movq	_DC_LCB_CFG_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_write_csr
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_write_csr                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICODE_FUNCTIONAL_SIMULATOR,8,3 ## @ICODE_FUNCTIONAL_SIMULATOR
	.comm	_DC_LCB_CFG_TX_FIFOS_RESET,4,2  ## @DC_LCB_CFG_TX_FIFOS_RESET
	.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_CLK_CNTR,4,2        ## @DC_LCB_CFG_CLK_CNTR
	.comm	_DC_LCB_CFG_LOOPBACK,4,2        ## @DC_LCB_CFG_LOOPBACK
	.no_dead_strip	_init_lcb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_lcb
_init_lcb:                              ; @init_lcb
	.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]
Lloh0:
	adrp	x9, _ICODE_FUNCTIONAL_SIMULATOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ICODE_FUNCTIONAL_SIMULATOR@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh3:
	adrp	x20, _DC_LCB_CFG_TX_FIFOS_RESET@GOTPAGE
Lloh4:
	ldr	x20, [x20, _DC_LCB_CFG_TX_FIFOS_RESET@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	w2, #1
	bl	_write_csr
Lloh5:
	adrp	x8, _DC_LCB_CFG_LANE_WIDTH@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DC_LCB_CFG_LANE_WIDTH@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_write_csr
Lloh8:
	adrp	x8, _DC_LCB_CFG_REINIT_AS_SLAVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DC_LCB_CFG_REINIT_AS_SLAVE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_write_csr
Lloh11:
	adrp	x8, _DC_LCB_CFG_CNT_FOR_SKIP_STALL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DC_LCB_CFG_CNT_FOR_SKIP_STALL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #272
	bl	_write_csr
Lloh14:
	adrp	x8, _DC_LCB_CFG_CLK_CNTR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DC_LCB_CFG_CLK_CNTR@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #8
	bl	_write_csr
Lloh17:
	adrp	x8, _DC_LCB_CFG_LOOPBACK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DC_LCB_CFG_LOOPBACK@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_write_csr
	ldr	w1, [x20]
	mov	x0, x19
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_write_csr
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ICODE_FUNCTIONAL_SIMULATOR,8,3 ; @ICODE_FUNCTIONAL_SIMULATOR
	.comm	_DC_LCB_CFG_TX_FIFOS_RESET,4,2  ; @DC_LCB_CFG_TX_FIFOS_RESET
	.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_CLK_CNTR,4,2        ; @DC_LCB_CFG_CLK_CNTR
	.comm	_DC_LCB_CFG_LOOPBACK,4,2        ; @DC_LCB_CFG_LOOPBACK
	.no_dead_strip	_init_lcb
.subsections_via_symbols
