	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isacsx_rme_interrupt
_isacsx_rme_interrupt:                  ## @isacsx_rme_interrupt
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	_ISACSX_RSTAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	*(%rdi)
	movq	_ISACSX_RSTAD_VFR@GOTPCREL(%rip), %rcx
	movq	_ISACSX_RSTAD_RDO@GOTPCREL(%rip), %rdx
	movq	_ISACSX_RSTAD_CRC@GOTPCREL(%rip), %rsi
	movb	(%rsi), %bl
	movq	_ISACSX_RSTAD_RAB@GOTPCREL(%rip), %rsi
	orb	(%rcx), %bl
	movb	(%rdx), %cl
	orb	%bl, %cl
	orb	(%rsi), %cl
	andb	%al, %cl
	cmpb	%bl, %cl
	jne	LBB0_1
## %bb.2:
	movq	_ISACSX_RBCLD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	*(%r12)
	andb	$31, %al
	movzbl	%al, %ebx
	movq	_DBG_IRQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_DBG
	testb	%bl, %bl
	movl	$32, %esi
	cmovnel	%ebx, %esi
	movq	%r12, %rdi
	callq	_isac_empty_fifo
	movl	8(%r12), %eax
	leal	-1(%rax), %r14d
	cmpl	$1, %eax
	jg	LBB0_4
## %bb.3:
	movq	_DBG_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%r14d, %edx
	xorl	%eax, %eax
	callq	_DBG
	jmp	LBB0_7
LBB0_1:
	movzbl	%al, %edx
	movq	_DBG_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_DBG
	movq	_ISACSX_CMDRD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ISACSX_CMDRD_RMC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	*16(%r12)
	jmp	LBB0_7
LBB0_4:
	movl	%r14d, %edi
	callq	_dev_alloc_skb
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r15
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_skb_put
	movl	12(%r12), %esi
	movl	%eax, %edi
	movl	%r14d, %edx
	callq	_memcpy
	movq	_DBG_RPACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_DBG_SKB
	movq	_PH_DATA@GOTPCREL(%rip), %rax
	movq	_INDICATION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_D_L1L2
	jmp	LBB0_7
LBB0_5:
	movq	_DBG_WARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_DBG
LBB0_7:
	movl	$0, 8(%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISACSX_RSTAD,4,2               ## @ISACSX_RSTAD
	.comm	_ISACSX_RSTAD_VFR,1,0           ## @ISACSX_RSTAD_VFR
	.comm	_ISACSX_RSTAD_RDO,1,0           ## @ISACSX_RSTAD_RDO
	.comm	_ISACSX_RSTAD_CRC,1,0           ## @ISACSX_RSTAD_CRC
	.comm	_ISACSX_RSTAD_RAB,1,0           ## @ISACSX_RSTAD_RAB
	.comm	_DBG_WARN,4,2                   ## @DBG_WARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RSTAD %#x, dropped"

	.comm	_ISACSX_CMDRD,4,2               ## @ISACSX_CMDRD
	.comm	_ISACSX_CMDRD_RMC,4,2           ## @ISACSX_CMDRD_RMC
	.comm	_ISACSX_RBCLD,4,2               ## @ISACSX_RBCLD
	.comm	_DBG_IRQ,4,2                    ## @DBG_IRQ
L_.str.1:                               ## @.str.1
	.asciz	"RBCLD %#x"

L_.str.2:                               ## @.str.2
	.asciz	"count %d < 1"

L_.str.3:                               ## @.str.3
	.asciz	"no memory, dropping"

	.comm	_DBG_RPACKET,4,2                ## @DBG_RPACKET
	.comm	_PH_DATA,4,2                    ## @PH_DATA
	.comm	_INDICATION,4,2                 ## @INDICATION
	.no_dead_strip	_isacsx_rme_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isacsx_rme_interrupt
_isacsx_rme_interrupt:                  ; @isacsx_rme_interrupt
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _ISACSX_RSTAD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ISACSX_RSTAD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	blr	x8
Lloh3:
	adrp	x8, _ISACSX_RSTAD_VFR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISACSX_RSTAD_VFR@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh5:
	adrp	x9, _ISACSX_RSTAD_RDO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ISACSX_RSTAD_RDO@GOTPAGEOFF]
	ldrb	w9, [x9]
