	.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
	movl	%ecx, %r14d
	movq	%rdx, %r15
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_ERROR_DATA_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rdx), %esi
	callq	_EHCA_BMASK_GET
	movl	4(%r15), %r12d
	cmpl	$4, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_6
## %bb.2:
	cmpl	$0, 24(%r15)
	je	LBB0_8
## %bb.3:
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	movl	(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	movq	%rbx, %rdi
	movl	%r12d, %ecx
	jmp	LBB0_7
LBB0_6:
	movl	(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
LBB0_7:
	xorl	%eax, %eax
	callq	_ehca_err
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_ehca_err
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	callq	_ehca_err
	leaq	L_.str.5(%rip), %rdx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%r12d, %ecx
	callq	_ehca_dmp
	leaq	L_.str.6(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ehca_err                       ## TAILCALL
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERROR_DATA_TYPE,4,2            ## @ERROR_DATA_TYPE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"QP 0x%x (resource=%llx) has errors."

L_.str.1:                               ## @.str.1
	.asciz	"CQ 0x%x (resource=%llx) has errors."

L_.str.2:                               ## @.str.2
	.asciz	"Unknown error type: %llx on %s."

L_.str.3:                               ## @.str.3
	.asciz	"Error data is available: %llx."

L_.str.4:                               ## @.str.4
	.asciz	"EHCA ----- error data begin ---------------------------------------------------"

L_.str.5:                               ## @.str.5
	.asciz	"resource=%llx"

L_.str.6:                               ## @.str.6
	.asciz	"EHCA ----- error data end ----------------------------------------------------"

	.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	x20, x3
	mov	x21, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _ERROR_DATA_TYPE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERROR_DATA_TYPE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	w1, [x2, #8]
	bl	_EHCA_BMASK_GET
                                        ; kill: def $w0 killed $w0 def $x0
	ldr	w22, [x21, #4]
	cmp	w0, #4
	b.eq	LBB0_4
; %bb.1:
	cmp	w0, #1
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x21, #24]
	cbz	w8, LBB0_7
; %bb.3:
	mov	x8, x22
	ldr	w9, [x23]
	stp	x9, x8, [sp]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
	mov	x8, x22
	ldr	w9, [x23]
	stp	x9, x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_5:
	ldr	w8, [x19]
	stp	x0, x8, [sp]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_6:
	mov	x0, x19
	bl	_ehca_err
	str	x22, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ehca_err
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_ehca_err
Lloh13:
	adrp	x2, l_.str.5@PAGE
Lloh14:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	x1, x20
	mov	x3, x22
	bl	_ehca_dmp
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@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	_ehca_err
LBB0_7:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ERROR_DATA_TYPE,4,2            ; @ERROR_DATA_TYPE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"QP 0x%x (resource=%llx) has errors."

l_.str.1:                               ; @.str.1
	.asciz	"CQ 0x%x (resource=%llx) has errors."

l_.str.2:                               ; @.str.2
	.asciz	"Unknown error type: %llx on %s."

l_.str.3:                               ; @.str.3
	.asciz	"Error data is available: %llx."

l_.str.4:                               ; @.str.4
	.asciz	"EHCA ----- error data begin ---------------------------------------------------"

l_.str.5:                               ; @.str.5
	.asciz	"resource=%llx"

l_.str.6:                               ; @.str.6
	.asciz	"EHCA ----- error data end ----------------------------------------------------"

	.no_dead_strip	_print_error_data
.subsections_via_symbols
