	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_7322_p_errors
_sdma_7322_p_errors:                    ## @sdma_7322_p_errors
	.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
	movl	%esi, %ebx
	movq	_QIB_E_P_SDMAERRS@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	%rdi, %r14
	movq	_QIB_E_P_SDMAUNEXPDATA@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	16(%r14), %rdi
	movl	(%rdi), %edx
	movl	8(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	callq	_qib_dev_err
LBB0_2:
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	movl	4(%r14), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_12
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_9:
	movq	_qib_sdma_event_e7322_err_halted@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	___qib_sdma_process_event
	jmp	LBB0_10
LBB0_8:
	movq	_QIB_E_P_SDMAHALT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
LBB0_10:
	movq	_qib_sdma_event_e60_hw_halted@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_6:
	movq	_QIB_E_P_SDMAHALT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.7:
	movq	_qib_sdma_event_e50_hw_cleaned@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_4:
	movq	_QIB_E_P_SDMAHALT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.5:
	movq	_qib_sdma_event_e20_hw_started@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	___qib_sdma_process_event
LBB0_12:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_QIB_E_P_SDMAERRS,4,2           ## @QIB_E_P_SDMAERRS
	.comm	_QIB_E_P_SDMAUNEXPDATA,4,2      ## @QIB_E_P_SDMAUNEXPDATA
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IB%u:%u SDmaUnexpData\n"

	.comm	_QIB_E_P_SDMAHALT,4,2           ## @QIB_E_P_SDMAHALT
	.comm	_qib_sdma_event_e20_hw_started,4,2 ## @qib_sdma_event_e20_hw_started
	.comm	_qib_sdma_event_e50_hw_cleaned,4,2 ## @qib_sdma_event_e50_hw_cleaned
	.comm	_qib_sdma_event_e60_hw_halted,4,2 ## @qib_sdma_event_e60_hw_halted
	.comm	_qib_sdma_event_e7322_err_halted,4,2 ## @qib_sdma_event_e7322_err_halted
	.no_dead_strip	_sdma_7322_p_errors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_7322_p_errors
_sdma_7322_p_errors:                    ; @sdma_7322_p_errors
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _QIB_E_P_SDMAERRS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QIB_E_P_SDMAERRS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w20, w8, w1
Lloh3:
	adrp	x8, _QIB_E_P_SDMAUNEXPDATA@GOTPAGE
Lloh4:
	ldr	x8, [x8, _QIB_E_P_SDMAUNEXPDATA@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w20, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x0, [x19, #16]
	ldr	w2, [x0]
	ldr	w3, [x19, #8]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_qib_dev_err
LBB0_2:
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	w8, [x19, #4]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_12
; %bb.3:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
Lloh10:
	adrp	x8, _qib_sdma_event_e7322_err_halted@GOTPAGE
Lloh11:
	ldr	x8, [x8, _qib_sdma_event_e7322_err_halted@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x19
	bl	___qib_sdma_process_event
	b	LBB0_6
LBB0_5:
Lloh13:
	adrp	x8, _QIB_E_P_SDMAHALT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QIB_E_P_SDMAHALT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
LBB0_6:
Lloh16:
	adrp	x8, _qib_sdma_event_e60_hw_halted@GOTPAGE
Lloh17:
	ldr	x8, [x8, _qib_sdma_event_e60_hw_halted@GOTPAGEOFF]
	b	LBB0_11
LBB0_7:
Lloh18:
	adrp	x8, _QIB_E_P_SDMAHALT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QIB_E_P_SDMAHALT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.8:
Lloh21:
	adrp	x8, _qib_sdma_event_e50_hw_cleaned@GOTPAGE
Lloh22:
	ldr	x8, [x8, _qib_sdma_event_e50_hw_cleaned@GOTPAGEOFF]
	b	LBB0_11
LBB0_9:
Lloh23:
	adrp	x8, _QIB_E_P_SDMAHALT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _QIB_E_P_SDMAHALT@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_12
; %bb.10:
Lloh26:
	adrp	x8, _qib_sdma_event_e20_hw_started@GOTPAGE
Lloh27:
	ldr	x8, [x8, _qib_sdma_event_e20_hw_started@GOTPAGEOFF]
LBB0_11:
	ldr	w1, [x8]
	mov	x0, x19
	bl	___qib_sdma_process_event
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
                                        ; -- End function
	.comm	_QIB_E_P_SDMAERRS,4,2           ; @QIB_E_P_SDMAERRS
	.comm	_QIB_E_P_SDMAUNEXPDATA,4,2      ; @QIB_E_P_SDMAUNEXPDATA
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IB%u:%u SDmaUnexpData\n"

	.comm	_QIB_E_P_SDMAHALT,4,2           ; @QIB_E_P_SDMAHALT
	.comm	_qib_sdma_event_e20_hw_started,4,2 ; @qib_sdma_event_e20_hw_started
	.comm	_qib_sdma_event_e50_hw_cleaned,4,2 ; @qib_sdma_event_e50_hw_cleaned
	.comm	_qib_sdma_event_e60_hw_halted,4,2 ; @qib_sdma_event_e60_hw_halted
	.comm	_qib_sdma_event_e7322_err_halted,4,2 ; @qib_sdma_event_e7322_err_halted
	.no_dead_strip	_sdma_7322_p_errors
.subsections_via_symbols
