	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_key_sha1
_check_key_sha1:                        ## @check_key_sha1
	.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	%rbx
	subq	$184, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	leaq	-112(%rbp), %rdx
	movl	$20, %esi
	callq	_pullf_read_fixed
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_PGP_DIGEST_SHA1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-200(%rbp), %rsi
	callq	_pgp_load_digest
	movl	%eax, %r14d
	testl	%eax, %eax
	js	LBB0_12
## %bb.3:
	movl	(%rbx), %eax
	leal	-128(%rax), %ecx
	cmpl	$3, %ecx
	jae	LBB0_4
## %bb.7:
	movq	-200(%rbp), %rdi
	leaq	8(%rbx), %r15
	movl	20(%rbx), %esi
	callq	_pgp_mpi_hash
	movq	-200(%rbp), %rdi
	movl	16(%rbx), %esi
	callq	_pgp_mpi_hash
	movq	-200(%rbp), %rdi
	movl	12(%rbx), %esi
	callq	_pgp_mpi_hash
	movq	%r15, %rbx
	jmp	LBB0_9
LBB0_1:
	movl	%eax, %r14d
	jmp	LBB0_13
LBB0_4:
	cmpl	$132, %eax
	je	LBB0_8
## %bb.5:
	cmpl	$131, %eax
	jne	LBB0_10
## %bb.6:
	addq	$24, %rbx
	jmp	LBB0_9
LBB0_8:
	addq	$4, %rbx
LBB0_9:
	movq	-200(%rbp), %rdi
	movl	(%rbx), %esi
	callq	_pgp_mpi_hash
LBB0_10:
	movq	-200(%rbp), %rdi
	leaq	-192(%rbp), %rbx
	movq	%rbx, %rsi
	callq	_px_md_finish
	movq	-200(%rbp), %rdi
	callq	_px_md_free
	leaq	-112(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$20, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str(%rip), %rdi
	callq	_px_debug
	movq	_PXE_PGP_KEYPKT_CORRUPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_12:
	leaq	-112(%rbp), %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_px_memset
	leaq	-192(%rbp), %rdi
	xorl	%esi, %esi
	movl	$20, %edx
	callq	_px_memset
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	movl	%r14d, %eax
	addq	$184, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PGP_DIGEST_SHA1,4,2            ## @PGP_DIGEST_SHA1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"key sha1 check failed"

	.comm	_PXE_PGP_KEYPKT_CORRUPT,4,2     ## @PXE_PGP_KEYPKT_CORRUPT
	.no_dead_strip	_check_key_sha1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_key_sha1
_check_key_sha1:                        ; @check_key_sha1
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x2, sp, #88
	mov	w1, #20
	bl	_pullf_read_fixed
	tbnz	w0, #31, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _PGP_DIGEST_SHA1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PGP_DIGEST_SHA1@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, sp
	bl	_pgp_load_digest
	mov	x19, x0
	tbnz	w0, #31, LBB0_12
; %bb.2:
	ldr	w8, [x20]
	sub	w9, w8, #128
	cmp	w9, #3
	b.hs	LBB0_5
; %bb.3:
	ldr	x0, [sp]
	add	x21, x20, #8
	ldr	w1, [x20, #20]
	bl	_pgp_mpi_hash
	ldr	x0, [sp]
	ldr	w1, [x20, #16]
	bl	_pgp_mpi_hash
	ldr	x0, [sp]
	ldr	w1, [x20, #12]
	bl	_pgp_mpi_hash
	b	LBB0_9
LBB0_4:
	mov	x19, x0
	b	LBB0_13
LBB0_5:
	cmp	w8, #132
	b.eq	LBB0_8
; %bb.6:
	cmp	w8, #131
	b.ne	LBB0_10
; %bb.7:
	add	x21, x20, #24
	b	LBB0_9
LBB0_8:
	add	x21, x20, #4
LBB0_9:
	ldr	x0, [sp]
	ldr	w1, [x21]
	bl	_pgp_mpi_hash
LBB0_10:
	ldr	x0, [sp]
	add	x1, sp, #8
	bl	_px_md_finish
	ldr	x0, [sp]
	bl	_px_md_free
	add	x0, sp, #8
	add	x1, sp, #88
	mov	w2, #20
	bl	_memcmp
	cbz	x0, LBB0_12
; %bb.11:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_px_debug
Lloh8:
	adrp	x8, _PXE_PGP_KEYPKT_CORRUPT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PXE_PGP_KEYPKT_CORRUPT@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
LBB0_12:
	add	x0, sp, #88
	mov	w1, #0
	mov	w2, #20
	bl	_px_memset
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #20
	bl	_px_memset
LBB0_13:
	ldur	x8, [x29, #-40]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	mov	x0, x19
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PGP_DIGEST_SHA1,4,2            ; @PGP_DIGEST_SHA1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"key sha1 check failed"

	.comm	_PXE_PGP_KEYPKT_CORRUPT,4,2     ; @PXE_PGP_KEYPKT_CORRUPT
	.no_dead_strip	_check_key_sha1
.subsections_via_symbols
