	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfx_v8_0_parse_sq_irq
_gfx_v8_0_parse_sq_irq:                 ## @gfx_v8_0_parse_sq_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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SQ_INTERRUPT_WORD_CMN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_ENCODING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r14d
	movl	(%rbx), %esi
	movq	_SE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %ebx
	leal	-1(%r14), %eax
	cmpl	$2, %eax
	jae	LBB0_1
## %bb.5:
	movl	%ebx, -92(%rbp)                 ## 4-byte Spill
	movq	_SQ_INTERRUPT_WORD_WAVE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_CU_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %esi
	movq	_SH_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r12d
	xorl	%eax, %eax
	callq	_in_task
	testl	%eax, %eax
	movl	%r12d, -84(%rbp)                ## 4-byte Spill
	je	LBB0_6
## %bb.7:
	movq	%r13, %rdi
	callq	_mutex_lock
	movq	%r13, %rdi
	movl	-92(%rbp), %esi                 ## 4-byte Reload
	movl	%r12d, %edx
	movl	-88(%rbp), %ecx                 ## 4-byte Reload
	callq	_gfx_v8_0_select_se_sh
	movq	_mmSQ_EDC_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_RREG32
	movq	_SQ_EDC_INFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_SOURCE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	callq	_REG_GET_FIELD
	movl	%eax, -104(%rbp)                ## 4-byte Spill
	movq	%r13, %rdi
	movl	$-1, %esi
	movl	$-1, %edx
	movl	$-1, %ecx
	callq	_gfx_v8_0_select_se_sh
	movq	%r13, %rdi
	callq	_mutex_unlock
	cmpl	$1, %r14d
	jne	LBB0_10
