	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function reset_txe_csrs
_reset_txe_csrs:                        ## @reset_txe_csrs
	.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	_SEND_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%edx, %edx
	callq	_write_csr
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	___cm_reset
	movq	_SEND_HIGH_PRIORITY_LIMIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	%r14, %rdi
	callq	_pio_reset_all
	movq	_SEND_PIO_ERR_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_PIO_ERR_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movq	$-1, %rdx
	callq	_write_csr
	movq	_SEND_DMA_ERR_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_DMA_ERR_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movq	$-1, %rdx
	callq	_write_csr
	movq	_SEND_EGRESS_ERR_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_EGRESS_ERR_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movq	$-1, %rdx
	callq	_write_csr
	movq	_SEND_BTH_QP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_STATIC_RATE_CONTROL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_SC2VLT0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_SC2VLT1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_SC2VLT2@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_SC2VLT3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_LEN_CHECK0@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_LEN_CHECK1@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_ERR_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_ERR_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movq	$-1, %rdx
	callq	_write_csr
	movq	_VL_ARB_LOW_PRIO_TABLE_SIZE@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	movq	_SEND_LOW_PRIORITY_LIST@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	incq	%rbx
	movslq	(%r15), %rax
	addq	$8, %r13
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_VL_ARB_HIGH_PRIO_TABLE_SIZE@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%r13d, %r13d
	movq	_SEND_HIGH_PRIORITY_LIST@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	incq	%rbx
	movslq	(%r15), %rax
	addq	$8, %r13
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	%r14, %rdi
	callq	_chip_send_contexts
	movq	_NUM_CONTEXTS_PER_SET@GOTPCREL(%rip), %r15
	cltd
	idivl	(%r15)
	testl	%eax, %eax
	jle	LBB0_9
## %bb.7:
	xorl	%r13d, %r13d
	movq	_SEND_CONTEXT_SET_CTRL@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	incq	%rbx
	movq	%r14, %rdi
	callq	_chip_send_contexts
	cltd
	idivl	(%r15)
	cltq
	addq	$8, %r13
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	_TXE_NUM_32_BIT_COUNTER@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_12
## %bb.10:
	xorl	%r13d, %r13d
	movq	_SEND_COUNTER_ARRAY32@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	incq	%rbx
	movslq	(%r15), %rax
	addq	$8, %r13
	cmpq	%rax, %rbx
	jl	LBB0_11
LBB0_12:
	movq	_TXE_NUM_64_BIT_COUNTER@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_15
## %bb.13:
	xorl	%r13d, %r13d
	movq	_SEND_COUNTER_ARRAY64@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	incq	%rbx
	movslq	(%r15), %rax
	addq	$8, %r13
	cmpq	%rax, %rbx
	jl	LBB0_14
LBB0_15:
	movq	_SEND_CM_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_SEND_CM_CTRL_RESETCSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_write_csr
	movq	_SEND_CM_GLOBAL_CREDIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	_SEND_CM_GLOBAL_CREDIT_RESETCSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r14, %rdi
	callq	_write_csr
	movq	_SEND_CM_TIMER_CTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_CM_LOCAL_AU_TABLE0_TO3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_CM_LOCAL_AU_TABLE4_TO7@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_CM_REMOTE_AU_TABLE0_TO3@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_CM_REMOTE_AU_TABLE4_TO7@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_TXE_NUM_DATA_VL@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_18
## %bb.16:
	xorl	%r13d, %r13d
	movq	_SEND_CM_CREDIT_VL@GOTPCREL(%rip), %r12
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	addq	%r13, %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	incq	%rbx
	movslq	(%r15), %rax
	addq	$8, %r13
	cmpq	%rax, %rbx
	jl	LBB0_17
LBB0_18:
	movq	_SEND_CM_CREDIT_VL15@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_write_csr
	movq	_SEND_EGRESS_ERR_INFO@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movq	$-1, %rdx
	callq	_write_csr
	movq	%r14, %rdi
	callq	_chip_send_contexts
	testl	%eax, %eax
	jle	LBB0_21
## %bb.19:
	movq	_SEND_CTXT_CHECK_PARTITION_KEY@GOTPCREL(%rip), %r15
	movq	_SEND_CTXT_CHECK_SLID@GOTPCREL(%rip), %r12
	movq	_SEND_CTXT_CHECK_OPCODE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	_SEND_CTXT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_CTXT_CREDIT_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_CTXT_CREDIT_RETURN_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_CTXT_CREDIT_FORCE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_CTXT_ERR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_CTXT_ERR_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	$-1, %rcx
	callq	_write_kctxt_csr
	movq	_SEND_CTXT_CHECK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_CTXT_CHECK_VL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_CTXT_CHECK_JOB_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	incl	%ebx
	movq	%r14, %rdi
	callq	_chip_send_contexts
	cmpl	%eax, %ebx
	jl	LBB0_20
LBB0_21:
	movq	%r14, %rdi
	callq	_chip_sdma_engines
	testl	%eax, %eax
	jle	LBB0_24
## %bb.22:
	xorl	%ebx, %ebx
	movq	_SEND_DMA_CHECK_SLID@GOTPCREL(%rip), %r13
	movq	_SEND_DMA_CHECK_OPCODE@GOTPCREL(%rip), %r15
	movq	_SEND_DMA_MEMORY@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	_SEND_DMA_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_BASE_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_LEN_GEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_TAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_HEAD_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_PRIORITY_THLD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_RELOAD_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_DESC_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_ENG_ERR_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_ENG_ERR_CLEAR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	$-1, %rcx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_CHECK_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_CHECK_VL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_CHECK_JOB_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movq	_SEND_DMA_CHECK_PARTITION_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movl	(%r13), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	movl	(%r12), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%ecx, %ecx
	callq	_write_kctxt_csr
	incl	%ebx
	movq	%r14, %rdi
	callq	_chip_sdma_engines
	cmpl	%eax, %ebx
	jl	LBB0_23
