	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_pci_interrupt_handler
_ath10k_pci_interrupt_handler:          ## @ath10k_pci_interrupt_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	%rsi, %rdi
	callq	_ath10k_pci_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_ath10k_pci_has_device_gone
	movq	_IRQ_NONE@GOTPCREL(%rip), %r15
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	%rbx, %rdi
	callq	_ath10k_pci_force_wake
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_ath10k_warn
	jmp	LBB0_6
LBB0_3:
	movq	(%r14), %rax
	movq	_ATH10K_PCI_IRQ_LEGACY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_ath10k_pci_irq_pending
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	movq	%rbx, %rdi
	callq	_ath10k_pci_disable_and_clear_legacy_irq
	movq	%rbx, %rdi
	callq	_ath10k_pci_irq_msi_fw_mask
	movq	%rbx, %rdi
	callq	_napi_schedule
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %r15
LBB0_6:
	movl	(%r15), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to wake device up on irq: %d\n"

	.comm	_ATH10K_PCI_IRQ_LEGACY,8,3      ## @ATH10K_PCI_IRQ_LEGACY
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_ath10k_pci_interrupt_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_pci_interrupt_handler
_ath10k_pci_interrupt_handler:          ; @ath10k_pci_interrupt_handler
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x0, x1
	bl	_ath10k_pci_priv
	mov	x20, x0
	mov	x0, x19
	bl	_ath10k_pci_has_device_gone
	cbnz	x0, LBB0_3
; %bb.1:
	mov	x0, x19
	bl	_ath10k_pci_force_wake
	cbz	w0, LBB0_5
; %bb.2:
	mov	x2, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ath10k_warn
LBB0_3:
Lloh2:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x20]
Lloh4:
	adrp	x9, _ATH10K_PCI_IRQ_LEGACY@GOTPAGE
Lloh5:
	ldr	x9, [x9, _ATH10K_PCI_IRQ_LEGACY@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_ath10k_pci_irq_pending
	cbz	w0, LBB0_3
LBB0_7:
	mov	x0, x19
	bl	_ath10k_pci_disable_and_clear_legacy_irq
	mov	x0, x19
	bl	_ath10k_pci_irq_msi_fw_mask
	mov	x0, x19
	bl	_napi_schedule
Lloh7:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to wake device up on irq: %d\n"

	.comm	_ATH10K_PCI_IRQ_LEGACY,8,3      ; @ATH10K_PCI_IRQ_LEGACY
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_ath10k_pci_interrupt_handler
.subsections_via_symbols
