	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ehea_error_data                ## -- Begin function ehea_error_data
	.p2align	4, 0x90
_ehea_error_data:                       ## @ehea_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	%rcx, %r12
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_get_zeroed_page
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movl	(%r14), %edi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_ehea_h_error_data
	movq	_H_SUCCESS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_ERROR_DATA_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	8(%rbx), %esi
	callq	_EHEA_BMASK_GET
	movl	%eax, %r14d
	movl	24(%rbx), %eax
	movl	%eax, (%r13)
	movl	48(%rbx), %eax
	movl	%eax, (%r12)
	movq	%rbx, %rdi
	callq	_print_error_data
	jmp	LBB0_8
LBB0_1:
	leaq	L_.str(%rip), %rdi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_pr_err
	jmp	LBB0_9
LBB0_4:
	movq	_H_R_STATE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.5:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
LBB0_7:
	xorl	%r14d, %r14d
	movl	%r15d, %esi
	xorl	%eax, %eax
	callq	_pr_err
LBB0_8:
	movq	%rbx, %rdi
	callq	_free_page
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Cannot allocate rblock memory\n"

	.comm	_H_SUCCESS,8,3                  ## @H_SUCCESS
	.comm	_ERROR_DATA_TYPE,4,2            ## @ERROR_DATA_TYPE
	.comm	_H_R_STATE,8,3                  ## @H_R_STATE
L_.str.1:                               ## @.str.1
	.asciz	"No error data available: %llX\n"

L_.str.2:                               ## @.str.2
	.asciz	"Error data could not be fetched: %llX\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ehea_error_data                ; -- Begin function ehea_error_data
	.p2align	2
_ehea_error_data:                       ; @ehea_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	x22, x1
	mov	x23, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_get_zeroed_page
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w0, [x23]
	mov	x1, x22
	mov	x2, x19
	bl	_ehea_h_error_data
Lloh3:
	adrp	x8, _H_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.2:
Lloh6:
	adrp	x8, _ERROR_DATA_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERROR_DATA_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x19, #8]
	bl	_EHEA_BMASK_GET
	mov	x22, x0
	ldr	w8, [x19, #24]
	str	w8, [x21]
	ldr	w8, [x19, #48]
	str	w8, [x20]
	mov	x0, x19
	bl	_print_error_data
	b	LBB0_8
LBB0_3:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_err
	mov	w22, #0
	b	LBB0_9
LBB0_4:
Lloh11:
	adrp	x8, _H_R_STATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _H_R_STATE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.5:
	str	x22, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:
                                        ; kill: def $w22 killed $w22 killed $x22 def $x22
	str	x22, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_7:
	bl	_pr_err
	mov	w22, #0
LBB0_8:
	mov	x0, x19
	bl	_free_page
LBB0_9:
	mov	x0, x22
	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 AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Cannot allocate rblock memory\n"

	.comm	_H_SUCCESS,8,3                  ; @H_SUCCESS
	.comm	_ERROR_DATA_TYPE,4,2            ; @ERROR_DATA_TYPE
	.comm	_H_R_STATE,8,3                  ; @H_R_STATE
l_.str.1:                               ; @.str.1
	.asciz	"No error data available: %llX\n"

l_.str.2:                               ; @.str.2
	.asciz	"Error data could not be fetched: %llX\n"

.subsections_via_symbols
