	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_parity
_init_parity:                           ## @init_parity
	.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	_A_SG_CONTEXT_CMD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_t3_read_reg
	movq	_F_CONTEXT_CMD_BUSY@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_38
LBB0_2:
	xorl	%ebx, %ebx
	movq	_F_EGRESS@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_clear_sge_ctxt
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%rbx), %eax
	cmpl	$15, %ebx
	movl	%eax, %ebx
	jb	LBB0_3
LBB0_5:
	testl	%r12d, %r12d
	jne	LBB0_38
## %bb.6:
	movl	$65520, %ebx                    ## imm = 0xFFF0
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_clear_sge_ctxt
	movl	%eax, %r12d
	testl	%eax, %eax
	sete	%al
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	leal	1(%rbx), %ecx
	cmpl	$65535, %ebx                    ## imm = 0xFFFF
	movl	%ecx, %ebx
	jb	LBB0_7
LBB0_9:
	testl	%r12d, %r12d
	jne	LBB0_14
## %bb.10:
	movq	_SGE_QSETS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_14
## %bb.11:
	xorl	%r15d, %r15d
	movq	_F_RESPONSEQ@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	callq	_clear_sge_ctxt
	movl	%eax, %r12d
	testl	%eax, %eax
	sete	%al
	jne	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%r15d
	cmpl	(%r13), %r15d
	jl	LBB0_12
LBB0_14:
	testb	%al, %al
	je	LBB0_38
## %bb.15:
	movq	_A_CIM_IBQ_DBG_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_t3_write_reg
	movq	_M_IBQDBGADDR@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	js	LBB0_38
## %bb.16:
	movl	$-1, %r15d
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	movq	_A_CIM_IBQ_DBG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_IBQDBGWR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_IBQDBGEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	xorl	%edi, %edi
	callq	_V_IBQDBGQID
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_V_IBQDBGADDR
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_t3_write_reg
	movq	_A_CIM_IBQ_DBG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_F_IBQDBGBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$2, %r8d
	movl	$1, %r9d
	callq	_t3_wait_op_done
	testl	%eax, %eax
	jne	LBB0_37
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	_M_IBQDBGADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jl	LBB0_17
## %bb.19:
	testl	%eax, %eax
	js	LBB0_32
## %bb.20:
	movl	$-1, %r15d
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	movq	_A_CIM_IBQ_DBG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_IBQDBGWR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_IBQDBGEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	$1, %edi
	callq	_V_IBQDBGQID
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_V_IBQDBGADDR
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_t3_write_reg
	movq	_A_CIM_IBQ_DBG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_F_IBQDBGBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$2, %r8d
	movl	$1, %r9d
	callq	_t3_wait_op_done
	testl	%eax, %eax
	jne	LBB0_37
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	_M_IBQDBGADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jl	LBB0_21
## %bb.23:
	testl	%eax, %eax
	js	LBB0_32
## %bb.24:
	movl	$-1, %r15d
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	movq	_A_CIM_IBQ_DBG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_IBQDBGWR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_IBQDBGEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	$2, %edi
	callq	_V_IBQDBGQID
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_V_IBQDBGADDR
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_t3_write_reg
	movq	_A_CIM_IBQ_DBG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_F_IBQDBGBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$2, %r8d
	movl	$1, %r9d
	callq	_t3_wait_op_done
	testl	%eax, %eax
	jne	LBB0_37
## %bb.26:                              ##   in Loop: Header=BB0_25 Depth=1
	movq	_M_IBQDBGADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r15d
	jl	LBB0_25
## %bb.27:
	testl	%eax, %eax
	js	LBB0_32
## %bb.28:
	movl	$-1, %r15d
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	incl	%r15d
	movq	_A_CIM_IBQ_DBG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_F_IBQDBGWR@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_F_IBQDBGEN@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movl	$3, %edi
	callq	_V_IBQDBGQID
	movl	%eax, %ebx
	movl	%r15d, %edi
	callq	_V_IBQDBGADDR
	orl	%eax, %ebx
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movl	%ebx, %edx
	callq	_t3_write_reg
	movq	_A_CIM_IBQ_DBG_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_F_IBQDBGBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%ecx, %ecx
	movl	$2, %r8d
	movl	$1, %r9d
	callq	_t3_wait_op_done
	testl	%eax, %eax
	jne	LBB0_37
