	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qm_log_hw_error
_qm_log_hw_error:                       ## @qm_log_hw_error
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_qm_hw_error@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movq	8(%r14), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	8(%rdi), %r12
	movq	_qm_fifo_overflow@GOTPCREL(%rip), %r13
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%r14), %rdx
	addq	$16, %r14
	testq	%rdx, %rdx
	je	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %ecx
	testl	%ebx, %ecx
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_err
	movq	_QM_DB_TIMEOUT@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_QM_ABNORMAL_INF01@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_readl
	movq	_QM_DB_TIMEOUT_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_QM_DB_TIMEOUT_TYPE_SHIFT@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %ecx
	sarl	%cl, %edx
	movq	_QM_DB_TIMEOUT_VF@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_qm_db_timeout@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	%edx, %rdx
	movl	(%rcx,%rdx,4), %edx
	movq	%r12, %rdi
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_dev_err
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_QM_OF_FIFO_OF@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_QM_ABNORMAL_INF00@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	(%r15), %rdi
	callq	_readl
	movl	%eax, %r12d
	movq	_QM_FIFO_OVERFLOW_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	andl	%r12d, %r15d
	movq	_QM_FIFO_OVERFLOW_TYPE_SHIFT@GOTPCREL(%rip), %rax
	movzbl	(%rax), %ecx
	sarl	%cl, %r15d
	movq	_QM_FIFO_OVERFLOW_VF@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r15d
	jge	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	andl	%r12d, %ebx
	movq	(%r13), %rax
	movslq	%r15d, %rcx
	movl	(%rax,%rcx,4), %edx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %ecx
	xorl	%eax, %eax
	callq	_dev_err
	jmp	LBB0_9
LBB0_11:
	addq	$24, %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
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s [error status=0x%x] found\n"

	.comm	_QM_DB_TIMEOUT,4,2              ## @QM_DB_TIMEOUT
	.comm	_QM_ABNORMAL_INF01,8,3          ## @QM_ABNORMAL_INF01
	.comm	_QM_DB_TIMEOUT_TYPE,4,2         ## @QM_DB_TIMEOUT_TYPE
	.comm	_QM_DB_TIMEOUT_TYPE_SHIFT,4,2   ## @QM_DB_TIMEOUT_TYPE_SHIFT
	.comm	_QM_DB_TIMEOUT_VF,4,2           ## @QM_DB_TIMEOUT_VF
L_.str.1:                               ## @.str.1
	.asciz	"qm %s doorbell timeout in function %u\n"

	.comm	_qm_db_timeout,8,3              ## @qm_db_timeout
	.comm	_QM_OF_FIFO_OF,4,2              ## @QM_OF_FIFO_OF
	.comm	_QM_ABNORMAL_INF00,8,3          ## @QM_ABNORMAL_INF00
	.comm	_QM_FIFO_OVERFLOW_TYPE,4,2      ## @QM_FIFO_OVERFLOW_TYPE
	.comm	_QM_FIFO_OVERFLOW_TYPE_SHIFT,4,2 ## @QM_FIFO_OVERFLOW_TYPE_SHIFT
	.comm	_QM_FIFO_OVERFLOW_VF,4,2        ## @QM_FIFO_OVERFLOW_VF
	.comm	_qm_fifo_overflow,8,3           ## @qm_fifo_overflow
L_.str.2:                               ## @.str.2
	.asciz	"qm %s fifo overflow in function %u\n"

L_.str.3:                               ## @.str.3
	.asciz	"unknown error type\n"

	.no_dead_strip	_qm_log_hw_error
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qm_log_hw_error
_qm_log_hw_error:                       ; @qm_log_hw_error
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _qm_hw_error@GOTPAGE
Lloh1:
	ldr	x8, [x8, _qm_hw_error@GOTPAGEOFF]