Lloh7:
	adrp	x10, _ISACSX_RSTAD_CRC@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ISACSX_RSTAD_CRC@GOTPAGEOFF]
	ldrb	w10, [x10]
Lloh9:
	adrp	x11, _ISACSX_RSTAD_RAB@GOTPAGE
Lloh10:
	ldr	x11, [x11, _ISACSX_RSTAD_RAB@GOTPAGEOFF]
	ldrb	w11, [x11]
	orr	w8, w10, w8
	orr	w9, w8, w9
	orr	w9, w9, w11
	and	w9, w9, w0
	cmp	w9, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh11:
	adrp	x9, _ISACSX_RBCLD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ISACSX_RBCLD@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
Lloh14:
	adrp	x8, _DBG_IRQ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _DBG_IRQ@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	ands	w9, w0, #0x1f
	str	x9, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w10, #32
	csel	w20, w10, w9, eq
	mov	x0, x8
	bl	_DBG
	mov	x0, x19
	mov	x1, x20
	bl	_isac_empty_fifo
	ldr	w8, [x19, #8]
	subs	w21, w8, #1
	b.gt	LBB0_4
; %bb.2:
Lloh19:
	adrp	x8, _DBG_WARN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _DBG_WARN@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	str	x21, [sp]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_7
LBB0_3:
Lloh24:
	adrp	x8, _DBG_WARN@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DBG_WARN@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	mov	w9, w0
	str	x9, [sp]
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_DBG
	ldr	x8, [x19, #16]
Lloh29:
	adrp	x9, _ISACSX_CMDRD@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ISACSX_CMDRD@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x9]
Lloh32:
	adrp	x9, _ISACSX_CMDRD_RMC@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ISACSX_CMDRD_RMC@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
	b	LBB0_8
LBB0_4:
	mov	x0, x21
	bl	_dev_alloc_skb
	cbz	x0, LBB0_6
; %bb.5:
	mov	x20, x0
	mov	x1, x21
	bl	_skb_put
	ldr	w1, [x19, #12]
	mov	x2, x21
	bl	_memcpy
Lloh35:
	adrp	x8, _DBG_RPACKET@GOTPAGE
Lloh36:
	ldr	x8, [x8, _DBG_RPACKET@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_DBG_SKB
Lloh38:
	adrp	x8, _PH_DATA@GOTPAGE
Lloh39:
	ldr	x8, [x8, _PH_DATA@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	adrp	x9, _INDICATION@GOTPAGE
Lloh42:
	ldr	x9, [x9, _INDICATION@GOTPAGEOFF]
Lloh43:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	mov	x2, x20
	bl	_D_L1L2
	b	LBB0_8
LBB0_6:
Lloh44:
	adrp	x8, _DBG_WARN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _DBG_WARN@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_7:
	bl	_DBG
LBB0_8:
	str	wzr, [x19, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_ISACSX_RSTAD,4,2               ; @ISACSX_RSTAD
	.comm	_ISACSX_RSTAD_VFR,1,0           ; @ISACSX_RSTAD_VFR
	.comm	_ISACSX_RSTAD_RDO,1,0           ; @ISACSX_RSTAD_RDO
	.comm	_ISACSX_RSTAD_CRC,1,0           ; @ISACSX_RSTAD_CRC
	.comm	_ISACSX_RSTAD_RAB,1,0           ; @ISACSX_RSTAD_RAB
	.comm	_DBG_WARN,4,2                   ; @DBG_WARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RSTAD %#x, dropped"

	.comm	_ISACSX_CMDRD,4,2               ; @ISACSX_CMDRD
	.comm	_ISACSX_CMDRD_RMC,4,2           ; @ISACSX_CMDRD_RMC
	.comm	_ISACSX_RBCLD,4,2               ; @ISACSX_RBCLD
	.comm	_DBG_IRQ,4,2                    ; @DBG_IRQ
l_.str.1:                               ; @.str.1
	.asciz	"RBCLD %#x"

l_.str.2:                               ; @.str.2
	.asciz	"count %d < 1"

l_.str.3:                               ; @.str.3
	.asciz	"no memory, dropping"

	.comm	_DBG_RPACKET,4,2                ; @DBG_RPACKET
	.comm	_PH_DATA,4,2                    ; @PH_DATA
	.comm	_INDICATION,4,2                 ; @INDICATION
	.no_dead_strip	_isacsx_rme_interrupt
.subsections_via_symbols
