	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qm_irq_register
_qm_irq_register:                       ## @qm_irq_register
	.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	%rdi, %rbx
	movq	24(%rdi), %r14
	movq	_QM_EQ_EVENT_IRQ_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pci_irq_vector
	movq	_qm_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_IRQF_SHARED@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	16(%rbx), %ecx
	movl	%eax, %edi
	movq	%rbx, %r8
	callq	_request_irq
	movl	%eax, %r15d
	testl	%eax, %eax
	jne	LBB0_7
## %bb.1:
	movq	(%rbx), %rax
	movq	_QM_HW_V2@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.2:
	movq	_QM_AEQ_EVENT_IRQ_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pci_irq_vector
	movq	_qm_aeq_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r13), %edx
	movl	16(%rbx), %ecx
	movl	%eax, %edi
	movq	%rbx, %r8
	callq	_request_irq
	movl	%eax, %r12d
	testl	%eax, %eax
	je	LBB0_3
LBB0_6:
	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
	movl	%r12d, %r15d
LBB0_7:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	8(%rbx), %rax
	movq	_QM_HW_PF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.4:
	movq	_QM_ABNORMAL_EVENT_IRQ_VECTOR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_pci_irq_vector
	movq	_qm_abnormal_irq@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	(%r13), %edx
	movl	16(%rbx), %ecx
	movl	%eax, %edi
	movq	%rbx, %r8
	callq	_request_irq
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movl	%eax, %r12d
	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
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_EQ_EVENT_IRQ_VECTOR,4,2     ## @QM_EQ_EVENT_IRQ_VECTOR
	.comm	_qm_irq,4,2                     ## @qm_irq
	.comm	_IRQF_SHARED,4,2                ## @IRQF_SHARED
	.comm	_QM_HW_V2,8,3                   ## @QM_HW_V2
	.comm	_QM_AEQ_EVENT_IRQ_VECTOR,4,2    ## @QM_AEQ_EVENT_IRQ_VECTOR
	.comm	_qm_aeq_irq,4,2                 ## @qm_aeq_irq
	.comm	_QM_HW_PF,8,3                   ## @QM_HW_PF
	.comm	_QM_ABNORMAL_EVENT_IRQ_VECTOR,4,2 ## @QM_ABNORMAL_EVENT_IRQ_VECTOR
	.comm	_qm_abnormal_irq,4,2            ## @qm_abnormal_irq
	.no_dead_strip	_qm_irq_register
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qm_irq_register
_qm_irq_register:                       ; @qm_irq_register
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	ldr	x20, [x0, #24]
Lloh0:
	adrp	x22, _QM_EQ_EVENT_IRQ_VECTOR@GOTPAGE
Lloh1:
	ldr	x22, [x22, _QM_EQ_EVENT_IRQ_VECTOR@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x20
	bl	_pci_irq_vector
Lloh2:
	adrp	x8, _qm_irq@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qm_irq@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x23, _IRQF_SHARED@GOTPAGE
Lloh6:
	ldr	x23, [x23, _IRQF_SHARED@GOTPAGEOFF]
	ldr	w2, [x23]
	ldr	w3, [x19, #16]
	mov	x4, x19
	bl	_request_irq
	mov	x21, x0
	cbnz	w0, LBB0_8
; %bb.1:
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _QM_HW_V2@GOTPAGE
Lloh8:
	ldr	x9, [x9, _QM_HW_V2@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.2:
Lloh10:
	adrp	x24, _QM_AEQ_EVENT_IRQ_VECTOR@GOTPAGE
Lloh11:
	ldr	x24, [x24, _QM_AEQ_EVENT_IRQ_VECTOR@GOTPAGEOFF]
	ldr	w1, [x24]
	mov	x0, x20
	bl	_pci_irq_vector
Lloh12:
	adrp	x8, _qm_aeq_irq@GOTPAGE
Lloh13:
	ldr	x8, [x8, _qm_aeq_irq@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	ldr	w2, [x23]
	ldr	w3, [x19, #16]
	mov	x4, x19
	bl	_request_irq
	mov	x21, x0
	cbz	w0, LBB0_4
LBB0_3:
	ldr	w1, [x22]
	mov	x0, x20
	bl	_pci_irq_vector
	mov	x1, x19
	bl	_free_irq
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _QM_HW_PF@GOTPAGE
Lloh16:
	ldr	x9, [x9, _QM_HW_PF@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.5:
Lloh18:
	adrp	x8, _QM_ABNORMAL_EVENT_IRQ_VECTOR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _QM_ABNORMAL_EVENT_IRQ_VECTOR@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_pci_irq_vector
Lloh21:
	adrp	x8, _qm_abnormal_irq@GOTPAGE
Lloh22:
	ldr	x8, [x8, _qm_abnormal_irq@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	ldr	w2, [x23]
	ldr	w3, [x19, #16]
	mov	x4, x19
	bl	_request_irq
	mov	x21, x0
	cbz	w0, LBB0_8
; %bb.6:
	ldr	w1, [x24]
	mov	x0, x20
	bl	_pci_irq_vector
	mov	x1, x19
	bl	_free_irq
	b	LBB0_3
LBB0_7:
	mov	w21, #0
LBB0_8:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_EQ_EVENT_IRQ_VECTOR,4,2     ; @QM_EQ_EVENT_IRQ_VECTOR
	.comm	_qm_irq,4,2                     ; @qm_irq
	.comm	_IRQF_SHARED,4,2                ; @IRQF_SHARED
	.comm	_QM_HW_V2,8,3                   ; @QM_HW_V2
	.comm	_QM_AEQ_EVENT_IRQ_VECTOR,4,2    ; @QM_AEQ_EVENT_IRQ_VECTOR
	.comm	_qm_aeq_irq,4,2                 ; @qm_aeq_irq
	.comm	_QM_HW_PF,8,3                   ; @QM_HW_PF
	.comm	_QM_ABNORMAL_EVENT_IRQ_VECTOR,4,2 ; @QM_ABNORMAL_EVENT_IRQ_VECTOR
	.comm	_qm_abnormal_irq,4,2            ; @qm_abnormal_irq
	.no_dead_strip	_qm_irq_register
.subsections_via_symbols
