	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_guid_to_name               ## -- Begin function efi_guid_to_name
	.p2align	4, 0x90
_efi_guid_to_name:                      ## @efi_guid_to_name
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_efi_guid_tbl_compile
	movq	_guid_tbl@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_nitems
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movl	$4, %r14d
	xorl	%ebx, %ebx
	leaq	-52(%rbp), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	addq	%r14, %rsi
	movq	%r12, %rdi
	movq	%r15, %rdx
	callq	_uuid_equal
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movq	(%r13), %rdi
	callq	_nitems
	addq	$8, %r14
	cmpq	%rax, %rbx
	jb	LBB0_2
LBB0_5:
	movq	%r12, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_efi_guid_to_str
	jmp	LBB0_6
LBB0_3:
	movq	(%r13), %rax
	movl	(%rax,%rbx,8), %edi
	callq	_strdup
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%eax, %eax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_guid_tbl,8,3                   ## @guid_tbl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_guid_to_name               ; -- Begin function efi_guid_to_name
	.p2align	2
_efi_guid_to_name:                      ; @efi_guid_to_name
	.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	x19, x1
	mov	x20, x0
	bl	_efi_guid_tbl_compile
Lloh0:
	adrp	x21, _guid_tbl@GOTPAGE
Lloh1:
	ldr	x21, [x21, _guid_tbl@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_nitems
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, #0
	mov	x23, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	add	x8, x8, x22
	add	x1, x8, #4
	add	x2, sp, #12
	mov	x0, x20
	bl	_uuid_equal
	cbnz	x0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	ldr	x0, [x21]
	bl	_nitems
	add	x22, x22, #8
	cmp	x23, x0
	b.lo	LBB0_2
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_efi_guid_to_str
	b	LBB0_6
LBB0_5:
	ldr	x8, [x21]
	ldr	w0, [x8, x22]
	bl	_strdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
LBB0_6:
	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 AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_guid_tbl,8,3                   ; @guid_tbl
.subsections_via_symbols