LBB0_9:
	movups	L_.str.1(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	movb	$0, -64(%rbp)
	jmp	LBB0_11
LBB0_1:
	testl	%r14d, %r14d
	jne	LBB0_16
## %bb.2:
	movq	_SQ_INTERRUPT_WORD_AUTO@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_IMMED_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r12d
	movl	(%r13), %esi
	movq	_HOST_REG_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, -92(%rbp)                 ## 4-byte Spill
	movl	(%r13), %esi
	movq	_HOST_CMD_OVERFLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movl	(%r13), %esi
	movq	_CMD_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movl	(%r13), %esi
	movq	_REG_TIMESTAMP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movl	(%r13), %esi
	movq	_THREAD_TRACE_BUF_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
                                        ## kill: def $eax killed $eax def $rax
	movq	%rax, -112(%rbp)                ## 8-byte Spill
	movl	(%r13), %esi
	movq	_WLT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r14d
	movl	(%r13), %esi
	movq	_THREAD_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%ebx, %esi
	movl	%eax, %ebx
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %edx
	movl	-92(%rbp), %ecx                 ## 4-byte Reload
	movl	-88(%rbp), %r8d                 ## 4-byte Reload
	movl	-84(%rbp), %r9d                 ## 4-byte Reload
	xorl	%eax, %eax
	pushq	%rbx
	pushq	%r14
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-104(%rbp)                      ## 8-byte Folded Reload
	callq	_DRM_INFO
	jmp	LBB0_3
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.17:
	leaq	L_.str.7(%rip), %rdi
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DRM_ERROR                      ## TAILCALL
LBB0_6:
	movl	$-1, -104(%rbp)                 ## 4-byte Folded Spill
	cmpl	$1, %r14d
	je	LBB0_9
LBB0_10:
	movabsq	$32210684681199683, %rax        ## imm = 0x726F7272652043
	movq	%rax, -74(%rbp)
	movabsq	$2324775797078049861, %rax      ## imm = 0x204343452F434445
	movq	%rax, -80(%rbp)
LBB0_11:
	movq	_SQ_INTERRUPT_WORD_WAVE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	_SIMD_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r14d
	movl	(%rbx), %esi
	movq	_WAVE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r13d
	movl	(%rbx), %esi
	movq	_VM_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	movl	%eax, %r12d
	movl	(%rbx), %esi
	movq	_PRIV@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r15d, %edi
	callq	_REG_GET_FIELD
	testl	%eax, %eax
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rbx
	cmoveq	%rax, %rbx
	movl	-104(%rbp), %ecx                ## 4-byte Reload
	cmpl	$-1, %ecx
	je	LBB0_12
## %bb.13:
	movq	_sq_edc_source_names@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%ecx, %rcx
	movq	(%rax,%rcx,8), %r10
	jmp	LBB0_14
LBB0_12:
	leaq	L_.str.6(%rip), %r10
LBB0_14:
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	leaq	L_.str.3(%rip), %rdi
	leaq	-80(%rbp), %rsi
	movl	-92(%rbp), %edx                 ## 4-byte Reload
	movl	-88(%rbp), %r8d                 ## 4-byte Reload
	movl	%r14d, %r9d
	xorl	%eax, %eax
	pushq	%r10
	pushq	%rbx
	pushq	%r12
	pushq	%r13
	callq	_DRM_INFO
LBB0_3:
	addq	$32, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_15
## %bb.4:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SQ_INTERRUPT_WORD_CMN,4,2      ## @SQ_INTERRUPT_WORD_CMN
	.comm	_ENCODING,4,2                   ## @ENCODING
	.comm	_SE_ID,4,2                      ## @SE_ID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SQ general purpose intr detected:se_id %d, immed_overflow %d, host_reg_overflow %d,host_cmd_overflow %d, cmd_timestamp %d,reg_timestamp %d, thread_trace_buff_full %d,wlt %d, thread_trace %d.\n"

	.comm	_SQ_INTERRUPT_WORD_AUTO,4,2     ## @SQ_INTERRUPT_WORD_AUTO
	.comm	_IMMED_OVERFLOW,4,2             ## @IMMED_OVERFLOW
	.comm	_HOST_REG_OVERFLOW,4,2          ## @HOST_REG_OVERFLOW
	.comm	_HOST_CMD_OVERFLOW,4,2          ## @HOST_CMD_OVERFLOW
	.comm	_CMD_TIMESTAMP,4,2              ## @CMD_TIMESTAMP
	.comm	_REG_TIMESTAMP,4,2              ## @REG_TIMESTAMP
	.comm	_THREAD_TRACE_BUF_FULL,4,2      ## @THREAD_TRACE_BUF_FULL
	.comm	_WLT,4,2                        ## @WLT
	.comm	_THREAD_TRACE,4,2               ## @THREAD_TRACE
	.comm	_SQ_INTERRUPT_WORD_WAVE,4,2     ## @SQ_INTERRUPT_WORD_WAVE
	.comm	_CU_ID,4,2                      ## @CU_ID
	.comm	_SH_ID,4,2                      ## @SH_ID
	.comm	_mmSQ_EDC_INFO,4,2              ## @mmSQ_EDC_INFO
	.comm	_SQ_EDC_INFO,4,2                ## @SQ_EDC_INFO
	.comm	_SOURCE,4,2                     ## @SOURCE
L_.str.1:                               ## @.str.1
	.asciz	"instruction intr"

L_.str.2:                               ## @.str.2
	.asciz	"EDC/ECC error"

L_.str.3:                               ## @.str.3
	.asciz	"SQ %s detected: se_id %d, sh_id %d, cu_id %d, simd_id %d, wave_id %d, vm_id %d trap %s, sq_ed_info.source %s.\n"

	.comm	_SIMD_ID,4,2                    ## @SIMD_ID
	.comm	_WAVE_ID,4,2                    ## @WAVE_ID
	.comm	_VM_ID,4,2                      ## @VM_ID
	.comm	_PRIV,4,2                       ## @PRIV
L_.str.4:                               ## @.str.4
	.asciz	"true"

L_.str.5:                               ## @.str.5
	.asciz	"false"

	.comm	_sq_edc_source_names,8,3        ## @sq_edc_source_names
L_.str.6:                               ## @.str.6
	.asciz	"unavailable"

L_.str.7:                               ## @.str.7
	.asciz	"SQ invalid encoding type\n."

	.no_dead_strip	_gfx_v8_0_parse_sq_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfx_v8_0_parse_sq_irq
_gfx_v8_0_parse_sq_irq:                 ; @gfx_v8_0_parse_sq_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #208
	.cfi_def_cfa_offset 208
	stp	x28, x27, [sp, #112]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #128]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #144]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #160]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #176]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #192]            ; 16-byte Folded Spill
	add	x29, sp, #192
	.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
	mov	x20, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x19, _SQ_INTERRUPT_WORD_CMN@GOTPAGE
Lloh4:
	ldr	x19, [x19, _SQ_INTERRUPT_WORD_CMN@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh5:
	adrp	x8, _ENCODING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENCODING@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x23, x0
	ldr	w1, [x19]
Lloh8:
	adrp	x8, _SE_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _SE_ID@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x19, x0
	sub	w8, w23, #1
	cmp	w8, #2
	b.hs	LBB0_4
; %bb.1:
Lloh11:
	adrp	x27, _SQ_INTERRUPT_WORD_WAVE@GOTPAGE
Lloh12:
	ldr	x27, [x27, _SQ_INTERRUPT_WORD_WAVE@GOTPAGEOFF]
	ldr	w1, [x27]
Lloh13:
	adrp	x8, _CU_ID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CU_ID@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x21, x0
	ldr	w1, [x27]
Lloh16:
	adrp	x8, _SH_ID@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SH_ID@GOTPAGEOFF]
Lloh18:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x22, x0
	bl	_in_task
	cbz	w0, LBB0_8
; %bb.2:
	mov	x0, x24
	bl	_mutex_lock
	mov	x0, x24
	mov	x1, x19
	mov	x2, x22
	mov	x3, x21
	bl	_gfx_v8_0_select_se_sh
Lloh19:
	adrp	x8, _mmSQ_EDC_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _mmSQ_EDC_INFO@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	bl	_RREG32
Lloh22:
	adrp	x8, _SQ_EDC_INFO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SQ_EDC_INFO@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
Lloh25:
	adrp	x8, _SOURCE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SOURCE@GOTPAGEOFF]
Lloh27:
	ldr	w2, [x8]
	bl	_REG_GET_FIELD
	mov	x25, x0
	mov	x0, x24
	mov	w1, #-1
	mov	w2, #-1
	mov	w3, #-1
	bl	_gfx_v8_0_select_se_sh
	mov	x0, x24
	bl	_mutex_unlock
	cmp	w23, #1
	b.ne	LBB0_9
LBB0_3:
	strb	wzr, [sp, #96]
Lloh28:
	adrp	x8, l_.str.1@PAGE
Lloh29:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh30:
	ldr	q0, [x8]
	str	q0, [sp, #80]
	b	LBB0_10
LBB0_4:
	cbnz	w23, LBB0_6
; %bb.5:
Lloh31:
	adrp	x28, _SQ_INTERRUPT_WORD_AUTO@GOTPAGE
Lloh32:
	ldr	x28, [x28, _SQ_INTERRUPT_WORD_AUTO@GOTPAGEOFF]
	ldr	w1, [x28]
Lloh33:
	adrp	x8, _IMMED_OVERFLOW@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IMMED_OVERFLOW@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x21, x0
	ldr	w1, [x28]
Lloh36:
	adrp	x8, _HOST_REG_OVERFLOW@GOTPAGE
Lloh37:
	ldr	x8, [x8, _HOST_REG_OVERFLOW@GOTPAGEOFF]
Lloh38:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x22, x0
	ldr	w1, [x28]
Lloh39:
	adrp	x8, _HOST_CMD_OVERFLOW@GOTPAGE
Lloh40:
	ldr	x8, [x8, _HOST_CMD_OVERFLOW@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x23, x0
	ldr	w1, [x28]
Lloh42:
	adrp	x8, _CMD_TIMESTAMP@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CMD_TIMESTAMP@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x24, x0
	ldr	w1, [x28]
Lloh45:
	adrp	x8, _REG_TIMESTAMP@GOTPAGE
Lloh46:
	ldr	x8, [x8, _REG_TIMESTAMP@GOTPAGEOFF]
Lloh47:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x25, x0
	ldr	w1, [x28]
Lloh48:
	adrp	x8, _THREAD_TRACE_BUF_FULL@GOTPAGE
Lloh49:
	ldr	x8, [x8, _THREAD_TRACE_BUF_FULL@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x26, x0
	ldr	w1, [x28]
Lloh51:
	adrp	x8, _WLT@GOTPAGE
Lloh52:
	ldr	x8, [x8, _WLT@GOTPAGEOFF]
Lloh53:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x27, x0
	ldr	w1, [x28]
Lloh54:
	adrp	x8, _THREAD_TRACE@GOTPAGE
Lloh55:
	ldr	x8, [x8, _THREAD_TRACE@GOTPAGEOFF]
Lloh56:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x27, x0, [sp, #56]
	stp	x25, x26, [sp, #40]
	stp	x23, x24, [sp, #24]
	stp	x21, x22, [sp, #8]
                                        ; kill: def $w19 killed $w19 killed $x19 def $x19
Lloh57:
	adrp	x0, l_.str@PAGE
Lloh58:
	add	x0, x0, l_.str@PAGEOFF
	str	x19, [sp]
	b	LBB0_14
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh59:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh60:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh61:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.7:
Lloh62:
	adrp	x0, l_.str.7@PAGE
Lloh63:
	add	x0, x0, l_.str.7@PAGEOFF
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	b	_DRM_ERROR
LBB0_8:
	mov	w25, #-1
	cmp	w23, #1
	b.eq	LBB0_3
LBB0_9:
Lloh64:
	adrp	x8, l_.str.2@PAGE
Lloh65:
	add	x8, x8, l_.str.2@PAGEOFF
	ldr	x9, [x8]
	str	x9, [sp, #80]
	ldur	x8, [x8, #6]
	stur	x8, [sp, #86]
LBB0_10:
	ldr	w1, [x27]
Lloh66:
	adrp	x8, _SIMD_ID@GOTPAGE
Lloh67:
	ldr	x8, [x8, _SIMD_ID@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x23, x0
	ldr	w1, [x27]
Lloh69:
	adrp	x8, _WAVE_ID@GOTPAGE
Lloh70:
	ldr	x8, [x8, _WAVE_ID@GOTPAGEOFF]
Lloh71:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x24, x0
	ldr	w1, [x27]
Lloh72:
	adrp	x8, _VM_ID@GOTPAGE
Lloh73:
	ldr	x8, [x8, _VM_ID@GOTPAGEOFF]
Lloh74:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
	mov	x26, x0
	ldr	w1, [x27]
Lloh75:
	adrp	x8, _PRIV@GOTPAGE
Lloh76:
	ldr	x8, [x8, _PRIV@GOTPAGEOFF]
Lloh77:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_REG_GET_FIELD
Lloh78:
	adrp	x8, l_.str.4@PAGE
Lloh79:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh80:
	adrp	x9, l_.str.5@PAGE
Lloh81:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w0, #0
	csel	x8, x9, x8, eq
	cmn	w25, #1
	b.eq	LBB0_12
; %bb.11:
Lloh82:
	adrp	x9, _sq_edc_source_names@GOTPAGE
Lloh83:
	ldr	x9, [x9, _sq_edc_source_names@GOTPAGEOFF]
Lloh84:
	ldr	x9, [x9]
	ldr	x9, [x9, w25, sxtw #3]
	b	LBB0_13
LBB0_12:
Lloh85:
	adrp	x9, l_.str.6@PAGE
Lloh86:
	add	x9, x9, l_.str.6@PAGEOFF
LBB0_13:
	stp	x8, x9, [sp, #56]
	stp	x24, x26, [sp, #40]
	stp	x21, x23, [sp, #24]
	stp	x19, x22, [sp, #8]
	add	x8, sp, #80
Lloh87:
	adrp	x0, l_.str.3@PAGE
Lloh88:
	add	x0, x0, l_.str.3@PAGEOFF
	str	x8, [sp]
LBB0_14:
	bl	_DRM_INFO
	ldur	x8, [x29, #-88]
Lloh89:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh90:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh91:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.15:
	ldp	x29, x30, [sp, #192]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #176]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #160]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #144]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #128]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #208
	ret
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAddLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpAdd	Lloh80, Lloh81
	.loh AdrpAdd	Lloh78, Lloh79
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.loh AdrpLdrGotLdr	Lloh72, Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.cfi_endproc
                                        ; -- End function
	.comm	_SQ_INTERRUPT_WORD_CMN,4,2      ; @SQ_INTERRUPT_WORD_CMN
	.comm	_ENCODING,4,2                   ; @ENCODING
	.comm	_SE_ID,4,2                      ; @SE_ID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SQ general purpose intr detected:se_id %d, immed_overflow %d, host_reg_overflow %d,host_cmd_overflow %d, cmd_timestamp %d,reg_timestamp %d, thread_trace_buff_full %d,wlt %d, thread_trace %d.\n"

	.comm	_SQ_INTERRUPT_WORD_AUTO,4,2     ; @SQ_INTERRUPT_WORD_AUTO
	.comm	_IMMED_OVERFLOW,4,2             ; @IMMED_OVERFLOW
	.comm	_HOST_REG_OVERFLOW,4,2          ; @HOST_REG_OVERFLOW
	.comm	_HOST_CMD_OVERFLOW,4,2          ; @HOST_CMD_OVERFLOW
	.comm	_CMD_TIMESTAMP,4,2              ; @CMD_TIMESTAMP
	.comm	_REG_TIMESTAMP,4,2              ; @REG_TIMESTAMP
	.comm	_THREAD_TRACE_BUF_FULL,4,2      ; @THREAD_TRACE_BUF_FULL
	.comm	_WLT,4,2                        ; @WLT
	.comm	_THREAD_TRACE,4,2               ; @THREAD_TRACE
	.comm	_SQ_INTERRUPT_WORD_WAVE,4,2     ; @SQ_INTERRUPT_WORD_WAVE
	.comm	_CU_ID,4,2                      ; @CU_ID
	.comm	_SH_ID,4,2                      ; @SH_ID
	.comm	_mmSQ_EDC_INFO,4,2              ; @mmSQ_EDC_INFO
	.comm	_SQ_EDC_INFO,4,2                ; @SQ_EDC_INFO
	.comm	_SOURCE,4,2                     ; @SOURCE
l_.str.1:                               ; @.str.1
	.asciz	"instruction intr"

l_.str.2:                               ; @.str.2
	.asciz	"EDC/ECC error"

l_.str.3:                               ; @.str.3
	.asciz	"SQ %s detected: se_id %d, sh_id %d, cu_id %d, simd_id %d, wave_id %d, vm_id %d trap %s, sq_ed_info.source %s.\n"

	.comm	_SIMD_ID,4,2                    ; @SIMD_ID
	.comm	_WAVE_ID,4,2                    ; @WAVE_ID
	.comm	_VM_ID,4,2                      ; @VM_ID
	.comm	_PRIV,4,2                       ; @PRIV
l_.str.4:                               ; @.str.4
	.asciz	"true"

l_.str.5:                               ; @.str.5
	.asciz	"false"

	.comm	_sq_edc_source_names,8,3        ; @sq_edc_source_names
l_.str.6:                               ; @.str.6
	.asciz	"unavailable"

l_.str.7:                               ; @.str.7
	.asciz	"SQ invalid encoding type\n."

	.no_dead_strip	_gfx_v8_0_parse_sq_irq
.subsections_via_symbols