LBB0_24:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEND_CTRL,8,3                  ## @SEND_CTRL
	.comm	_SEND_HIGH_PRIORITY_LIMIT,8,3   ## @SEND_HIGH_PRIORITY_LIMIT
	.comm	_SEND_PIO_ERR_MASK,8,3          ## @SEND_PIO_ERR_MASK
	.comm	_SEND_PIO_ERR_CLEAR,8,3         ## @SEND_PIO_ERR_CLEAR
	.comm	_SEND_DMA_ERR_MASK,8,3          ## @SEND_DMA_ERR_MASK
	.comm	_SEND_DMA_ERR_CLEAR,8,3         ## @SEND_DMA_ERR_CLEAR
	.comm	_SEND_EGRESS_ERR_MASK,8,3       ## @SEND_EGRESS_ERR_MASK
	.comm	_SEND_EGRESS_ERR_CLEAR,8,3      ## @SEND_EGRESS_ERR_CLEAR
	.comm	_SEND_BTH_QP,8,3                ## @SEND_BTH_QP
	.comm	_SEND_STATIC_RATE_CONTROL,8,3   ## @SEND_STATIC_RATE_CONTROL
	.comm	_SEND_SC2VLT0,8,3               ## @SEND_SC2VLT0
	.comm	_SEND_SC2VLT1,8,3               ## @SEND_SC2VLT1
	.comm	_SEND_SC2VLT2,8,3               ## @SEND_SC2VLT2
	.comm	_SEND_SC2VLT3,8,3               ## @SEND_SC2VLT3
	.comm	_SEND_LEN_CHECK0,8,3            ## @SEND_LEN_CHECK0
	.comm	_SEND_LEN_CHECK1,8,3            ## @SEND_LEN_CHECK1
	.comm	_SEND_ERR_MASK,8,3              ## @SEND_ERR_MASK
	.comm	_SEND_ERR_CLEAR,8,3             ## @SEND_ERR_CLEAR
	.comm	_VL_ARB_LOW_PRIO_TABLE_SIZE,4,2 ## @VL_ARB_LOW_PRIO_TABLE_SIZE
	.comm	_SEND_LOW_PRIORITY_LIST,8,3     ## @SEND_LOW_PRIORITY_LIST
	.comm	_VL_ARB_HIGH_PRIO_TABLE_SIZE,4,2 ## @VL_ARB_HIGH_PRIO_TABLE_SIZE
	.comm	_SEND_HIGH_PRIORITY_LIST,8,3    ## @SEND_HIGH_PRIORITY_LIST
	.comm	_NUM_CONTEXTS_PER_SET,4,2       ## @NUM_CONTEXTS_PER_SET
	.comm	_SEND_CONTEXT_SET_CTRL,8,3      ## @SEND_CONTEXT_SET_CTRL
	.comm	_TXE_NUM_32_BIT_COUNTER,4,2     ## @TXE_NUM_32_BIT_COUNTER
	.comm	_SEND_COUNTER_ARRAY32,8,3       ## @SEND_COUNTER_ARRAY32
	.comm	_TXE_NUM_64_BIT_COUNTER,4,2     ## @TXE_NUM_64_BIT_COUNTER
	.comm	_SEND_COUNTER_ARRAY64,8,3       ## @SEND_COUNTER_ARRAY64
	.comm	_SEND_CM_CTRL,8,3               ## @SEND_CM_CTRL
	.comm	_SEND_CM_CTRL_RESETCSR,8,3      ## @SEND_CM_CTRL_RESETCSR
	.comm	_SEND_CM_GLOBAL_CREDIT,8,3      ## @SEND_CM_GLOBAL_CREDIT
	.comm	_SEND_CM_GLOBAL_CREDIT_RESETCSR,8,3 ## @SEND_CM_GLOBAL_CREDIT_RESETCSR
	.comm	_SEND_CM_TIMER_CTRL,8,3         ## @SEND_CM_TIMER_CTRL
	.comm	_SEND_CM_LOCAL_AU_TABLE0_TO3,8,3 ## @SEND_CM_LOCAL_AU_TABLE0_TO3
	.comm	_SEND_CM_LOCAL_AU_TABLE4_TO7,8,3 ## @SEND_CM_LOCAL_AU_TABLE4_TO7
	.comm	_SEND_CM_REMOTE_AU_TABLE0_TO3,8,3 ## @SEND_CM_REMOTE_AU_TABLE0_TO3
	.comm	_SEND_CM_REMOTE_AU_TABLE4_TO7,8,3 ## @SEND_CM_REMOTE_AU_TABLE4_TO7
	.comm	_TXE_NUM_DATA_VL,4,2            ## @TXE_NUM_DATA_VL
	.comm	_SEND_CM_CREDIT_VL,8,3          ## @SEND_CM_CREDIT_VL
	.comm	_SEND_CM_CREDIT_VL15,8,3        ## @SEND_CM_CREDIT_VL15
	.comm	_SEND_EGRESS_ERR_INFO,8,3       ## @SEND_EGRESS_ERR_INFO
	.comm	_SEND_CTXT_CTRL,4,2             ## @SEND_CTXT_CTRL
	.comm	_SEND_CTXT_CREDIT_CTRL,4,2      ## @SEND_CTXT_CREDIT_CTRL
	.comm	_SEND_CTXT_CREDIT_RETURN_ADDR,4,2 ## @SEND_CTXT_CREDIT_RETURN_ADDR
	.comm	_SEND_CTXT_CREDIT_FORCE,4,2     ## @SEND_CTXT_CREDIT_FORCE
	.comm	_SEND_CTXT_ERR_MASK,4,2         ## @SEND_CTXT_ERR_MASK
	.comm	_SEND_CTXT_ERR_CLEAR,4,2        ## @SEND_CTXT_ERR_CLEAR
	.comm	_SEND_CTXT_CHECK_ENABLE,4,2     ## @SEND_CTXT_CHECK_ENABLE
	.comm	_SEND_CTXT_CHECK_VL,4,2         ## @SEND_CTXT_CHECK_VL
	.comm	_SEND_CTXT_CHECK_JOB_KEY,4,2    ## @SEND_CTXT_CHECK_JOB_KEY
	.comm	_SEND_CTXT_CHECK_PARTITION_KEY,4,2 ## @SEND_CTXT_CHECK_PARTITION_KEY
	.comm	_SEND_CTXT_CHECK_SLID,4,2       ## @SEND_CTXT_CHECK_SLID
	.comm	_SEND_CTXT_CHECK_OPCODE,4,2     ## @SEND_CTXT_CHECK_OPCODE
	.comm	_SEND_DMA_CTRL,4,2              ## @SEND_DMA_CTRL
	.comm	_SEND_DMA_BASE_ADDR,4,2         ## @SEND_DMA_BASE_ADDR
	.comm	_SEND_DMA_LEN_GEN,4,2           ## @SEND_DMA_LEN_GEN
	.comm	_SEND_DMA_TAIL,4,2              ## @SEND_DMA_TAIL
	.comm	_SEND_DMA_HEAD_ADDR,4,2         ## @SEND_DMA_HEAD_ADDR
	.comm	_SEND_DMA_PRIORITY_THLD,4,2     ## @SEND_DMA_PRIORITY_THLD
	.comm	_SEND_DMA_RELOAD_CNT,4,2        ## @SEND_DMA_RELOAD_CNT
	.comm	_SEND_DMA_DESC_CNT,4,2          ## @SEND_DMA_DESC_CNT
	.comm	_SEND_DMA_ENG_ERR_MASK,4,2      ## @SEND_DMA_ENG_ERR_MASK
	.comm	_SEND_DMA_ENG_ERR_CLEAR,4,2     ## @SEND_DMA_ENG_ERR_CLEAR
	.comm	_SEND_DMA_CHECK_ENABLE,4,2      ## @SEND_DMA_CHECK_ENABLE
	.comm	_SEND_DMA_CHECK_VL,4,2          ## @SEND_DMA_CHECK_VL
	.comm	_SEND_DMA_CHECK_JOB_KEY,4,2     ## @SEND_DMA_CHECK_JOB_KEY
	.comm	_SEND_DMA_CHECK_PARTITION_KEY,4,2 ## @SEND_DMA_CHECK_PARTITION_KEY
	.comm	_SEND_DMA_CHECK_SLID,4,2        ## @SEND_DMA_CHECK_SLID
	.comm	_SEND_DMA_CHECK_OPCODE,4,2      ## @SEND_DMA_CHECK_OPCODE
	.comm	_SEND_DMA_MEMORY,4,2            ## @SEND_DMA_MEMORY
	.no_dead_strip	_reset_txe_csrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function reset_txe_csrs
