	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function airo_interrupt
_airo_interrupt:                        ## @airo_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	%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
	movq	%rsi, %rdi
	movq	(%rsi), %r14
	callq	_netif_device_present
	testl	%eax, %eax
	je	LBB0_23
## %bb.1:
	movq	_EVSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IN4500
	xorl	%r15d, %r15d
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_22
## %bb.2:
	movl	%eax, %ebx
	movq	_STATUS_INTS@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	andl	%ebx, %eax
	je	LBB0_22
## %bb.3:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	_EV_AWAKE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edx
	testl	%ebx, %edx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_EVACK@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_OUT4500
	movl	(%r15), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_OUT4500
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_EVINTEN@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%r14, %rdi
	callq	_IN4500
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%r15), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_OUT4500
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	_EV_MIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	testl	%ebx, %edx
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_EVACK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_OUT4500
	movq	%r14, %rdi
	callq	_airo_handle_cisco_mic
LBB0_10:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_EV_LINK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_airo_handle_link
LBB0_12:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_EV_RX@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	callq	_airo_handle_rx
LBB0_14:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_EV_TXCPY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EV_TX@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_EV_TXEXC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%ebx, %eax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_airo_handle_tx
LBB0_16:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_IGNORE_INTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r12), %eax
	notl	%eax
	andl	%eax, %ebx
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	(%r14), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edx
	callq	_airo_print_warn
LBB0_18:                                ##   in Loop: Header=BB0_4 Depth=1
	movq	_EVSTAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_IN4500
	cmpl	$65535, %eax                    ## imm = 0xFFFF
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%eax, %ebx
	andl	(%r12), %eax
	jne	LBB0_4
LBB0_20:
	movl	$1, %r15d
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.21:
	movq	_EVINTEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_OUT4500
LBB0_22:
	movl	%r15d, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_IRQ_RETVAL                     ## TAILCALL
LBB0_23:
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.comm	_EVSTAT,4,2                     ## @EVSTAT
	.comm	_STATUS_INTS,4,2                ## @STATUS_INTS
	.comm	_EV_AWAKE,4,2                   ## @EV_AWAKE
	.comm	_EVACK,4,2                      ## @EVACK
	.comm	_EVINTEN,4,2                    ## @EVINTEN
	.comm	_EV_MIC,4,2                     ## @EV_MIC
	.comm	_EV_LINK,4,2                    ## @EV_LINK
	.comm	_EV_RX,4,2                      ## @EV_RX
	.comm	_EV_TX,4,2                      ## @EV_TX
	.comm	_EV_TXCPY,4,2                   ## @EV_TXCPY
	.comm	_EV_TXEXC,4,2                   ## @EV_TXEXC
	.comm	_IGNORE_INTS,4,2                ## @IGNORE_INTS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Got weird status %x"

	.no_dead_strip	_airo_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function airo_interrupt
_airo_interrupt:                        ; @airo_interrupt
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x0, x1
	ldr	x19, [x1]
	bl	_netif_device_present
	cbz	w0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EVSTAT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVSTAT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IN4500
Lloh3:
	adrp	x24, _STATUS_INTS@GOTPAGE
Lloh4:
	ldr	x24, [x24, _STATUS_INTS@GOTPAGEOFF]
	ldr	w8, [x24]
	and	w8, w8, w0
	mov	w25, #65535
	cmp	w0, w25
	ccmp	w8, #0, #4, ne
	b.ne	LBB0_4
; %bb.2:
	mov	w0, #0
	b	LBB0_23
LBB0_3:
Lloh5:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x21, x0
	mov	w20, #0
Lloh8:
	adrp	x27, _EV_AWAKE@GOTPAGE
Lloh9:
	ldr	x27, [x27, _EV_AWAKE@GOTPAGEOFF]
Lloh10:
	adrp	x28, _EV_MIC@GOTPAGE
Lloh11:
	ldr	x28, [x28, _EV_MIC@GOTPAGEOFF]
