	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qm_abnormal_irq
_qm_abnormal_irq:                       ## @qm_abnormal_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	%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	%rsi, %r14
	movq	_qm_hw_error@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	16(%rsi), %r15
	movq	_QM_ABNORMAL_INT_STATUS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	8(%rsi), %rdi
	callq	_readl
	movl	%eax, %r13d
	andl	(%r14), %r13d
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.1:
	leaq	L_.str(%rip), %r12
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rdx
	addq	$16, %rbx
	testq	%rdx, %rdx
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %ecx
	testl	%r13d, %ecx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_dev_err
	jmp	LBB0_4
LBB0_5:
	movq	_QM_ABNORMAL_INT_SOURCE@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	8(%r14), %rsi
	movl	%r13d, %edi
	callq	_writel
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_qm_hw_error,8,3                ## @qm_hw_error
	.comm	_QM_ABNORMAL_INT_STATUS,8,3     ## @QM_ABNORMAL_INT_STATUS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s [error status=0x%x] found\n"

	.comm	_QM_ABNORMAL_INT_SOURCE,8,3     ## @QM_ABNORMAL_INT_SOURCE
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_qm_abnormal_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qm_abnormal_irq
_qm_abnormal_irq:                       ; @qm_abnormal_irq
	.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, x1
Lloh0:
	adrp	x8, _qm_hw_error@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qm_hw_error@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	ldp	x8, x20, [x1, #8]
Lloh3:
	adrp	x9, _QM_ABNORMAL_INT_STATUS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _QM_ABNORMAL_INT_STATUS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	ldr	w8, [x19]
	and	w21, w8, w0
	ldr	x2, [x23, #8]
	cbz	x2, LBB0_5
; %bb.1:
Lloh6:
	adrp	x22, l_.str@PAGE
Lloh7:
	add	x22, x22, l_.str@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x2, [x23, #24]
	add	x23, x23, #16
	cbz	x2, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x23]
	tst	w3, w21
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_dev_err
	b	LBB0_2
LBB0_5:
	ldr	x8, [x19, #8]
Lloh8:
	adrp	x9, _QM_ABNORMAL_INT_SOURCE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _QM_ABNORMAL_INT_SOURCE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x21
	bl	_writel
Lloh11:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_qm_hw_error,8,3                ; @qm_hw_error
	.comm	_QM_ABNORMAL_INT_STATUS,8,3     ; @QM_ABNORMAL_INT_STATUS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s [error status=0x%x] found\n"

	.comm	_QM_ABNORMAL_INT_SOURCE,8,3     ; @QM_ABNORMAL_INT_SOURCE
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_qm_abnormal_irq
.subsections_via_symbols
