	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qm_irq_unregister
_qm_irq_unregister:                     ## @qm_irq_unregister
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r14
	movq	_QM_EQ_EVENT_IRQ_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pci_irq_vector
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	(%rbx), %rax
	movq	_QM_HW_V2@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_QM_AEQ_EVENT_IRQ_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pci_irq_vector
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_free_irq
	movq	8(%rbx), %rax
	movq	_QM_HW_PF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.3:
	movq	_QM_ABNORMAL_EVENT_IRQ_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pci_irq_vector
	movl	%eax, %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free_irq                       ## TAILCALL
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_EQ_EVENT_IRQ_VECTOR,4,2     ## @QM_EQ_EVENT_IRQ_VECTOR
	.comm	_QM_HW_V2,8,3                   ## @QM_HW_V2
	.comm	_QM_AEQ_EVENT_IRQ_VECTOR,4,2    ## @QM_AEQ_EVENT_IRQ_VECTOR
	.comm	_QM_HW_PF,8,3                   ## @QM_HW_PF
	.comm	_QM_ABNORMAL_EVENT_IRQ_VECTOR,4,2 ## @QM_ABNORMAL_EVENT_IRQ_VECTOR
	.no_dead_strip	_qm_irq_unregister
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qm_irq_unregister
_qm_irq_unregister:                     ; @qm_irq_unregister
	.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, x0
	ldr	x20, [x0, #16]
Lloh0:
	adrp	x8, _QM_EQ_EVENT_IRQ_VECTOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QM_EQ_EVENT_IRQ_VECTOR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pci_irq_vector
	mov	x1, x19
	bl	_free_irq
	ldr	x8, [x19]
Lloh3:
	adrp	x9, _QM_HW_V2@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QM_HW_V2@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
Lloh6:
	adrp	x8, _QM_AEQ_EVENT_IRQ_VECTOR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _QM_AEQ_EVENT_IRQ_VECTOR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pci_irq_vector
	mov	x1, x19
	bl	_free_irq
	ldr	x8, [x19, #8]
Lloh9:
	adrp	x9, _QM_HW_PF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _QM_HW_PF@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
Lloh12:
	adrp	x8, _QM_ABNORMAL_EVENT_IRQ_VECTOR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _QM_ABNORMAL_EVENT_IRQ_VECTOR@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pci_irq_vector
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free_irq
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_EQ_EVENT_IRQ_VECTOR,4,2     ; @QM_EQ_EVENT_IRQ_VECTOR
	.comm	_QM_HW_V2,8,3                   ; @QM_HW_V2
	.comm	_QM_AEQ_EVENT_IRQ_VECTOR,4,2    ; @QM_AEQ_EVENT_IRQ_VECTOR
	.comm	_QM_HW_PF,8,3                   ; @QM_HW_PF
	.comm	_QM_ABNORMAL_EVENT_IRQ_VECTOR,4,2 ; @QM_ABNORMAL_EVENT_IRQ_VECTOR
	.no_dead_strip	_qm_irq_unregister
.subsections_via_symbols
