	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8187se_interrupt
_rtl8187se_interrupt:                   ## @rtl8187se_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	%rsi, %r14
	movq	8(%rsi), %r15
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	8(%r15), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_rtl818x_ioread32
	movl	%eax, %ebx
	xorl	%edi, %edi
	cmpl	$-1, %eax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
LBB0_19:
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	8(%r15), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_rtl818x_iowrite32
	movq	_IMR_TIMEOUT1@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	8(%r15), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_rtl818x_iowrite32
LBB0_3:
	movq	_IMR_TBDOK@GOTPCREL(%rip), %rax
	movq	_IMR_TBDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_rtl8180_handle_tx
LBB0_5:
	movq	_IMR_TVODOK@GOTPCREL(%rip), %rax
	movq	_IMR_TVODER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_rtl8180_handle_tx
LBB0_7:
	movq	_IMR_TVIDOK@GOTPCREL(%rip), %rax
	movq	_IMR_TVIDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_rtl8180_handle_tx
LBB0_9:
	movq	_IMR_TBEDOK@GOTPCREL(%rip), %rax
	movq	_IMR_TBEDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_11
## %bb.10:
	movq	%r14, %rdi
	movl	$2, %esi
	callq	_rtl8180_handle_tx
LBB0_11:
	movq	_IMR_TBKDOK@GOTPCREL(%rip), %rax
	movq	_IMR_TBKDER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	testl	%ebx, %ecx
	je	LBB0_13
## %bb.12:
	movq	%r14, %rdi
	movl	$3, %esi
	callq	_rtl8180_handle_tx
LBB0_13:
	movq	_IMR_ROK@GOTPCREL(%rip), %rax
	movq	_IMR_RER@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_RTL818X_INT_SE_RX_DU@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	orl	%eax, %ecx
	movq	_IMR_RQOSOK@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%ebx, %ecx
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_rtl8180_handle_rx
	movl	(%r12), %eax
LBB0_15:
	testl	%ebx, %eax
	je	LBB0_19
## %bb.16:
	movl	_rtl8187se_interrupt.desc_err(%rip), %eax
	leal	1(%rax), %ecx
	movl	%ecx, _rtl8187se_interrupt.desc_err(%rip)
	cmpl	$3, %eax
	jl	LBB0_19
## %bb.17:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_wiphy_err
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_rtl8187se_interrupt.desc_err,4,2 ## @rtl8187se_interrupt.desc_err
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.comm	_IMR_TIMEOUT1,4,2               ## @IMR_TIMEOUT1
	.comm	_IMR_TBDOK,4,2                  ## @IMR_TBDOK
	.comm	_IMR_TBDER,4,2                  ## @IMR_TBDER
	.comm	_IMR_TVODOK,4,2                 ## @IMR_TVODOK
	.comm	_IMR_TVODER,4,2                 ## @IMR_TVODER
	.comm	_IMR_TVIDOK,4,2                 ## @IMR_TVIDOK
	.comm	_IMR_TVIDER,4,2                 ## @IMR_TVIDER
	.comm	_IMR_TBEDOK,4,2                 ## @IMR_TBEDOK
	.comm	_IMR_TBEDER,4,2                 ## @IMR_TBEDER
	.comm	_IMR_TBKDOK,4,2                 ## @IMR_TBKDOK
	.comm	_IMR_TBKDER,4,2                 ## @IMR_TBKDER
	.comm	_IMR_ROK,4,2                    ## @IMR_ROK
	.comm	_IMR_RER,4,2                    ## @IMR_RER
	.comm	_RTL818X_INT_SE_RX_DU,4,2       ## @RTL818X_INT_SE_RX_DU
	.comm	_IMR_RQOSOK,4,2                 ## @IMR_RQOSOK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No RX DMA Descriptor avail\n"

	.no_dead_strip	_rtl8187se_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8187se_interrupt