Lloh2:
	ldr	x27, [x8]
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_11
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	ldr	x21, [x0, #8]
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
Lloh5:
	adrp	x23, _QM_OF_FIFO_OF@GOTPAGE
Lloh6:
	ldr	x23, [x23, _QM_OF_FIFO_OF@GOTPAGEOFF]
Lloh7:
	adrp	x24, _qm_fifo_overflow@GOTPAGE
Lloh8:
	ldr	x24, [x24, _qm_fifo_overflow@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_dev_err
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x27, #24]
	add	x27, x27, #16
	cbz	x8, LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x27]
	tst	w9, w19
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	stp	x8, x9, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_dev_err
Lloh11:
	adrp	x8, _QM_DB_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _QM_DB_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	tst	w8, w19
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
Lloh14:
	adrp	x9, _QM_ABNORMAL_INF01@GOTPAGE
Lloh15:
	ldr	x9, [x9, _QM_ABNORMAL_INF01@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
Lloh17:
	adrp	x8, _QM_DB_TIMEOUT_TYPE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _QM_DB_TIMEOUT_TYPE@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh20:
	adrp	x9, _QM_DB_TIMEOUT_TYPE_SHIFT@GOTPAGE
Lloh21:
	ldr	x9, [x9, _QM_DB_TIMEOUT_TYPE_SHIFT@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	asr	w8, w8, w9
Lloh23:
	adrp	x9, _QM_DB_TIMEOUT_VF@GOTPAGE
Lloh24:
	ldr	x9, [x9, _QM_DB_TIMEOUT_VF@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	and	w9, w9, w0
Lloh26:
	adrp	x10, _qm_db_timeout@GOTPAGE
Lloh27:
	ldr	x10, [x10, _qm_db_timeout@GOTPAGEOFF]
Lloh28:
	ldr	x10, [x10]
	ldr	w8, [x10, w8, sxtw #2]
	stp	x8, x9, [sp]
	mov	x0, x21
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_dev_err
LBB0_8:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23]
	tst	w8, w19
	b.eq	LBB0_4
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x20]
Lloh31:
	adrp	x9, _QM_ABNORMAL_INF00@GOTPAGE
Lloh32:
	ldr	x9, [x9, _QM_ABNORMAL_INF00@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
	mov	x26, x0
Lloh34:
	adrp	x8, _QM_FIFO_OVERFLOW_TYPE@GOTPAGE
Lloh35:
	ldr	x8, [x8, _QM_FIFO_OVERFLOW_TYPE@GOTPAGEOFF]
Lloh36:
	ldr	w8, [x8]
	and	w8, w8, w0
Lloh37:
	adrp	x9, _QM_FIFO_OVERFLOW_TYPE_SHIFT@GOTPAGE
Lloh38:
	ldr	x9, [x9, _QM_FIFO_OVERFLOW_TYPE_SHIFT@GOTPAGEOFF]
Lloh39:
	ldr	w9, [x9]
	asr	w25, w8, w9
Lloh40:
	adrp	x8, _QM_FIFO_OVERFLOW_VF@GOTPAGE
Lloh41:
	ldr	x8, [x8, _QM_FIFO_OVERFLOW_VF@GOTPAGEOFF]
Lloh42:
	ldr	w28, [x8]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w25, w0
	b.ge	LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	and	w8, w28, w26
	ldr	x9, [x24]
	ldr	w9, [x9, w25, sxtw #2]
	stp	x9, x8, [sp]
	mov	x0, x21
Lloh43:
	adrp	x1, l_.str.2@PAGE
Lloh44:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_11:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh43, Lloh44
	.cfi_endproc
                                        ; -- End function
	.comm	_qm_hw_error,8,3                ; @qm_hw_error
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s [error status=0x%x] found\n"

	.comm	_QM_DB_TIMEOUT,4,2              ; @QM_DB_TIMEOUT
	.comm	_QM_ABNORMAL_INF01,8,3          ; @QM_ABNORMAL_INF01
	.comm	_QM_DB_TIMEOUT_TYPE,4,2         ; @QM_DB_TIMEOUT_TYPE
	.comm	_QM_DB_TIMEOUT_TYPE_SHIFT,4,2   ; @QM_DB_TIMEOUT_TYPE_SHIFT
	.comm	_QM_DB_TIMEOUT_VF,4,2           ; @QM_DB_TIMEOUT_VF
l_.str.1:                               ; @.str.1
	.asciz	"qm %s doorbell timeout in function %u\n"

	.comm	_qm_db_timeout,8,3              ; @qm_db_timeout
	.comm	_QM_OF_FIFO_OF,4,2              ; @QM_OF_FIFO_OF
	.comm	_QM_ABNORMAL_INF00,8,3          ; @QM_ABNORMAL_INF00
	.comm	_QM_FIFO_OVERFLOW_TYPE,4,2      ; @QM_FIFO_OVERFLOW_TYPE
	.comm	_QM_FIFO_OVERFLOW_TYPE_SHIFT,4,2 ; @QM_FIFO_OVERFLOW_TYPE_SHIFT
	.comm	_QM_FIFO_OVERFLOW_VF,4,2        ; @QM_FIFO_OVERFLOW_VF
	.comm	_qm_fifo_overflow,8,3           ; @qm_fifo_overflow
l_.str.2:                               ; @.str.2
	.asciz	"qm %s fifo overflow in function %u\n"

l_.str.3:                               ; @.str.3
	.asciz	"unknown error type\n"

	.no_dead_strip	_qm_log_hw_error
.subsections_via_symbols
