	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qm_irq
_qm_irq:                                ## @qm_irq
	.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	%rsi, %rbx
	movl	%edi, %r14d
	movq	_QM_VF_EQ_INT_SOURCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	16(%rsi), %rdi
	callq	_readl
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qm_irq_handler                 ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_err
	movq	_QM_DOORBELL_CMD_EQ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	(%rbx), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_qm_db
	movq	_IRQ_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_QM_VF_EQ_INT_SOURCE,8,3        ## @QM_VF_EQ_INT_SOURCE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid int source\n"

	.comm	_QM_DOORBELL_CMD_EQ,4,2         ## @QM_DOORBELL_CMD_EQ
	.comm	_IRQ_NONE,4,2                   ## @IRQ_NONE
	.no_dead_strip	_qm_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qm_irq
_qm_irq:                                ; @qm_irq
	.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	x20, x0
	ldr	x8, [x1, #16]
Lloh0:
	adrp	x9, _QM_VF_EQ_INT_SOURCE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _QM_VF_EQ_INT_SOURCE@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qm_irq_handler
LBB0_2:
	ldr	x0, [x19, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_err
Lloh5:
	adrp	x8, _QM_DOORBELL_CMD_EQ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _QM_DOORBELL_CMD_EQ@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	ldr	w3, [x19]
	mov	x0, x19
	mov	w1, #0
	mov	w4, #0
	bl	_qm_db
Lloh8:
	adrp	x8, _IRQ_NONE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IRQ_NONE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_QM_VF_EQ_INT_SOURCE,8,3        ; @QM_VF_EQ_INT_SOURCE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid int source\n"

	.comm	_QM_DOORBELL_CMD_EQ,4,2         ; @QM_DOORBELL_CMD_EQ
	.comm	_IRQ_NONE,4,2                   ; @IRQ_NONE
	.no_dead_strip	_qm_irq
.subsections_via_symbols
