	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_get_forbidden_digests      ## -- Begin function efi_get_forbidden_digests
	.p2align	4, 0x90
_efi_get_forbidden_digests:             ## @efi_get_forbidden_digests
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	$0, -56(%rbp)
	movq	_ImageSecurityDatabaseGUID@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %rcx
	xorl	%edx, %edx
	callq	_efi_getenv
	movq	_EFI_BUFFER_TOO_SMALL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_29
## %bb.1:
	movq	-56(%rbp), %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_28
## %bb.2:
	movq	%rax, %r15
	movq	_ImageSecurityDatabaseGUID@GOTPCREL(%rip), %rdi
	leaq	L_.str(%rip), %rsi
	leaq	-56(%rbp), %rcx
	movq	%rax, %rdx
	callq	_efi_getenv
	movq	_EFI_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%ebx, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_27
## %bb.3:
	movq	%r14, -96(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	movq	-56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movl	$0, %ebx
	cmpq	(%r15), %rax
	jb	LBB0_20
## %bb.6:
	movq	%r15, %r13
	xorl	%ebx, %ebx
	movq	%r15, %rax
	xorl	%r14d, %r14d
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_13 Depth 2
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	leaq	16(%rax), %r15
	movq	_efiCertX509Sha256GUID@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcmp
	movq	_br_sha256_SIZE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	movq	%r13, -104(%rbp)                ## 8-byte Spill
	je	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_efiCertX509Sha384GUID@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcmp
	movq	_br_sha384_SIZE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	_efiCertX509Sha5122UID@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcmp
	movq	_br_sha512_SIZE@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_17
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movslq	8(%rsi), %rdi
	addq	$24, %rdi
	movl	(%r13), %eax
	subl	%edi, %eax
	cltd
	idivl	12(%rsi)
	testl	%eax, %eax
	jle	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	%eax, %ebx
	movq	(%rcx), %r12
	shlq	$4, %rdi
	addq	%rsi, %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movslq	-44(%rbp), %r13                 ## 4-byte Folded Reload
	movq	%r13, %r15
	shlq	$4, %r15
	shll	$4, %r13d
	addl	$16, %r13d
	incl	%ebx
	.p2align	4, 0x90
LBB0_13:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_13 Depth=2
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_malloc
	movq	%rax, 8(%r14,%r15)
	testq	%rax, %rax
	je	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_13 Depth=2
	movl	%ebx, -76(%rbp)                 ## 4-byte Spill
	movq	%r13, %rbx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	movl	(%r13), %esi
	movq	%rax, %rdi
	movq	%r12, %rdx
	callq	_memcpy
	movq	%r12, (%r14,%r15)
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movslq	12(%rsi), %rax
	leaq	(%r13,%rax,4), %r13
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r13
	movl	-76(%rbp), %ebx                 ## 4-byte Reload
	incl	-44(%rbp)                       ## 4-byte Folded Spill
	addq	$16, %r15
	addl	$16, %r13d
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_13
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx
	subq	%rax, %rcx
	movq	%rcx, -56(%rbp)
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_18
## %bb.19:                              ##   in Loop: Header=BB0_7 Depth=1
	shlq	$4, %rax
	leaq	(%rsi,%rax), %r13
	cmpq	(%rsi,%rax), %rcx
	movq	%r13, %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jae	LBB0_7
	jmp	LBB0_20
LBB0_4:
	xorl	%ebx, %ebx
LBB0_20:
	movq	%r15, %rdi
	callq	_xfree
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	testq	%rcx, %rcx
	je	LBB0_21
## %bb.22:
	movslq	%ebx, %rax
	movq	%rax, (%rcx)
	movq	%r14, %rbx
	jmp	LBB0_29
LBB0_14:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_27
LBB0_23:
	movl	-44(%rbp), %r12d                ## 4-byte Reload
	testl	%r12d, %r12d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_26
## %bb.24:
	movslq	%r12d, %rax
	shlq	$4, %rax
	leaq	(%r14,%rax), %rbx
	addq	$-8, %rbx
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	callq	_xfree
	addq	$-16, %rbx
	decl	%r12d
	jne	LBB0_25
LBB0_26:
	movq	%r14, %rbx
LBB0_27:
	movq	%r15, %rdi
	callq	_xfree
	movq	%rbx, %rdi
	callq	_xfree
LBB0_28:
	xorl	%ebx, %ebx
LBB0_29:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	movq	%r14, %rbx
	jmp	LBB0_29
LBB0_18:
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_20
	.cfi_endproc
                                        ## -- End function
	.comm	_ImageSecurityDatabaseGUID,4,2  ## @ImageSecurityDatabaseGUID
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dbx"

	.comm	_EFI_BUFFER_TOO_SMALL,8,3       ## @EFI_BUFFER_TOO_SMALL
	.comm	_EFI_SUCCESS,8,3                ## @EFI_SUCCESS
	.comm	_efiCertX509Sha256GUID,4,2      ## @efiCertX509Sha256GUID
	.comm	_br_sha256_SIZE,8,3             ## @br_sha256_SIZE
	.comm	_efiCertX509Sha384GUID,4,2      ## @efiCertX509Sha384GUID
	.comm	_br_sha384_SIZE,8,3             ## @br_sha384_SIZE
	.comm	_efiCertX509Sha5122UID,4,2      ## @efiCertX509Sha5122UID
	.comm	_br_sha512_SIZE,8,3             ## @br_sha512_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_efi_get_forbidden_digests      ; -- Begin function efi_get_forbidden_digests
	.p2align	2
_efi_get_forbidden_digests:             ; @efi_get_forbidden_digests
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x0, _ImageSecurityDatabaseGUID@GOTPAGE
Lloh1:
	ldr	x0, [x0, _ImageSecurityDatabaseGUID@GOTPAGEOFF]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x2, #0
	bl	_efi_getenv
	mov	x20, #0
Lloh4:
	adrp	x8, _EFI_BUFFER_TOO_SMALL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EFI_BUFFER_TOO_SMALL@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_24
; %bb.1:
	ldr	x0, [sp, #8]
	bl	_malloc
	cbz	x0, LBB0_23
; %bb.2:
	mov	x28, x0
Lloh7:
	adrp	x0, _ImageSecurityDatabaseGUID@GOTPAGE
Lloh8:
	ldr	x0, [x0, _ImageSecurityDatabaseGUID@GOTPAGEOFF]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	add	x3, sp, #8
	mov	x2, x28
	bl	_efi_getenv
Lloh11:
	adrp	x8, _EFI_SUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EFI_SUCCESS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_21
; %bb.3:
	mov	w27, #0
	mov	x20, #0
	ldr	x8, [sp, #8]
	cbz	x8, LBB0_19
; %bb.4:
	ldr	x9, [x28]
	cmp	x8, x9
	b.lo	LBB0_19
; %bb.5:
	mov	w27, #0
	mov	x20, #0
	mov	x19, x28
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_14 Depth 2
	add	x25, x19, #16
Lloh14:
	adrp	x0, _efiCertX509Sha256GUID@GOTPAGE
Lloh15:
	ldr	x0, [x0, _efiCertX509Sha256GUID@GOTPAGEOFF]
	mov	x1, x25
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh16:
	adrp	x0, _efiCertX509Sha384GUID@GOTPAGE
Lloh17:
	ldr	x0, [x0, _efiCertX509Sha384GUID@GOTPAGEOFF]
	mov	x1, x25
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh18:
	adrp	x0, _efiCertX509Sha5122UID@GOTPAGE
Lloh19:
	ldr	x0, [x0, _efiCertX509Sha5122UID@GOTPAGEOFF]
	mov	x1, x25
	mov	w2, #4
	bl	_memcmp
	cbnz	x0, LBB0_17
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh20:
	adrp	x8, _br_sha512_SIZE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _br_sha512_SIZE@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh22:
	adrp	x8, _br_sha256_SIZE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _br_sha256_SIZE@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
Lloh24:
	adrp	x8, _br_sha384_SIZE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _br_sha384_SIZE@GOTPAGEOFF]
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	ldp	w9, w11, [x19, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x10, x9, #24
	ldr	w9, [x19]
	sub	w9, w9, w10
	sdiv	w9, w9, w11
	cmp	w9, #1
	b.lt	LBB0_17
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	ldr	x25, [x8]
	add	x24, x19, x10, lsl #4
	sbfiz	x23, x27, #4, #32
	lsl	w8, w27, #4
	add	w26, w8, #16
	add	w22, w9, #1
LBB0_14:                                ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	mov	x1, x26
	bl	_realloc
	mov	x20, x0
	cbz	x0, LBB0_22
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=2
	mov	x0, x25
	bl	_malloc
	add	x8, x20, x23
	str	x0, [x8, #8]
	cbz	x0, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=2
	ldr	w1, [x24]
	mov	x2, x25
	bl	_memcpy
	str	x25, [x20, x23]
	ldrsw	x8, [x19, #12]
	add	x24, x24, x8, lsl #2
	add	w27, w27, #1
	add	x23, x23, #16
	add	w26, w26, #16
	sub	w22, w22, #1
	cmp	w22, #1
	b.hi	LBB0_14
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x9, [x19]
	ldr	x8, [sp, #8]
	subs	x8, x8, x9
	str	x8, [sp, #8]
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_6 Depth=1
	add	x19, x19, x9, lsl #4
	ldr	x9, [x19]
	cmp	x8, x9
	b.hs	LBB0_6
LBB0_19:
	mov	x0, x28
	bl	_xfree
	cbz	x21, LBB0_24
; %bb.20:
                                        ; kill: def $w27 killed $w27 killed $x27 def $x27
	sxtw	x8, w27
	str	x8, [x21]
	b	LBB0_24
LBB0_21:
	mov	x20, #0
LBB0_22:
	mov	x0, x28
	bl	_xfree
	mov	x0, x20
	bl	_xfree
LBB0_23:
	mov	x20, #0
LBB0_24:
	mov	x0, x20
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_25:
	cbz	w27, LBB0_22
; %bb.26:
	mov	x8, x27
	sbfiz	x8, x8, #4, #32
	sub	x19, x8, #8
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20, x19]
	bl	_xfree
	sub	x19, x19, #16
	sub	w27, w27, #1
	cbnz	w27, LBB0_27
	b	LBB0_22
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_ImageSecurityDatabaseGUID,4,2  ; @ImageSecurityDatabaseGUID
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dbx"

	.comm	_EFI_BUFFER_TOO_SMALL,8,3       ; @EFI_BUFFER_TOO_SMALL
	.comm	_EFI_SUCCESS,8,3                ; @EFI_SUCCESS
	.comm	_efiCertX509Sha256GUID,4,2      ; @efiCertX509Sha256GUID
	.comm	_br_sha256_SIZE,8,3             ; @br_sha256_SIZE
	.comm	_efiCertX509Sha384GUID,4,2      ; @efiCertX509Sha384GUID
	.comm	_br_sha384_SIZE,8,3             ; @br_sha384_SIZE
	.comm	_efiCertX509Sha5122UID,4,2      ; @efiCertX509Sha5122UID
	.comm	_br_sha512_SIZE,8,3             ; @br_sha512_SIZE
.subsections_via_symbols
