	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_errno_to_efi_status            ## -- Begin function errno_to_efi_status
	.p2align	4, 0x90
_errno_to_efi_status:                   ## @errno_to_efi_status
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	leal	-128(%rdi), %ecx
	cmpl	$11, %ecx
	ja	LBB0_1
## %bb.3:
	movq	_EFI_ACCESS_DENIED@GOTPCREL(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_10:
	movq	_EFI_UNSUPPORTED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_1:
	testl	%edi, %edi
	jne	LBB0_13
## %bb.2:
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_13:
	movq	_EFI_DEVICE_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_6:
	movq	_EFI_MEDIA_CHANGED@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_4:
	movq	_EFI_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_7:
	movq	_EFI_NO_MEDIA@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movq	_EFI_VOLUME_FULL@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_9:
	movq	_EFI_OUT_OF_RESOURCES@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_8:
	movq	_EFI_NOT_FOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_5:
	movq	_EFI_INVALID_PARAMETER@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	movq	_EFI_WRITE_PROTECTED@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_14
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_EFI_ACCESS_DENIED,4,2          ## @EFI_ACCESS_DENIED
	.comm	_EFI_BUFFER_TOO_SMALL,4,2       ## @EFI_BUFFER_TOO_SMALL
	.comm	_EFI_DEVICE_ERROR,4,2           ## @EFI_DEVICE_ERROR
	.comm	_EFI_INVALID_PARAMETER,4,2      ## @EFI_INVALID_PARAMETER
	.comm	_EFI_MEDIA_CHANGED,4,2          ## @EFI_MEDIA_CHANGED
	.comm	_EFI_NO_MEDIA,4,2               ## @EFI_NO_MEDIA
	.comm	_EFI_NOT_FOUND,4,2              ## @EFI_NOT_FOUND
	.comm	_EFI_OUT_OF_RESOURCES,4,2       ## @EFI_OUT_OF_RESOURCES
	.comm	_EFI_UNSUPPORTED,4,2            ## @EFI_UNSUPPORTED
	.comm	_EFI_VOLUME_FULL,4,2            ## @EFI_VOLUME_FULL
	.comm	_EFI_WRITE_PROTECTED,4,2        ## @EFI_WRITE_PROTECTED
	.comm	_EFI_SUCCESS,4,2                ## @EFI_SUCCESS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_errno_to_efi_status            ; -- Begin function errno_to_efi_status
	.p2align	2
_errno_to_efi_status:                   ; @errno_to_efi_status
	.cfi_startproc
; %bb.0:
	sub	w9, w0, #128
	cmp	w9, #11
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EFI_ACCESS_DENIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EFI_ACCESS_DENIED@GOTPAGEOFF]
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x8, _EFI_UNSUPPORTED@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EFI_UNSUPPORTED@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	ret
LBB0_3:
Lloh7:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh9:
	adrp	x9, _EFI_DEVICE_ERROR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _EFI_DEVICE_ERROR@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	ldr	w0, [x8]
	ret
LBB0_4:
Lloh11:
	adrp	x8, _EFI_MEDIA_CHANGED@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EFI_MEDIA_CHANGED@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ret
LBB0_5:
Lloh14:
	adrp	x8, _EFI_BUFFER_TOO_SMALL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EFI_BUFFER_TOO_SMALL@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	ret
LBB0_6:
Lloh17:
	adrp	x8, _EFI_NO_MEDIA@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EFI_NO_MEDIA@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	ret
LBB0_7:
Lloh20:
	adrp	x8, _EFI_VOLUME_FULL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EFI_VOLUME_FULL@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ret
LBB0_8:
Lloh23:
	adrp	x8, _EFI_OUT_OF_RESOURCES@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EFI_OUT_OF_RESOURCES@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	ret
LBB0_9:
Lloh26:
	adrp	x8, _EFI_NOT_FOUND@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EFI_NOT_FOUND@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ret
LBB0_10:
Lloh29:
	adrp	x8, _EFI_DEVICE_ERROR@GOTPAGE
Lloh30:
	ldr	x8, [x8, _EFI_DEVICE_ERROR@GOTPAGEOFF]
Lloh31:
	ldr	w0, [x8]
	ret
LBB0_11:
Lloh32:
	adrp	x8, _EFI_INVALID_PARAMETER@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EFI_INVALID_PARAMETER@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	ret
LBB0_12:
Lloh35:
	adrp	x8, _EFI_WRITE_PROTECTED@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EFI_WRITE_PROTECTED@GOTPAGEOFF]
LBB0_13:
	ldr	w0, [x8]
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
                                        ; -- End function
	.comm	_EFI_ACCESS_DENIED,4,2          ; @EFI_ACCESS_DENIED
	.comm	_EFI_BUFFER_TOO_SMALL,4,2       ; @EFI_BUFFER_TOO_SMALL
	.comm	_EFI_DEVICE_ERROR,4,2           ; @EFI_DEVICE_ERROR
	.comm	_EFI_INVALID_PARAMETER,4,2      ; @EFI_INVALID_PARAMETER
	.comm	_EFI_MEDIA_CHANGED,4,2          ; @EFI_MEDIA_CHANGED
	.comm	_EFI_NO_MEDIA,4,2               ; @EFI_NO_MEDIA
	.comm	_EFI_NOT_FOUND,4,2              ; @EFI_NOT_FOUND
	.comm	_EFI_OUT_OF_RESOURCES,4,2       ; @EFI_OUT_OF_RESOURCES
	.comm	_EFI_UNSUPPORTED,4,2            ; @EFI_UNSUPPORTED
	.comm	_EFI_VOLUME_FULL,4,2            ; @EFI_VOLUME_FULL
	.comm	_EFI_WRITE_PROTECTED,4,2        ; @EFI_WRITE_PROTECTED
	.comm	_EFI_SUCCESS,4,2                ; @EFI_SUCCESS
.subsections_via_symbols