_rtl8187se_interrupt:                   ; @rtl8187se_interrupt
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	ldr	x19, [x1, #8]
	mov	x0, x19
	bl	_spin_lock_irqsave
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	mov	x0, x19
	bl	_rtl818x_ioread32
	mov	x21, x0
	cmn	w0, #1
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
Lloh0:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_2:
	ldr	x8, [x19, #8]
	add	x1, x8, #4
	mov	x0, x19
	mov	x2, x21
	bl	_rtl818x_iowrite32
Lloh3:
	adrp	x8, _IMR_TIMEOUT1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IMR_TIMEOUT1@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_4
; %bb.3:
	ldr	x1, [x19, #8]
	mov	x0, x19
	mov	w2, #0
	bl	_rtl818x_iowrite32
LBB0_4:
Lloh6:
	adrp	x8, _IMR_TBDOK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IMR_TBDOK@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _IMR_TBDER@GOTPAGE
Lloh10:
	ldr	x9, [x9, _IMR_TBDER@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_6
; %bb.5:
	mov	x0, x20
	mov	w1, #4
	bl	_rtl8180_handle_tx
LBB0_6:
Lloh12:
	adrp	x8, _IMR_TVODOK@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IMR_TVODOK@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _IMR_TVODER@GOTPAGE
Lloh16:
	ldr	x9, [x9, _IMR_TVODER@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	mov	w1, #0
	bl	_rtl8180_handle_tx
LBB0_8:
Lloh18:
	adrp	x8, _IMR_TVIDOK@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IMR_TVIDOK@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _IMR_TVIDER@GOTPAGE
Lloh22:
	ldr	x9, [x9, _IMR_TVIDER@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_10
; %bb.9:
	mov	x0, x20
	mov	w1, #1
	bl	_rtl8180_handle_tx
LBB0_10:
Lloh24:
	adrp	x8, _IMR_TBEDOK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _IMR_TBEDOK@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _IMR_TBEDER@GOTPAGE
Lloh28:
	ldr	x9, [x9, _IMR_TBEDER@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x20
	mov	w1, #2
	bl	_rtl8180_handle_tx
LBB0_12:
Lloh30:
	adrp	x8, _IMR_TBKDOK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _IMR_TBKDOK@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _IMR_TBKDER@GOTPAGE
Lloh34:
	ldr	x9, [x9, _IMR_TBKDER@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w21
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x20
	mov	w1, #3
	bl	_rtl8180_handle_tx
LBB0_14:
Lloh36:
	adrp	x8, _IMR_ROK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _IMR_ROK@GOTPAGEOFF]
Lloh38:
	adrp	x9, _IMR_RER@GOTPAGE
Lloh39:
	ldr	x9, [x9, _IMR_RER@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
Lloh41:
	ldr	w9, [x9]
	orr	w9, w9, w8
Lloh42:
	adrp	x22, _RTL818X_INT_SE_RX_DU@GOTPAGE
Lloh43:
	ldr	x22, [x22, _RTL818X_INT_SE_RX_DU@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w9, w9, w8
Lloh44:
	adrp	x10, _IMR_RQOSOK@GOTPAGE
Lloh45:
	ldr	x10, [x10, _IMR_RQOSOK@GOTPAGEOFF]
Lloh46:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w21
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x20
	bl	_rtl8180_handle_rx
	ldr	w8, [x22]
LBB0_16:
	tst	w8, w21
	b.eq	LBB0_1
; %bb.17:
	adrp	x8, _rtl8187se_interrupt.desc_err@PAGE
	ldr	w9, [x8, _rtl8187se_interrupt.desc_err@PAGEOFF]
	add	w10, w9, #1
	str	w10, [x8, _rtl8187se_interrupt.desc_err@PAGEOFF]
	cmp	w9, #3
	b.lt	LBB0_1
; %bb.18:
	bl	_net_ratelimit
	cbz	x0, LBB0_1
; %bb.19:
	ldr	w0, [x20]
Lloh47:
	adrp	x1, l_.str@PAGE
Lloh48:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wiphy_err
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh40
	.loh AdrpAdd	Lloh47, Lloh48
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_rtl8187se_interrupt.desc_err,4,2 ; @rtl8187se_interrupt.desc_err
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.comm	_IMR_TIMEOUT1,4,2               ; @IMR_TIMEOUT1
	.comm	_IMR_TBDOK,4,2                  ; @IMR_TBDOK
	.comm	_IMR_TBDER,4,2                  ; @IMR_TBDER
	.comm	_IMR_TVODOK,4,2                 ; @IMR_TVODOK
	.comm	_IMR_TVODER,4,2                 ; @IMR_TVODER
	.comm	_IMR_TVIDOK,4,2                 ; @IMR_TVIDOK
	.comm	_IMR_TVIDER,4,2                 ; @IMR_TVIDER
	.comm	_IMR_TBEDOK,4,2                 ; @IMR_TBEDOK
	.comm	_IMR_TBEDER,4,2                 ; @IMR_TBEDER
	.comm	_IMR_TBKDOK,4,2                 ; @IMR_TBKDOK
	.comm	_IMR_TBKDER,4,2                 ; @IMR_TBKDER
	.comm	_IMR_ROK,4,2                    ; @IMR_ROK
	.comm	_IMR_RER,4,2                    ; @IMR_RER
	.comm	_RTL818X_INT_SE_RX_DU,4,2       ; @RTL818X_INT_SE_RX_DU
	.comm	_IMR_RQOSOK,4,2                 ; @IMR_RQOSOK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No RX DMA Descriptor avail\n"

	.no_dead_strip	_rtl8187se_interrupt
.subsections_via_symbols
