	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __erst_get_record_count
___erst_get_record_count:               ## @__erst_get_record_count
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	leaq	-16(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_erst_exec_ctx_init
	movq	_ACPI_ERST_GET_RECORD_COUNT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_apei_exec_run
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	-16(%rbp), %rdi
	callq	_apei_exec_ctx_get_output
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_ERST_GET_RECORD_COUNT,4,2 ## @ACPI_ERST_GET_RECORD_COUNT
	.no_dead_strip	___erst_get_record_count
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __erst_get_record_count
___erst_get_record_count:               ; @__erst_get_record_count
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	add	x0, sp, #8
	bl	_erst_exec_ctx_init
Lloh0:
	adrp	x8, _ACPI_ERST_GET_RECORD_COUNT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_ERST_GET_RECORD_COUNT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_apei_exec_run
	cbnz	w0, LBB0_2
; %bb.1:
	add	x0, sp, #8
	bl	_apei_exec_ctx_get_output
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_ERST_GET_RECORD_COUNT,4,2 ; @ACPI_ERST_GET_RECORD_COUNT
	.no_dead_strip	___erst_get_record_count
.subsections_via_symbols