## %bb.30:                              ##   in Loop: Header=BB0_29 Depth=1
	xorl	%r12d, %r12d
	movq	_M_IBQDBGADDR@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jl	LBB0_29
	jmp	LBB0_38
LBB0_37:
	movl	%eax, %r12d
	jmp	LBB0_38
LBB0_32:
	xorl	%r12d, %r12d
LBB0_38:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_A_SG_CONTEXT_CMD,4,2           ## @A_SG_CONTEXT_CMD
	.comm	_F_CONTEXT_CMD_BUSY,4,2         ## @F_CONTEXT_CMD_BUSY
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_F_EGRESS,4,2                   ## @F_EGRESS
	.comm	_SGE_QSETS,4,2                  ## @SGE_QSETS
	.comm	_F_RESPONSEQ,4,2                ## @F_RESPONSEQ
	.comm	_A_CIM_IBQ_DBG_DATA,4,2         ## @A_CIM_IBQ_DBG_DATA
	.comm	_M_IBQDBGADDR,4,2               ## @M_IBQDBGADDR
	.comm	_A_CIM_IBQ_DBG_CFG,4,2          ## @A_CIM_IBQ_DBG_CFG
	.comm	_F_IBQDBGEN,4,2                 ## @F_IBQDBGEN
	.comm	_F_IBQDBGWR,4,2                 ## @F_IBQDBGWR
	.comm	_F_IBQDBGBUSY,4,2               ## @F_IBQDBGBUSY
	.no_dead_strip	_init_parity
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_parity
_init_parity:                           ; @init_parity
	.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, _A_SG_CONTEXT_CMD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _A_SG_CONTEXT_CMD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_t3_read_reg
Lloh3:
	adrp	x8, _F_CONTEXT_CMD_BUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F_CONTEXT_CMD_BUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _EBUSY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_28
LBB0_2:
	mov	w20, #0
Lloh9:
	adrp	x21, _F_EGRESS@GOTPAGE
Lloh10:
	ldr	x21, [x21, _F_EGRESS@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_clear_sge_ctxt
	cmp	w0, #0
	ccmp	w20, #15, #2, eq
	add	w20, w20, #1
	b.lo	LBB0_3
; %bb.4:
	cbnz	w0, LBB0_28
; %bb.5:
	mov	w20, #65520
	mov	w22, #65535
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x21]
	mov	x0, x19
	mov	x1, x20
	bl	_clear_sge_ctxt
	cmp	w0, #0
	cset	w8, eq
	ccmp	w20, w22, #2, eq
	add	w20, w20, #1
	b.lo	LBB0_6
; %bb.7:
Lloh11:
	adrp	x21, _SGE_QSETS@GOTPAGE
Lloh12:
	ldr	x21, [x21, _SGE_QSETS@GOTPAGEOFF]
	ldr	w9, [x21]
	cmp	w0, #0
	ccmp	w9, #1, #8, eq
	b.lt	LBB0_10
; %bb.8:
	mov	w20, #0
Lloh13:
	adrp	x22, _F_RESPONSEQ@GOTPAGE
Lloh14:
	ldr	x22, [x22, _F_RESPONSEQ@GOTPAGEOFF]
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_clear_sge_ctxt
	add	w20, w20, #1
	cmp	w0, #0
	cset	w8, eq
	ldr	w9, [x21]
	cmp	w0, #0
	ccmp	w20, w9, #0, eq
	b.lt	LBB0_9
LBB0_10:
	cbz	w8, LBB0_28
; %bb.11:
Lloh15:
	adrp	x8, _A_CIM_IBQ_DBG_DATA@GOTPAGE