Lloh12:
	adrp	x22, _EV_TXEXC@GOTPAGE
Lloh13:
	ldr	x22, [x22, _EV_TXEXC@GOTPAGEOFF]
Lloh14:
	adrp	x26, _IGNORE_INTS@GOTPAGE
Lloh15:
	ldr	x26, [x26, _IGNORE_INTS@GOTPAGEOFF]
Lloh16:
	adrp	x23, _EVACK@GOTPAGE
Lloh17:
	ldr	x23, [x23, _EVACK@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
Lloh18:
	adrp	x8, _EVSTAT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EVSTAT@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_IN4500
	mov	x21, x0
	ldr	w8, [x24]
	and	w8, w8, w0
	cmp	w0, w25
	ccmp	w8, #0, #4, ne
	b.eq	LBB0_20
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w2, [x27]
	tst	w2, w21
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_OUT4500
	ldr	w1, [x23]
	ldr	w2, [x27]
	mov	x0, x19
	bl	_OUT4500
LBB0_8:                                 ;   in Loop: Header=BB0_6 Depth=1
	cbnz	w20, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh21:
	adrp	x25, _EVINTEN@GOTPAGE
Lloh22:
	ldr	x25, [x25, _EVINTEN@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	x0, x19
	bl	_IN4500
	mov	x20, x0
	ldr	w1, [x25]
	mov	w25, #65535
	mov	x0, x19
	mov	w2, #0
	bl	_OUT4500
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w2, [x28]
	tst	w2, w21
	b.eq	LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [x23]
	mov	x0, x19
	bl	_OUT4500
	mov	x0, x19
	bl	_airo_handle_cisco_mic
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh23:
	adrp	x8, _EV_LINK@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EV_LINK@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_airo_handle_link
LBB0_14:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh26:
	adrp	x8, _EV_RX@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EV_RX@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	bl	_airo_handle_rx
LBB0_16:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh29:
	adrp	x8, _EV_TX@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EV_TX@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
Lloh32:
	adrp	x9, _EV_TXCPY@GOTPAGE
Lloh33:
	ldr	x9, [x9, _EV_TXCPY@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x22]
	orr	w8, w8, w9
	tst	w8, w21
	b.eq	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x21
	bl	_airo_handle_tx
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x24]
	ldr	w9, [x26]
	orr	w8, w9, w8
	bics	w2, w21, w8
	b.eq	LBB0_5
; %bb.19:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x19]
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str@PAGE
Lloh36:
	add	x1, x1, l_.str@PAGEOFF
	bl	_airo_print_warn
	b	LBB0_5
LBB0_20:
	cbz	w20, LBB0_22
; %bb.21:
Lloh37:
	adrp	x8, _EVINTEN@GOTPAGE
Lloh38:
	ldr	x8, [x8, _EVINTEN@GOTPAGEOFF]
Lloh39:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_OUT4500
LBB0_22:
	mov	w0, #1
LBB0_23:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_IRQ_RETVAL
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.comm	_EVSTAT,4,2                     ; @EVSTAT
	.comm	_STATUS_INTS,4,2                ; @STATUS_INTS
	.comm	_EV_AWAKE,4,2                   ; @EV_AWAKE
	.comm	_EVACK,4,2                      ; @EVACK
	.comm	_EVINTEN,4,2                    ; @EVINTEN
	.comm	_EV_MIC,4,2                     ; @EV_MIC
	.comm	_EV_LINK,4,2                    ; @EV_LINK
	.comm	_EV_RX,4,2                      ; @EV_RX
	.comm	_EV_TX,4,2                      ; @EV_TX
	.comm	_EV_TXCPY,4,2                   ; @EV_TXCPY
	.comm	_EV_TXEXC,4,2                   ; @EV_TXEXC
	.comm	_IGNORE_INTS,4,2                ; @IGNORE_INTS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Got weird status %x"

	.no_dead_strip	_airo_interrupt
.subsections_via_symbols