_reset_txe_csrs:                        ; @reset_txe_csrs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _SEND_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEND_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	x2, #0
	bl	_write_csr
	mov	x0, x19
	mov	w1, #0
	bl	___cm_reset
Lloh3:
	adrp	x8, _SEND_HIGH_PRIORITY_LIMIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEND_HIGH_PRIORITY_LIMIT@GOTPAGEOFF]
Lloh5:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
	mov	x0, x19
	bl	_pio_reset_all
Lloh6:
	adrp	x8, _SEND_PIO_ERR_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEND_PIO_ERR_MASK@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh9:
	adrp	x8, _SEND_PIO_ERR_CLEAR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SEND_PIO_ERR_CLEAR@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #-1
	bl	_write_csr
Lloh12:
	adrp	x8, _SEND_DMA_ERR_MASK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SEND_DMA_ERR_MASK@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh15:
	adrp	x8, _SEND_DMA_ERR_CLEAR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SEND_DMA_ERR_CLEAR@GOTPAGEOFF]
Lloh17:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #-1
	bl	_write_csr
Lloh18:
	adrp	x8, _SEND_EGRESS_ERR_MASK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SEND_EGRESS_ERR_MASK@GOTPAGEOFF]
Lloh20:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh21:
	adrp	x8, _SEND_EGRESS_ERR_CLEAR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SEND_EGRESS_ERR_CLEAR@GOTPAGEOFF]
Lloh23:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #-1
	bl	_write_csr
Lloh24:
	adrp	x8, _SEND_BTH_QP@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SEND_BTH_QP@GOTPAGEOFF]
Lloh26:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh27:
	adrp	x8, _SEND_STATIC_RATE_CONTROL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SEND_STATIC_RATE_CONTROL@GOTPAGEOFF]