Lloh16:
	ldr	x8, [x8, _A_CIM_IBQ_DBG_DATA@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_t3_write_reg
Lloh18:
	adrp	x22, _M_IBQDBGADDR@GOTPAGE
Lloh19:
	ldr	x22, [x22, _M_IBQDBGADDR@GOTPAGEOFF]
	ldr	w8, [x22]
	tbnz	w8, #31, LBB0_27
; %bb.12:
	mov	w20, #-1
Lloh20:
	adrp	x23, _A_CIM_IBQ_DBG_CFG@GOTPAGE
Lloh21:
	ldr	x23, [x23, _A_CIM_IBQ_DBG_CFG@GOTPAGEOFF]
Lloh22:
	adrp	x24, _F_IBQDBGEN@GOTPAGE
Lloh23:
	ldr	x24, [x24, _F_IBQDBGEN@GOTPAGEOFF]
Lloh24:
	adrp	x25, _F_IBQDBGWR@GOTPAGE
Lloh25:
	ldr	x25, [x25, _F_IBQDBGWR@GOTPAGEOFF]
Lloh26:
	adrp	x26, _F_IBQDBGBUSY@GOTPAGE
Lloh27:
	ldr	x26, [x26, _F_IBQDBGBUSY@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	ldr	w21, [x23]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w27, w9, w8
	mov	w0, #0
	bl	_V_IBQDBGQID
	orr	w27, w27, w0
	mov	x0, x20
	bl	_V_IBQDBGADDR
	orr	w2, w27, w0
	mov	x0, x19
	mov	x1, x21
	bl	_t3_write_reg
	ldr	w1, [x23]
	ldr	w2, [x26]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #2
	mov	w5, #1
	bl	_t3_wait_op_done
	cbnz	w0, LBB0_28
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_13
; %bb.15:
	tbnz	w8, #31, LBB0_27
; %bb.16:
	mov	w20, #-1
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	ldr	w21, [x23]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w27, w9, w8
	mov	w0, #1
	bl	_V_IBQDBGQID
	orr	w27, w27, w0
	mov	x0, x20
	bl	_V_IBQDBGADDR
	orr	w2, w27, w0
	mov	x0, x19
	mov	x1, x21
	bl	_t3_write_reg
	ldr	w1, [x23]
	ldr	w2, [x26]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #2
	mov	w5, #1
	bl	_t3_wait_op_done
	cbnz	w0, LBB0_28
; %bb.18:                               ;   in Loop: Header=BB0_17 Depth=1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_17
; %bb.19:
	tbnz	w8, #31, LBB0_27
; %bb.20:
	mov	w20, #-1
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	ldr	w21, [x23]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w27, w9, w8
	mov	w0, #2
	bl	_V_IBQDBGQID
	orr	w27, w27, w0
	mov	x0, x20
	bl	_V_IBQDBGADDR
	orr	w2, w27, w0
	mov	x0, x19
	mov	x1, x21
	bl	_t3_write_reg
	ldr	w1, [x23]
	ldr	w2, [x26]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #2
	mov	w5, #1
	bl	_t3_wait_op_done
	cbnz	w0, LBB0_28
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_21
; %bb.23:
	tbnz	w8, #31, LBB0_27
; %bb.24:
	mov	w20, #-1
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	add	w20, w20, #1
	ldr	w21, [x23]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w27, w9, w8
	mov	w0, #3
	bl	_V_IBQDBGQID
	orr	w27, w27, w0
	mov	x0, x20
	bl	_V_IBQDBGADDR
	orr	w2, w27, w0
	mov	x0, x19
	mov	x1, x21
	bl	_t3_write_reg
	ldr	w1, [x23]
	ldr	w2, [x26]
	mov	x0, x19
	mov	w3, #0
	mov	w4, #2
	mov	w5, #1
	bl	_t3_wait_op_done
	cbnz	w0, LBB0_28
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_25
	b	LBB0_28
LBB0_27:
	mov	w0, #0
LBB0_28:
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_A_SG_CONTEXT_CMD,4,2           ; @A_SG_CONTEXT_CMD
	.comm	_F_CONTEXT_CMD_BUSY,4,2         ; @F_CONTEXT_CMD_BUSY
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_F_EGRESS,4,2                   ; @F_EGRESS
	.comm	_SGE_QSETS,4,2                  ; @SGE_QSETS
	.comm	_F_RESPONSEQ,4,2                ; @F_RESPONSEQ
	.comm	_A_CIM_IBQ_DBG_DATA,4,2         ; @A_CIM_IBQ_DBG_DATA
	.comm	_M_IBQDBGADDR,4,2               ; @M_IBQDBGADDR
	.comm	_A_CIM_IBQ_DBG_CFG,4,2          ; @A_CIM_IBQ_DBG_CFG
	.comm	_F_IBQDBGEN,4,2                 ; @F_IBQDBGEN
	.comm	_F_IBQDBGWR,4,2                 ; @F_IBQDBGWR
	.comm	_F_IBQDBGBUSY,4,2               ; @F_IBQDBGBUSY
	.no_dead_strip	_init_parity
.subsections_via_symbols
