	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alx_intr_msix_misc
_alx_intr_msix_misc:                    ## @alx_intr_msix_misc
	.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, %r15
	leaq	4(%rsi), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_alx_mask_msix
	movq	_ALX_ISR@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_alx_read_mem32
	movl	%eax, %ebx
	movq	_ALX_ISR_ALL_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	(%r15), %ebx
	andl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_alx_intr_handle_misc
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r12), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_alx_write_mem32
	movq	%r14, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_alx_mask_msix
LBB0_2:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ALX_ISR,4,2                    ## @ALX_ISR
	.comm	_ALX_ISR_ALL_QUEUES,4,2         ## @ALX_ISR_ALL_QUEUES
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_alx_intr_msix_misc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alx_intr_msix_misc
_alx_intr_msix_misc:                    ; @alx_intr_msix_misc
	.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	x21, x1
	add	x19, x1, #4
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	bl	_alx_mask_msix
Lloh0:
	adrp	x22, _ALX_ISR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _ALX_ISR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_alx_read_mem32
	ldr	w8, [x21]
Lloh2:
	adrp	x9, _ALX_ISR_ALL_QUEUES@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ALX_ISR_ALL_QUEUES@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w8, w0
	bic	w20, w8, w9
	mov	x0, x21
	mov	x1, x20
	bl	_alx_intr_handle_misc
	cbnz	x0, LBB0_2
; %bb.1:
	ldr	w1, [x22]
	mov	x0, x19
	mov	x2, x20
	bl	_alx_write_mem32
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	bl	_alx_mask_msix
LBB0_2:
Lloh5:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh7:
	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
	.cfi_endproc
                                        ; -- End function
	.comm	_ALX_ISR,4,2                    ; @ALX_ISR
	.comm	_ALX_ISR_ALL_QUEUES,4,2         ; @ALX_ISR_ALL_QUEUES
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_alx_intr_msix_misc
.subsections_via_symbols