Lloh29:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh30:
	adrp	x8, _SEND_SC2VLT0@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SEND_SC2VLT0@GOTPAGEOFF]
Lloh32:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh33:
	adrp	x8, _SEND_SC2VLT1@GOTPAGE
Lloh34:
	ldr	x8, [x8, _SEND_SC2VLT1@GOTPAGEOFF]
Lloh35:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh36:
	adrp	x8, _SEND_SC2VLT2@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SEND_SC2VLT2@GOTPAGEOFF]
Lloh38:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh39:
	adrp	x8, _SEND_SC2VLT3@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SEND_SC2VLT3@GOTPAGEOFF]
Lloh41:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh42:
	adrp	x8, _SEND_LEN_CHECK0@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SEND_LEN_CHECK0@GOTPAGEOFF]
Lloh44:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh45:
	adrp	x8, _SEND_LEN_CHECK1@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SEND_LEN_CHECK1@GOTPAGEOFF]
Lloh47:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh48:
	adrp	x8, _SEND_ERR_MASK@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SEND_ERR_MASK@GOTPAGEOFF]
Lloh50:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh51:
	adrp	x8, _SEND_ERR_CLEAR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SEND_ERR_CLEAR@GOTPAGEOFF]
Lloh53:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #-1
	bl	_write_csr
Lloh54:
	adrp	x20, _VL_ARB_LOW_PRIO_TABLE_SIZE@GOTPAGE
