	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sdma_7322_intr
_sdma_7322_intr:                        ## @sdma_7322_intr
	.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
	movl	%esi, %r12d
	movq	(%rdi), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_SDma@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	xorl	%esi, %esi
	callq	_INT_MASK_P
	movl	%eax, %r15d
	movq	_SDmaIdle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_INT_MASK_P
	movl	%eax, %ebx
	orl	%r15d, %ebx
	movq	_SDmaProgress@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_INT_MASK_P
	movl	%eax, %r15d
	orl	%ebx, %r15d
	movl	(%r13), %edi
	movl	$1, %esi
	callq	_INT_MASK_P
	movl	%eax, %r13d
	movq	_SDmaIdle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$1, %esi
	callq	_INT_MASK_P
	movl	%eax, %ebx
	orl	%r13d, %ebx
	movl	(%r14), %edi
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	$1, %esi
	callq	_INT_MASK_P
	movl	%eax, %r13d
	orl	%ebx, %r13d
	testl	%r12d, %r15d
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_qib_sdma_intr
LBB0_2:
	leaq	4(%r14), %r15
	testl	%r12d, %r13d
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_qib_sdma_intr
LBB0_4:
	movq	_SDmaCleanupDone@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	xorl	%esi, %esi
	callq	_INT_MASK_PM
	testl	%r12d, %eax
	je	LBB0_6
## %bb.5:
	movq	_qib_sdma_event_e20_hw_started@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_qib_sdma_process_event
LBB0_6:
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_INT_MASK_PM
	testl	%r12d, %eax
	je	LBB0_7
## %bb.8:
	movq	_qib_sdma_event_e20_hw_started@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qib_sdma_process_event         ## TAILCALL
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SDma,4,2                       ## @SDma
	.comm	_SDmaIdle,4,2                   ## @SDmaIdle
	.comm	_SDmaProgress,4,2               ## @SDmaProgress
	.comm	_SDmaCleanupDone,4,2            ## @SDmaCleanupDone
	.comm	_qib_sdma_event_e20_hw_started,4,2 ## @qib_sdma_event_e20_hw_started
	.no_dead_strip	_sdma_7322_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sdma_7322_intr
_sdma_7322_intr:                        ; @sdma_7322_intr
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x1
	ldr	x21, [x0]
	add	x19, x21, #4
Lloh0:
	adrp	x23, _SDma@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SDma@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	w1, #0
	bl	_INT_MASK_P
	mov	x22, x0
Lloh2:
	adrp	x24, _SDmaIdle@GOTPAGE
Lloh3:
	ldr	x24, [x24, _SDmaIdle@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	w1, #0
	bl	_INT_MASK_P
	orr	w22, w0, w22
Lloh4:
	adrp	x25, _SDmaProgress@GOTPAGE
Lloh5:
	ldr	x25, [x25, _SDmaProgress@GOTPAGEOFF]
	ldr	w0, [x25]
	mov	w1, #0
	bl	_INT_MASK_P
	orr	w8, w22, w0
	and	w26, w8, w20
	ldr	w0, [x23]
	mov	w1, #1
	bl	_INT_MASK_P
	mov	x22, x0
	ldr	w0, [x24]
	mov	w1, #1
	bl	_INT_MASK_P
	orr	w22, w0, w22
	ldr	w0, [x25]
	mov	w1, #1
	bl	_INT_MASK_P
	orr	w8, w22, w0
	and	w22, w8, w20
	cbz	w26, LBB0_2
; %bb.1:
	mov	x0, x21
	bl	_qib_sdma_intr
LBB0_2:
	cbz	w22, LBB0_4
; %bb.3:
	mov	x0, x19
	bl	_qib_sdma_intr
LBB0_4:
Lloh6:
	adrp	x23, _SDmaCleanupDone@GOTPAGE
Lloh7:
	ldr	x23, [x23, _SDmaCleanupDone@GOTPAGEOFF]
	ldr	w0, [x23]
	mov	w1, #0
	bl	_INT_MASK_PM
Lloh8:
	adrp	x22, _qib_sdma_event_e20_hw_started@GOTPAGE
Lloh9:
	ldr	x22, [x22, _qib_sdma_event_e20_hw_started@GOTPAGEOFF]
	tst	w0, w20
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x22]
	mov	x0, x21
	bl	_qib_sdma_process_event
LBB0_6:
	ldr	w0, [x23]
	mov	w1, #1
	bl	_INT_MASK_PM
	tst	w0, w20
	b.eq	LBB0_8
; %bb.7:
	ldr	w1, [x22]
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_qib_sdma_process_event
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SDma,4,2                       ; @SDma
	.comm	_SDmaIdle,4,2                   ; @SDmaIdle
	.comm	_SDmaProgress,4,2               ; @SDmaProgress
	.comm	_SDmaCleanupDone,4,2            ; @SDmaCleanupDone
	.comm	_qib_sdma_event_e20_hw_started,4,2 ; @qib_sdma_event_e20_hw_started
	.no_dead_strip	_sdma_7322_intr
.subsections_via_symbols
