	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_error_data
_print_error_data:                      ## @print_error_data
	.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	_ERROR_DATA_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	16(%rbx), %rsi
	callq	_EHEA_BMASK_GET
	movq	%rax, %r12
	movq	(%rbx), %rsi
	movq	8(%rbx), %r15
	movq	_ERROR_DATA_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_EHEA_BMASK_GET
	movq	%rax, %r14
	movq	_EHEA_PAGESIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	_EHEA_AER_RESTYPE_QP@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	48(%rbx), %rdx
	movq	96(%rbx), %rcx
	movq	176(%rbx), %r8
	leaq	L_.str(%rip), %rdi
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_7
LBB0_2:
	movq	_EHEA_AER_RESTYPE_CQ@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	48(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_6
LBB0_4:
	movq	_EHEA_AER_RESTYPE_EQ@GOTPCREL(%rip), %rax
	cmpq	%r12, (%rax)
	jne	LBB0_7
## %bb.5:
	movq	48(%rbx), %rdx
	leaq	L_.str.2(%rip), %rdi
LBB0_6:
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_7:
	cmpl	%r14d, %r13d
	cmovll	%r13d, %r14d
	leaq	L_.str.3(%rip), %rdx
	movq	%rbx, %rdi
	movl	%r14d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehea_dump                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_DATA_TYPE,4,2            ## @ERROR_DATA_TYPE
	.comm	_ERROR_DATA_LENGTH,4,2          ## @ERROR_DATA_LENGTH
	.comm	_EHEA_PAGESIZE,4,2              ## @EHEA_PAGESIZE
	.comm	_EHEA_AER_RESTYPE_QP,8,3        ## @EHEA_AER_RESTYPE_QP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QP (resource=%llX) state: AER=0x%llX, AERR=0x%llX, port=%llX\n"

	.comm	_EHEA_AER_RESTYPE_CQ,8,3        ## @EHEA_AER_RESTYPE_CQ
L_.str.1:                               ## @.str.1
	.asciz	"CQ (resource=%llX) state: AER=0x%llX\n"

	.comm	_EHEA_AER_RESTYPE_EQ,8,3        ## @EHEA_AER_RESTYPE_EQ
L_.str.2:                               ## @.str.2
	.asciz	"EQ (resource=%llX) state: AER=0x%llX\n"

L_.str.3:                               ## @.str.3
	.asciz	"error data"

	.no_dead_strip	_print_error_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_error_data
_print_error_data:                      ; @print_error_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
Lloh0:
	adrp	x8, _ERROR_DATA_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR_DATA_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x1, [x19, #16]
	bl	_EHEA_BMASK_GET
	mov	x22, x0
Lloh3:
	adrp	x8, _ERROR_DATA_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR_DATA_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x1, x21, [x19]
	bl	_EHEA_BMASK_GET
	mov	x20, x0
Lloh6:
	adrp	x8, _EHEA_PAGESIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EHEA_PAGESIZE@GOTPAGEOFF]
Lloh8:
	ldr	w23, [x8]
Lloh9:
	adrp	x8, _EHEA_AER_RESTYPE_QP@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EHEA_AER_RESTYPE_QP@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_2
; %bb.1:
	ldr	x2, [x19, #48]
	ldr	x8, [x19, #96]
	ldr	x9, [x19, #176]
	stp	x8, x9, [sp]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_2:
Lloh14:
	adrp	x8, _EHEA_AER_RESTYPE_CQ@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EHEA_AER_RESTYPE_CQ@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_4
; %bb.3:
	ldr	x2, [x19, #48]
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh19:
	adrp	x8, _EHEA_AER_RESTYPE_EQ@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EHEA_AER_RESTYPE_EQ@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	cmp	x8, x22
	b.ne	LBB0_7
; %bb.5:
	ldr	x2, [x19, #48]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	mov	x1, x21
	bl	_pr_err
LBB0_7:
	cmp	w23, w20
	csel	w1, w23, w20, lt
Lloh24:
	adrp	x2, l_.str.3@PAGE
Lloh25:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ehea_dump
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_DATA_TYPE,4,2            ; @ERROR_DATA_TYPE
	.comm	_ERROR_DATA_LENGTH,4,2          ; @ERROR_DATA_LENGTH
	.comm	_EHEA_PAGESIZE,4,2              ; @EHEA_PAGESIZE
	.comm	_EHEA_AER_RESTYPE_QP,8,3        ; @EHEA_AER_RESTYPE_QP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QP (resource=%llX) state: AER=0x%llX, AERR=0x%llX, port=%llX\n"

	.comm	_EHEA_AER_RESTYPE_CQ,8,3        ; @EHEA_AER_RESTYPE_CQ
l_.str.1:                               ; @.str.1
	.asciz	"CQ (resource=%llX) state: AER=0x%llX\n"

	.comm	_EHEA_AER_RESTYPE_EQ,8,3        ; @EHEA_AER_RESTYPE_EQ
l_.str.2:                               ; @.str.2
	.asciz	"EQ (resource=%llX) state: AER=0x%llX\n"

l_.str.3:                               ; @.str.3
	.asciz	"error data"

	.no_dead_strip	_print_error_data
.subsections_via_symbols
