	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_irq_handler             ## -- Begin function mt7603_irq_handler
	.p2align	4, 0x90
_mt7603_irq_handler:                    ## @mt7603_irq_handler
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	_MT_INT_SOURCE_CSR@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_mt76_rr
	movl	%eax, %r14d
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_mt76_wr
	movq	_MT76_STATE_INITIALIZED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	32(%rbx), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	andl	28(%rbx), %r14d
	movq	_MT_INT_MAC_IRQ3@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_8
## %bb.3:
	movl	$3, %edi
	callq	_MT_HW_INT_STATUS
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mt76_rr
	movl	%eax, %r15d
	movl	$3, %edi
	callq	_MT_HW_INT_STATUS
	movq	%rbx, %rdi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_mt76_wr
	movq	_MT_HW_INT3_PRE_TBTT0@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_5
## %bb.4:
	leaq	24(%rbx), %rdi
	callq	_tasklet_schedule
LBB0_5:
	movq	_MT_HW_INT3_TBTT0@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_8
## %bb.6:
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_mt76_csa_finish
LBB0_8:
	movq	_MT_INT_TX_DONE_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%r14d, %esi
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_mt7603_irq_disable
	leaq	8(%rbx), %rdi
	callq	_napi_schedule
LBB0_10:
	xorl	%edi, %edi
	callq	_MT_INT_RX_DONE
	testl	%r14d, %eax
	je	LBB0_12
## %bb.11:
	xorl	%edi, %edi
	callq	_MT_INT_RX_DONE
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mt7603_irq_disable
	movq	(%rbx), %rdi
	callq	_napi_schedule
LBB0_12:
	movl	$1, %edi
	callq	_MT_INT_RX_DONE
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
	testl	%r14d, %eax
	je	LBB0_14
## %bb.13:
	movl	$1, %edi
	callq	_MT_INT_RX_DONE
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_mt7603_irq_disable
	movq	(%rbx), %rdi
	addq	$4, %rdi
	callq	_napi_schedule
	jmp	LBB0_14
LBB0_1:
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
LBB0_14:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MT_INT_SOURCE_CSR,4,2          ## @MT_INT_SOURCE_CSR
	.comm	_MT76_STATE_INITIALIZED,4,2     ## @MT76_STATE_INITIALIZED
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_MT_INT_MAC_IRQ3,4,2            ## @MT_INT_MAC_IRQ3
	.comm	_MT_HW_INT3_PRE_TBTT0,4,2       ## @MT_HW_INT3_PRE_TBTT0
	.comm	_MT_HW_INT3_TBTT0,4,2           ## @MT_HW_INT3_TBTT0
	.comm	_MT_INT_TX_DONE_ALL,4,2         ## @MT_INT_TX_DONE_ALL
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mt7603_irq_handler             ; -- Begin function mt7603_irq_handler
	.p2align	2
_mt7603_irq_handler:                    ; @mt7603_irq_handler
	.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	x19, x1
Lloh0:
	adrp	x21, _MT_INT_SOURCE_CSR@GOTPAGE
Lloh1:
	ldr	x21, [x21, _MT_INT_SOURCE_CSR@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_mt76_rr
	mov	x20, x0
	ldr	w1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_mt76_wr
Lloh2:
	adrp	x8, _MT76_STATE_INITIALIZED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MT76_STATE_INITIALIZED@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	add	x1, x19, #32
	bl	_test_bit
	cbz	w0, LBB0_14
; %bb.1:
	ldr	w8, [x19, #28]
	and	w21, w8, w20
Lloh5:
	adrp	x8, _MT_INT_MAC_IRQ3@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MT_INT_MAC_IRQ3@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tst	w21, w8
	b.eq	LBB0_7
; %bb.2:
	mov	w0, #3
	bl	_MT_HW_INT_STATUS
	mov	x1, x0
	mov	x0, x19
	bl	_mt76_rr
	mov	x20, x0
	mov	w0, #3
	bl	_MT_HW_INT_STATUS
	mov	x1, x0
	mov	x0, x19
	mov	x2, x20
	bl	_mt76_wr
Lloh8:
	adrp	x8, _MT_HW_INT3_PRE_TBTT0@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MT_HW_INT3_PRE_TBTT0@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_4
; %bb.3:
	add	x0, x19, #24
	bl	_tasklet_schedule
LBB0_4:
Lloh11:
	adrp	x8, _MT_HW_INT3_TBTT0@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MT_HW_INT3_TBTT0@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.5:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_mt76_csa_finish
LBB0_7:
Lloh14:
	adrp	x8, _MT_INT_TX_DONE_ALL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MT_INT_TX_DONE_ALL@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	tst	w1, w21
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_mt7603_irq_disable
	add	x0, x19, #8
	bl	_napi_schedule
LBB0_9:
	mov	w0, #0
	bl	_MT_INT_RX_DONE
	tst	w0, w21
	b.eq	LBB0_11
; %bb.10:
	mov	w0, #0
	bl	_MT_INT_RX_DONE
	mov	x1, x0
	mov	x0, x19
	bl	_mt7603_irq_disable
	ldr	x0, [x19]
	bl	_napi_schedule
LBB0_11:
	mov	w0, #1
	bl	_MT_INT_RX_DONE
	tst	w0, w21
	b.eq	LBB0_13
; %bb.12:
	mov	w0, #1
	bl	_MT_INT_RX_DONE
	mov	x1, x0
	mov	x0, x19
	bl	_mt7603_irq_disable
	ldr	x8, [x19]
	add	x0, x8, #4
	bl	_napi_schedule
LBB0_13:
Lloh17:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh19:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_15:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_MT_INT_SOURCE_CSR,4,2          ; @MT_INT_SOURCE_CSR
	.comm	_MT76_STATE_INITIALIZED,4,2     ; @MT76_STATE_INITIALIZED
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_MT_INT_MAC_IRQ3,4,2            ; @MT_INT_MAC_IRQ3
	.comm	_MT_HW_INT3_PRE_TBTT0,4,2       ; @MT_HW_INT3_PRE_TBTT0
	.comm	_MT_HW_INT3_TBTT0,4,2           ; @MT_HW_INT3_TBTT0
	.comm	_MT_INT_TX_DONE_ALL,4,2         ; @MT_INT_TX_DONE_ALL
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
.subsections_via_symbols