Lloh55:
	ldr	x20, [x20, _VL_ARB_LOW_PRIO_TABLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x21, #0
	mov	x22, #0
Lloh56:
	adrp	x23, _SEND_LOW_PRIORITY_LIST@GOTPAGE
Lloh57:
	ldr	x23, [x23, _SEND_LOW_PRIORITY_LIST@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x21, x8
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
Lloh58:
	adrp	x20, _VL_ARB_HIGH_PRIO_TABLE_SIZE@GOTPAGE
Lloh59:
	ldr	x20, [x20, _VL_ARB_HIGH_PRIO_TABLE_SIZE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x21, #0
	mov	x22, #0
Lloh60:
	adrp	x23, _SEND_HIGH_PRIORITY_LIST@GOTPAGE
Lloh61:
	ldr	x23, [x23, _SEND_HIGH_PRIORITY_LIST@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x21, x8
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
	mov	x0, x19
	bl	_chip_send_contexts
Lloh62:
	adrp	x20, _NUM_CONTEXTS_PER_SET@GOTPAGE
Lloh63:
	ldr	x20, [x20, _NUM_CONTEXTS_PER_SET@GOTPAGEOFF]
	ldr	w8, [x20]
	sdiv	w8, w0, w8
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x21, #0
	mov	x22, #0
Lloh64:
	adrp	x23, _SEND_CONTEXT_SET_CTRL@GOTPAGE
Lloh65:
	ldr	x23, [x23, _SEND_CONTEXT_SET_CTRL@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x21, x8
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
	add	x22, x22, #1
	mov	x0, x19
	bl	_chip_send_contexts
	ldr	w8, [x20]
	sdiv	w8, w0, w8
	add	x21, x21, #8
	cmp	x22, w8, sxtw
	b.lt	LBB0_8
LBB0_9:
Lloh66:
	adrp	x20, _TXE_NUM_32_BIT_COUNTER@GOTPAGE
Lloh67:
	ldr	x20, [x20, _TXE_NUM_32_BIT_COUNTER@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	mov	x21, #0
	mov	x22, #0
Lloh68:
	adrp	x23, _SEND_COUNTER_ARRAY32@GOTPAGE
Lloh69:
	ldr	x23, [x23, _SEND_COUNTER_ARRAY32@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x21, x8
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_11
LBB0_12:
Lloh70:
	adrp	x20, _TXE_NUM_64_BIT_COUNTER@GOTPAGE
Lloh71:
	ldr	x20, [x20, _TXE_NUM_64_BIT_COUNTER@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x21, #0
	mov	x22, #0
Lloh72:
	adrp	x23, _SEND_COUNTER_ARRAY64@GOTPAGE
Lloh73:
	ldr	x23, [x23, _SEND_COUNTER_ARRAY64@GOTPAGEOFF]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x21, x8
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_14
LBB0_15:
Lloh74:
	adrp	x8, _SEND_CM_CTRL@GOTPAGE
Lloh75:
	ldr	x8, [x8, _SEND_CM_CTRL@GOTPAGEOFF]
Lloh76:
	ldr	x1, [x8]
Lloh77:
	adrp	x8, _SEND_CM_CTRL_RESETCSR@GOTPAGE
Lloh78:
	ldr	x8, [x8, _SEND_CM_CTRL_RESETCSR@GOTPAGEOFF]
Lloh79:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_write_csr
Lloh80:
	adrp	x8, _SEND_CM_GLOBAL_CREDIT@GOTPAGE
Lloh81:
	ldr	x8, [x8, _SEND_CM_GLOBAL_CREDIT@GOTPAGEOFF]
Lloh82:
	ldr	x1, [x8]
Lloh83:
	adrp	x8, _SEND_CM_GLOBAL_CREDIT_RESETCSR@GOTPAGE
Lloh84:
	ldr	x8, [x8, _SEND_CM_GLOBAL_CREDIT_RESETCSR@GOTPAGEOFF]
Lloh85:
	ldr	x2, [x8]
	mov	x0, x19
	bl	_write_csr
Lloh86:
	adrp	x8, _SEND_CM_TIMER_CTRL@GOTPAGE
Lloh87:
	ldr	x8, [x8, _SEND_CM_TIMER_CTRL@GOTPAGEOFF]
Lloh88:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh89:
	adrp	x8, _SEND_CM_LOCAL_AU_TABLE0_TO3@GOTPAGE
Lloh90:
	ldr	x8, [x8, _SEND_CM_LOCAL_AU_TABLE0_TO3@GOTPAGEOFF]
Lloh91:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh92:
	adrp	x8, _SEND_CM_LOCAL_AU_TABLE4_TO7@GOTPAGE
Lloh93:
	ldr	x8, [x8, _SEND_CM_LOCAL_AU_TABLE4_TO7@GOTPAGEOFF]
Lloh94:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh95:
	adrp	x8, _SEND_CM_REMOTE_AU_TABLE0_TO3@GOTPAGE
Lloh96:
	ldr	x8, [x8, _SEND_CM_REMOTE_AU_TABLE0_TO3@GOTPAGEOFF]
Lloh97:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh98:
	adrp	x8, _SEND_CM_REMOTE_AU_TABLE4_TO7@GOTPAGE
Lloh99:
	ldr	x8, [x8, _SEND_CM_REMOTE_AU_TABLE4_TO7@GOTPAGEOFF]
Lloh100:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh101:
	adrp	x20, _TXE_NUM_DATA_VL@GOTPAGE
Lloh102:
	ldr	x20, [x20, _TXE_NUM_DATA_VL@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.16:
	mov	x21, #0
	mov	x22, #0
Lloh103:
	adrp	x23, _SEND_CM_CREDIT_VL@GOTPAGE
Lloh104:
	ldr	x23, [x23, _SEND_CM_CREDIT_VL@GOTPAGEOFF]
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	add	x1, x21, x8
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
	add	x22, x22, #1
	ldrsw	x8, [x20]
	add	x21, x21, #8
	cmp	x22, x8
	b.lt	LBB0_17
LBB0_18:
Lloh105:
	adrp	x8, _SEND_CM_CREDIT_VL15@GOTPAGE
Lloh106:
	ldr	x8, [x8, _SEND_CM_CREDIT_VL15@GOTPAGEOFF]
Lloh107:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #0
	bl	_write_csr
Lloh108:
	adrp	x8, _SEND_EGRESS_ERR_INFO@GOTPAGE
Lloh109:
	ldr	x8, [x8, _SEND_EGRESS_ERR_INFO@GOTPAGEOFF]
Lloh110:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, #-1
	bl	_write_csr
	mov	x0, x19
	bl	_chip_send_contexts
	cmp	w0, #1
	b.lt	LBB0_21
; %bb.19:
	mov	w20, #0
Lloh111:
	adrp	x25, _SEND_CTXT_ERR_MASK@GOTPAGE
Lloh112:
	ldr	x25, [x25, _SEND_CTXT_ERR_MASK@GOTPAGEOFF]
Lloh113:
	adrp	x26, _SEND_CTXT_ERR_CLEAR@GOTPAGE
Lloh114:
	ldr	x26, [x26, _SEND_CTXT_ERR_CLEAR@GOTPAGEOFF]
Lloh115:
	adrp	x27, _SEND_CTXT_CHECK_ENABLE@GOTPAGE
Lloh116:
	ldr	x27, [x27, _SEND_CTXT_CHECK_ENABLE@GOTPAGEOFF]
Lloh117:
	adrp	x28, _SEND_CTXT_CHECK_VL@GOTPAGE
Lloh118:
	ldr	x28, [x28, _SEND_CTXT_CHECK_VL@GOTPAGEOFF]
Lloh119:
	adrp	x21, _SEND_CTXT_CHECK_JOB_KEY@GOTPAGE
Lloh120:
	ldr	x21, [x21, _SEND_CTXT_CHECK_JOB_KEY@GOTPAGEOFF]
Lloh121:
	adrp	x22, _SEND_CTXT_CHECK_PARTITION_KEY@GOTPAGE
Lloh122:
	ldr	x22, [x22, _SEND_CTXT_CHECK_PARTITION_KEY@GOTPAGEOFF]
Lloh123:
	adrp	x23, _SEND_CTXT_CHECK_SLID@GOTPAGE
Lloh124:
	ldr	x23, [x23, _SEND_CTXT_CHECK_SLID@GOTPAGEOFF]
Lloh125:
	adrp	x24, _SEND_CTXT_CHECK_OPCODE@GOTPAGE
Lloh126:
	ldr	x24, [x24, _SEND_CTXT_CHECK_OPCODE@GOTPAGEOFF]
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
Lloh127:
	adrp	x8, _SEND_CTXT_CTRL@GOTPAGE
Lloh128:
	ldr	x8, [x8, _SEND_CTXT_CTRL@GOTPAGEOFF]
Lloh129:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh130:
	adrp	x8, _SEND_CTXT_CREDIT_CTRL@GOTPAGE
Lloh131:
	ldr	x8, [x8, _SEND_CTXT_CREDIT_CTRL@GOTPAGEOFF]
Lloh132:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh133:
	adrp	x8, _SEND_CTXT_CREDIT_RETURN_ADDR@GOTPAGE
Lloh134:
	ldr	x8, [x8, _SEND_CTXT_CREDIT_RETURN_ADDR@GOTPAGEOFF]
Lloh135:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh136:
	adrp	x8, _SEND_CTXT_CREDIT_FORCE@GOTPAGE
Lloh137:
	ldr	x8, [x8, _SEND_CTXT_CREDIT_FORCE@GOTPAGEOFF]
Lloh138:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x25]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #-1
	bl	_write_kctxt_csr
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x28]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	add	w20, w20, #1
	mov	x0, x19
	bl	_chip_send_contexts
	cmp	w20, w0
	b.lt	LBB0_20
LBB0_21:
	mov	x0, x19
	bl	_chip_sdma_engines
	cmp	w0, #1
	b.lt	LBB0_24
; %bb.22:
	mov	w20, #0
Lloh139:
	adrp	x22, _SEND_DMA_ENG_ERR_CLEAR@GOTPAGE
Lloh140:
	ldr	x22, [x22, _SEND_DMA_ENG_ERR_CLEAR@GOTPAGEOFF]
Lloh141:
	adrp	x23, _SEND_DMA_CHECK_ENABLE@GOTPAGE
Lloh142:
	ldr	x23, [x23, _SEND_DMA_CHECK_ENABLE@GOTPAGEOFF]
Lloh143:
	adrp	x24, _SEND_DMA_CHECK_VL@GOTPAGE
Lloh144:
	ldr	x24, [x24, _SEND_DMA_CHECK_VL@GOTPAGEOFF]
Lloh145:
	adrp	x25, _SEND_DMA_CHECK_JOB_KEY@GOTPAGE
Lloh146:
	ldr	x25, [x25, _SEND_DMA_CHECK_JOB_KEY@GOTPAGEOFF]
Lloh147:
	adrp	x26, _SEND_DMA_CHECK_PARTITION_KEY@GOTPAGE
Lloh148:
	ldr	x26, [x26, _SEND_DMA_CHECK_PARTITION_KEY@GOTPAGEOFF]
Lloh149:
	adrp	x27, _SEND_DMA_CHECK_SLID@GOTPAGE
Lloh150:
	ldr	x27, [x27, _SEND_DMA_CHECK_SLID@GOTPAGEOFF]
Lloh151:
	adrp	x28, _SEND_DMA_CHECK_OPCODE@GOTPAGE
Lloh152:
	ldr	x28, [x28, _SEND_DMA_CHECK_OPCODE@GOTPAGEOFF]
Lloh153:
	adrp	x21, _SEND_DMA_MEMORY@GOTPAGE
Lloh154:
	ldr	x21, [x21, _SEND_DMA_MEMORY@GOTPAGEOFF]
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
Lloh155:
	adrp	x8, _SEND_DMA_CTRL@GOTPAGE
Lloh156:
	ldr	x8, [x8, _SEND_DMA_CTRL@GOTPAGEOFF]
Lloh157:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh158:
	adrp	x8, _SEND_DMA_BASE_ADDR@GOTPAGE
Lloh159:
	ldr	x8, [x8, _SEND_DMA_BASE_ADDR@GOTPAGEOFF]
Lloh160:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh161:
	adrp	x8, _SEND_DMA_LEN_GEN@GOTPAGE
Lloh162:
	ldr	x8, [x8, _SEND_DMA_LEN_GEN@GOTPAGEOFF]
Lloh163:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh164:
	adrp	x8, _SEND_DMA_TAIL@GOTPAGE
Lloh165:
	ldr	x8, [x8, _SEND_DMA_TAIL@GOTPAGEOFF]
Lloh166:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh167:
	adrp	x8, _SEND_DMA_HEAD_ADDR@GOTPAGE
Lloh168:
	ldr	x8, [x8, _SEND_DMA_HEAD_ADDR@GOTPAGEOFF]
Lloh169:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh170:
	adrp	x8, _SEND_DMA_PRIORITY_THLD@GOTPAGE
Lloh171:
	ldr	x8, [x8, _SEND_DMA_PRIORITY_THLD@GOTPAGEOFF]
Lloh172:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh173:
	adrp	x8, _SEND_DMA_RELOAD_CNT@GOTPAGE
Lloh174:
	ldr	x8, [x8, _SEND_DMA_RELOAD_CNT@GOTPAGEOFF]
Lloh175:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh176:
	adrp	x8, _SEND_DMA_DESC_CNT@GOTPAGE
Lloh177:
	ldr	x8, [x8, _SEND_DMA_DESC_CNT@GOTPAGEOFF]
Lloh178:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
Lloh179:
	adrp	x8, _SEND_DMA_ENG_ERR_MASK@GOTPAGE
Lloh180:
	ldr	x8, [x8, _SEND_DMA_ENG_ERR_MASK@GOTPAGEOFF]
Lloh181:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #-1
	bl	_write_kctxt_csr
	ldr	w2, [x23]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x24]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x25]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x26]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x27]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x28]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	mov	x3, #0
	bl	_write_kctxt_csr
	add	w20, w20, #1
	mov	x0, x19
	bl	_chip_sdma_engines
	cmp	w20, w0
	b.lt	LBB0_23
LBB0_24:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.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
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGot	Lloh68, Lloh69
	.loh AdrpLdrGot	Lloh70, Lloh71
	.loh AdrpLdrGot	Lloh72, Lloh73
	.loh AdrpLdrGot	Lloh101, Lloh102
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh95, Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh92, Lloh93, Lloh94
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh80, Lloh81, Lloh82
	.loh AdrpLdrGotLdr	Lloh77, Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpLdrGot	Lloh103, Lloh104
	.loh AdrpLdrGotLdr	Lloh108, Lloh109, Lloh110
	.loh AdrpLdrGotLdr	Lloh105, Lloh106, Lloh107
	.loh AdrpLdrGot	Lloh125, Lloh126
	.loh AdrpLdrGot	Lloh123, Lloh124
	.loh AdrpLdrGot	Lloh121, Lloh122
	.loh AdrpLdrGot	Lloh119, Lloh120
	.loh AdrpLdrGot	Lloh117, Lloh118
	.loh AdrpLdrGot	Lloh115, Lloh116
	.loh AdrpLdrGot	Lloh113, Lloh114
	.loh AdrpLdrGot	Lloh111, Lloh112
	.loh AdrpLdrGotLdr	Lloh136, Lloh137, Lloh138
	.loh AdrpLdrGotLdr	Lloh133, Lloh134, Lloh135
	.loh AdrpLdrGotLdr	Lloh130, Lloh131, Lloh132
	.loh AdrpLdrGotLdr	Lloh127, Lloh128, Lloh129
	.loh AdrpLdrGot	Lloh153, Lloh154
	.loh AdrpLdrGot	Lloh151, Lloh152
	.loh AdrpLdrGot	Lloh149, Lloh150
	.loh AdrpLdrGot	Lloh147, Lloh148
	.loh AdrpLdrGot	Lloh145, Lloh146
	.loh AdrpLdrGot	Lloh143, Lloh144
	.loh AdrpLdrGot	Lloh141, Lloh142
	.loh AdrpLdrGot	Lloh139, Lloh140
	.loh AdrpLdrGotLdr	Lloh179, Lloh180, Lloh181
	.loh AdrpLdrGotLdr	Lloh176, Lloh177, Lloh178
	.loh AdrpLdrGotLdr	Lloh173, Lloh174, Lloh175
	.loh AdrpLdrGotLdr	Lloh170, Lloh171, Lloh172
	.loh AdrpLdrGotLdr	Lloh167, Lloh168, Lloh169
	.loh AdrpLdrGotLdr	Lloh164, Lloh165, Lloh166
	.loh AdrpLdrGotLdr	Lloh161, Lloh162, Lloh163
	.loh AdrpLdrGotLdr	Lloh158, Lloh159, Lloh160
	.loh AdrpLdrGotLdr	Lloh155, Lloh156, Lloh157
	.cfi_endproc
                                        ; -- End function
	.comm	_SEND_CTRL,8,3                  ; @SEND_CTRL
	.comm	_SEND_HIGH_PRIORITY_LIMIT,8,3   ; @SEND_HIGH_PRIORITY_LIMIT
	.comm	_SEND_PIO_ERR_MASK,8,3          ; @SEND_PIO_ERR_MASK
	.comm	_SEND_PIO_ERR_CLEAR,8,3         ; @SEND_PIO_ERR_CLEAR
	.comm	_SEND_DMA_ERR_MASK,8,3          ; @SEND_DMA_ERR_MASK
	.comm	_SEND_DMA_ERR_CLEAR,8,3         ; @SEND_DMA_ERR_CLEAR
	.comm	_SEND_EGRESS_ERR_MASK,8,3       ; @SEND_EGRESS_ERR_MASK
	.comm	_SEND_EGRESS_ERR_CLEAR,8,3      ; @SEND_EGRESS_ERR_CLEAR
	.comm	_SEND_BTH_QP,8,3                ; @SEND_BTH_QP
	.comm	_SEND_STATIC_RATE_CONTROL,8,3   ; @SEND_STATIC_RATE_CONTROL
	.comm	_SEND_SC2VLT0,8,3               ; @SEND_SC2VLT0
	.comm	_SEND_SC2VLT1,8,3               ; @SEND_SC2VLT1
	.comm	_SEND_SC2VLT2,8,3               ; @SEND_SC2VLT2
	.comm	_SEND_SC2VLT3,8,3               ; @SEND_SC2VLT3
	.comm	_SEND_LEN_CHECK0,8,3            ; @SEND_LEN_CHECK0
	.comm	_SEND_LEN_CHECK1,8,3            ; @SEND_LEN_CHECK1
	.comm	_SEND_ERR_MASK,8,3              ; @SEND_ERR_MASK
	.comm	_SEND_ERR_CLEAR,8,3             ; @SEND_ERR_CLEAR
	.comm	_VL_ARB_LOW_PRIO_TABLE_SIZE,4,2 ; @VL_ARB_LOW_PRIO_TABLE_SIZE
	.comm	_SEND_LOW_PRIORITY_LIST,8,3     ; @SEND_LOW_PRIORITY_LIST
	.comm	_VL_ARB_HIGH_PRIO_TABLE_SIZE,4,2 ; @VL_ARB_HIGH_PRIO_TABLE_SIZE
	.comm	_SEND_HIGH_PRIORITY_LIST,8,3    ; @SEND_HIGH_PRIORITY_LIST
	.comm	_NUM_CONTEXTS_PER_SET,4,2       ; @NUM_CONTEXTS_PER_SET
	.comm	_SEND_CONTEXT_SET_CTRL,8,3      ; @SEND_CONTEXT_SET_CTRL
	.comm	_TXE_NUM_32_BIT_COUNTER,4,2     ; @TXE_NUM_32_BIT_COUNTER
	.comm	_SEND_COUNTER_ARRAY32,8,3       ; @SEND_COUNTER_ARRAY32
	.comm	_TXE_NUM_64_BIT_COUNTER,4,2     ; @TXE_NUM_64_BIT_COUNTER
	.comm	_SEND_COUNTER_ARRAY64,8,3       ; @SEND_COUNTER_ARRAY64
	.comm	_SEND_CM_CTRL,8,3               ; @SEND_CM_CTRL
	.comm	_SEND_CM_CTRL_RESETCSR,8,3      ; @SEND_CM_CTRL_RESETCSR
	.comm	_SEND_CM_GLOBAL_CREDIT,8,3      ; @SEND_CM_GLOBAL_CREDIT
	.comm	_SEND_CM_GLOBAL_CREDIT_RESETCSR,8,3 ; @SEND_CM_GLOBAL_CREDIT_RESETCSR
	.comm	_SEND_CM_TIMER_CTRL,8,3         ; @SEND_CM_TIMER_CTRL
	.comm	_SEND_CM_LOCAL_AU_TABLE0_TO3,8,3 ; @SEND_CM_LOCAL_AU_TABLE0_TO3
	.comm	_SEND_CM_LOCAL_AU_TABLE4_TO7,8,3 ; @SEND_CM_LOCAL_AU_TABLE4_TO7
	.comm	_SEND_CM_REMOTE_AU_TABLE0_TO3,8,3 ; @SEND_CM_REMOTE_AU_TABLE0_TO3
	.comm	_SEND_CM_REMOTE_AU_TABLE4_TO7,8,3 ; @SEND_CM_REMOTE_AU_TABLE4_TO7
	.comm	_TXE_NUM_DATA_VL,4,2            ; @TXE_NUM_DATA_VL
	.comm	_SEND_CM_CREDIT_VL,8,3          ; @SEND_CM_CREDIT_VL
	.comm	_SEND_CM_CREDIT_VL15,8,3        ; @SEND_CM_CREDIT_VL15
	.comm	_SEND_EGRESS_ERR_INFO,8,3       ; @SEND_EGRESS_ERR_INFO
	.comm	_SEND_CTXT_CTRL,4,2             ; @SEND_CTXT_CTRL
	.comm	_SEND_CTXT_CREDIT_CTRL,4,2      ; @SEND_CTXT_CREDIT_CTRL
	.comm	_SEND_CTXT_CREDIT_RETURN_ADDR,4,2 ; @SEND_CTXT_CREDIT_RETURN_ADDR
	.comm	_SEND_CTXT_CREDIT_FORCE,4,2     ; @SEND_CTXT_CREDIT_FORCE
	.comm	_SEND_CTXT_ERR_MASK,4,2         ; @SEND_CTXT_ERR_MASK
	.comm	_SEND_CTXT_ERR_CLEAR,4,2        ; @SEND_CTXT_ERR_CLEAR
	.comm	_SEND_CTXT_CHECK_ENABLE,4,2     ; @SEND_CTXT_CHECK_ENABLE
	.comm	_SEND_CTXT_CHECK_VL,4,2         ; @SEND_CTXT_CHECK_VL
	.comm	_SEND_CTXT_CHECK_JOB_KEY,4,2    ; @SEND_CTXT_CHECK_JOB_KEY
	.comm	_SEND_CTXT_CHECK_PARTITION_KEY,4,2 ; @SEND_CTXT_CHECK_PARTITION_KEY
	.comm	_SEND_CTXT_CHECK_SLID,4,2       ; @SEND_CTXT_CHECK_SLID
	.comm	_SEND_CTXT_CHECK_OPCODE,4,2     ; @SEND_CTXT_CHECK_OPCODE
	.comm	_SEND_DMA_CTRL,4,2              ; @SEND_DMA_CTRL
	.comm	_SEND_DMA_BASE_ADDR,4,2         ; @SEND_DMA_BASE_ADDR
	.comm	_SEND_DMA_LEN_GEN,4,2           ; @SEND_DMA_LEN_GEN
	.comm	_SEND_DMA_TAIL,4,2              ; @SEND_DMA_TAIL
	.comm	_SEND_DMA_HEAD_ADDR,4,2         ; @SEND_DMA_HEAD_ADDR
	.comm	_SEND_DMA_PRIORITY_THLD,4,2     ; @SEND_DMA_PRIORITY_THLD
	.comm	_SEND_DMA_RELOAD_CNT,4,2        ; @SEND_DMA_RELOAD_CNT
	.comm	_SEND_DMA_DESC_CNT,4,2          ; @SEND_DMA_DESC_CNT
	.comm	_SEND_DMA_ENG_ERR_MASK,4,2      ; @SEND_DMA_ENG_ERR_MASK
	.comm	_SEND_DMA_ENG_ERR_CLEAR,4,2     ; @SEND_DMA_ENG_ERR_CLEAR
	.comm	_SEND_DMA_CHECK_ENABLE,4,2      ; @SEND_DMA_CHECK_ENABLE
	.comm	_SEND_DMA_CHECK_VL,4,2          ; @SEND_DMA_CHECK_VL
	.comm	_SEND_DMA_CHECK_JOB_KEY,4,2     ; @SEND_DMA_CHECK_JOB_KEY
	.comm	_SEND_DMA_CHECK_PARTITION_KEY,4,2 ; @SEND_DMA_CHECK_PARTITION_KEY
	.comm	_SEND_DMA_CHECK_SLID,4,2        ; @SEND_DMA_CHECK_SLID
	.comm	_SEND_DMA_CHECK_OPCODE,4,2      ; @SEND_DMA_CHECK_OPCODE
	.comm	_SEND_DMA_MEMORY,4,2            ; @SEND_DMA_MEMORY
	.no_dead_strip	_reset_txe_csrs
.subsections_via_symbols
