	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function invoke_sdei_fn
_invoke_sdei_fn:                        ## @invoke_sdei_fn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rbp), %r14
	leaq	-24(%rbp), %rbx
	movq	%rbx, (%rsp)
	callq	_sdei_firmware_call
	movq	%rbx, %rdi
	callq	_sdei_is_err
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	-24(%rbp), %edi
	callq	_sdei_to_linux_errno
	testq	%r14, %r14
	je	LBB0_5
LBB0_4:
	movl	-24(%rbp), %ecx
	movl	%ecx, (%r14)
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	testq	%r14, %r14
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_EIO,4,2                        ## @EIO
	.comm	_SDEI_NOT_SUPPORTED,4,2         ## @SDEI_NOT_SUPPORTED
	.no_dead_strip	_invoke_sdei_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function invoke_sdei_fn
_invoke_sdei_fn:                        ; @invoke_sdei_fn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x6
	add	x6, sp, #8
	bl	_sdei_firmware_call
	add	x0, sp, #8
	bl	_sdei_is_err
	cbz	x0, LBB0_2
; %bb.1:
	ldr	w0, [sp, #8]
	bl	_sdei_to_linux_errno
LBB0_2:
	cbz	x19, LBB0_4
; %bb.3:
	ldr	w8, [sp, #8]
	str	w8, [x19]
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_EIO,4,2                        ; @EIO
	.comm	_SDEI_NOT_SUPPORTED,4,2         ; @SDEI_NOT_SUPPORTED
	.no_dead_strip	_invoke_sdei_fn
.subsections_via_symbols
