	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rsxx_isr
_rsxx_isr:                              ## @rsxx_isr
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	leaq	12(%rsi), %rdi
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	callq	_spin_lock
	leaq	24(%r13), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	16(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_18
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	48(%r13), %edi
	callq	_unlikely
	testq	%rax, %rax
	jne	LBB0_18
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_ISR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	40(%r13), %rdi
	callq	_ioread32
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, %ebx
	andl	(%r13), %ebx
	je	LBB0_18
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, 4(%r13)
	jle	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	xorl	%r12d, %r12d
	xorl	%r14d, %r14d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=2
	movq	32(%r13), %rsi
	movl	4(%rsi,%r14,8), %edi
	addq	%r12, %rsi
	callq	_queue_work
	movl	%ebx, %r15d
	incl	%r15d
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=2
	incq	%r14
	movslq	4(%r13), %rax
	addq	$8, %r12
	cmpq	%rax, %r14
	jge	LBB0_13
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r14d, %edi
	callq	_CR_INTR_DMA
	testl	%ebx, %eax
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=2
	movl	%r15d, %ebx
	movl	8(%r13), %r15d
	movl	%r14d, %edi
	callq	_CR_INTR_DMA
	testl	%r15d, %eax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=2
	movl	%r14d, %edi
	callq	_CR_INTR_DMA
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_rsxx_disable_ier
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CR_INTR_CREG@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	28(%r13), %edi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_queue_work
	incl	%r15d
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_CR_INTR_EVENT@GOTPCREL(%rip), %r14
	testl	%ebx, (%r14)
	je	LBB0_17
## %bb.16:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	20(%r13), %edi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_queue_work
	movl	(%r14), %esi
	movq	%r13, %rdi
	callq	_rsxx_disable_ier_and_isr
	incl	%r15d
	jmp	LBB0_17
LBB0_3:
	movq	%r13, %rdi
	callq	_CARD_TO_DEV
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edi
	callq	_dev_info
LBB0_18:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock
	testl	%r15d, %r15d
	jne	LBB0_19
## %bb.20:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_19:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISR,8,3                        ## @ISR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ISR = 0xFFFFFFFF, retrying later\n"

	.comm	_CR_INTR_CREG,4,2               ## @CR_INTR_CREG
	.comm	_CR_INTR_EVENT,4,2              ## @CR_INTR_EVENT
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_rsxx_isr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rsxx_isr
_rsxx_isr:                              ; @rsxx_isr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x20, x1
	add	x0, x1, #12
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	bl	_spin_lock
	mov	w24, #0
	add	x21, x20, #24
	add	x22, x20, #16
Lloh0:
	adrp	x27, _CR_INTR_EVENT@GOTPAGE
Lloh1:
	ldr	x27, [x27, _CR_INTR_EVENT@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	cbz	w28, LBB0_18
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldr	w0, [x20, #48]
	bl	_unlikely
	cbnz	x0, LBB0_18
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x20, #40]
Lloh2:
	adrp	x9, _ISR@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ISR@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_ioread32
	cmn	w0, #1
	b.eq	LBB0_17
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20]
	ands	w19, w8, w0
	b.eq	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x20, #4]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x23, #0
	mov	w28, #0
	mov	w26, #4
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	x8, [x20, #32]
	add	x1, x8, x26
	ldr	w0, [x1], #-4
	bl	_queue_work
	add	w24, w24, #1
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	add	x23, x23, #1
	ldrsw	x8, [x20, #4]
	add	x26, x26, #8
	cmp	x23, x8
	b.ge	LBB0_13
LBB0_9:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	bl	_CR_INTR_DMA
	tst	w0, w19
	b.eq	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w25, [x20, #8]
	mov	x0, x23
	bl	_CR_INTR_DMA
	tst	w0, w25
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x23
	bl	_CR_INTR_DMA
	mov	x1, x0
	mov	x0, x20
	bl	_rsxx_disable_ier
	mov	w28, #1
	b	LBB0_7
LBB0_12:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w28, #0
LBB0_13:                                ;   in Loop: Header=BB0_2 Depth=1
Lloh5:
	adrp	x8, _CR_INTR_CREG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CR_INTR_CREG@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20, #28]
	mov	x1, x21
	bl	_queue_work
	add	w24, w24, #1
LBB0_15:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x27]
	tst	w8, w19
	b.eq	LBB0_1
; %bb.16:                               ;   in Loop: Header=BB0_2 Depth=1
	ldr	w0, [x20, #20]
	mov	x1, x22
	bl	_queue_work
	ldr	w1, [x27]
	mov	x0, x20
	bl	_rsxx_disable_ier_and_isr
	add	w24, w24, #1
	b	LBB0_1
LBB0_17:
	mov	x0, x20
	bl	_CARD_TO_DEV
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_info
LBB0_18:
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	bl	_spin_unlock
Lloh10:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh12:
	adrp	x9, _IRQ_NONE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IRQ_NONE@GOTPAGEOFF]
	cmp	w24, #0
	csel	x8, x9, x8, eq
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ISR,8,3                        ; @ISR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ISR = 0xFFFFFFFF, retrying later\n"

	.comm	_CR_INTR_CREG,4,2               ; @CR_INTR_CREG
	.comm	_CR_INTR_EVENT,4,2              ; @CR_INTR_EVENT
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_rsxx_isr
.subsections_via_symbols
