	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_get_keyid                  ## -- Begin function pgp_get_keyid
	.p2align	4, 0x90
_pgp_get_keyid:                         ## @pgp_get_keyid
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, -112(%rbp)                ## 8-byte Spill
	movq	%rdi, %rsi
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -88(%rbp)
	leaq	-128(%rbp), %rdi
	callq	_pullf_create_mbuf_reader
	testl	%eax, %eax
	js	LBB0_28
## %bb.1:
	xorl	%eax, %eax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	leaq	-132(%rbp), %r15
	leaq	-136(%rbp), %r12
	leaq	LJTI0_0(%rip), %r14
	movl	$0, -96(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -100(%rbp)                  ## 4-byte Folded Spill
	movl	$0, -92(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	$0, -88(%rbp)
	testl	%ebx, %ebx
	setns	%al
	xorb	$1, %r13b
	testb	%r13b, %al
	je	LBB0_19
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-128(%rbp), %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	xorl	%ecx, %ecx
	callq	_pgp_parse_pkt_hdr
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_19
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-128(%rbp), %rsi
	movl	-136(%rbp), %edx
	leaq	-88(%rbp), %rdi
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_pgp_create_pkt_reader
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_19
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	-132(%rbp), %eax
	addl	$-128, %eax
	cmpl	$13, %eax
	ja	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %r13b
	movslq	(%r14,%rax,4), %rax
	addq	%r14, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rdi
	callq	_pgp_skip_packet
	movl	%eax, %ebx
	jmp	LBB0_16
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_read_pubkey_keyid
	movl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setg	%al
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	addl	%eax, %ecx
	movq	%rcx, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_16
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -92(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_14
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_PXE_PGP_MULTIPLE_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_15
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_PXE_PGP_CORRUPT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_16
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	-96(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_7
LBB0_13:                                ##   in Loop: Header=BB0_3 Depth=1
	incl	-100(%rbp)                      ## 4-byte Folded Spill
	movq	-88(%rbp), %rdi
	leaq	-80(%rbp), %rsi
	callq	_read_pubenc_keyid
	movl	%eax, %ebx
	jmp	LBB0_16
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rdi
	callq	_pgp_skip_packet
	movl	%eax, %ebx
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -92(%rbp)                   ## 4-byte Folded Spill
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r13d, %r13d
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-88(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	callq	_pullf_free
	jmp	LBB0_2
LBB0_19:
	movq	-128(%rbp), %rdi
	callq	_pullf_free
	movq	-88(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_21
## %bb.20:
	callq	_pullf_free
LBB0_21:
	testl	%ebx, %ebx
	js	LBB0_34
## %bb.22:
	movl	%ebx, %eax
	movl	-100(%rbp), %edx                ## 4-byte Reload
	testl	%edx, %edx
	je	LBB0_24
## %bb.23:
	movq	_PXE_PGP_CORRUPT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_24:
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	testl	%ecx, %ecx
	cmovnel	%eax, %ebx
	cmpl	$2, %ecx
	movq	_PXE_PGP_MULTIPLE_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmovgel	%eax, %ebx
	cmpl	$2, %edx
	cmovgel	%eax, %ebx
	testl	%ebx, %ebx
	js	LBB0_34
## %bb.25:
	orl	%ecx, %edx
	je	LBB0_29
## %bb.26:
	movq	_any_key@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-80(%rbp), %rdi
	movl	$8, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_31
## %bb.27:
	leaq	-80(%rbp), %rdi
	movq	-112(%rbp), %rsi                ## 8-byte Reload
	callq	_print_key
LBB0_28:
	movl	%eax, %ebx
	jmp	LBB0_34
LBB0_29:
	cmpl	$0, -96(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.30:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_32
LBB0_31:
	leaq	L_.str(%rip), %rsi
LBB0_32:
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	movl	$7, %edx
	callq	_memcpy
	movl	$6, %ebx
	jmp	LBB0_34
LBB0_33:
	movq	_PXE_PGP_NO_USABLE_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_34:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_36
## %bb.35:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_7
	.long	L0_0_set_12
	.long	L0_0_set_17
	.long	L0_0_set_17
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_13
	.long	L0_0_set_7
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_PXE_PGP_MULTIPLE_KEYS,4,2      ## @PXE_PGP_MULTIPLE_KEYS
	.comm	_PXE_PGP_CORRUPT_DATA,4,2       ## @PXE_PGP_CORRUPT_DATA
	.comm	_any_key,4,2                    ## @any_key
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ANYKEY"

L_.str.1:                               ## @.str.1
	.asciz	"SYMKEY"

	.comm	_PXE_PGP_NO_USABLE_KEY,4,2      ## @PXE_PGP_NO_USABLE_KEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_get_keyid                  ; -- Begin function pgp_get_keyid
	.p2align	2
_pgp_get_keyid:                         ; @pgp_get_keyid
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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	x19, x1
	mov	x1, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	str	xzr, [sp, #8]
	add	x0, sp, #16
	bl	_pullf_create_mbuf_reader
	tbnz	w0, #31, LBB0_26
; %bb.1:
	mov	w22, #0
	mov	w21, #0
	mov	w23, #0
	mov	w27, #0
Lloh3:
	adrp	x25, _PXE_PGP_CORRUPT_DATA@GOTPAGE
Lloh4:
	ldr	x25, [x25, _PXE_PGP_CORRUPT_DATA@GOTPAGEOFF]
Lloh5:
	adrp	x24, _PXE_PGP_MULTIPLE_KEYS@GOTPAGE
Lloh6:
	ldr	x24, [x24, _PXE_PGP_MULTIPLE_KEYS@GOTPAGEOFF]
Lloh7:
	adrp	x26, lJTI0_0@PAGE
Lloh8:
	add	x26, x26, lJTI0_0@PAGEOFF
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	str	xzr, [sp, #8]
	cmp	w20, #0
	cset	w8, ge
	eor	w9, w28, #0x1
	and	w8, w8, w9
	tbz	w8, #0, LBB0_19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [sp, #16]
	mov	x1, sp
	add	x2, sp, #4
	mov	w3, #0
	bl	_pgp_parse_pkt_hdr
	mov	x20, x0
	cmp	w0, #1
	b.lt	LBB0_19
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x1, [sp, #16]
	ldr	w2, [sp, #4]
	add	x0, sp, #8
	mov	x3, x20
	mov	x4, #0
	bl	_pgp_create_pkt_reader
	mov	x20, x0
	tbnz	w0, #31, LBB0_19
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [sp]
	sub	w8, w8, #128
	cmp	w8, #13
	b.hi	LBB0_12
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #1
	adr	x9, LBB0_7
	ldrb	w10, [x26, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_pgp_skip_packet
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x20, x0
	mov	w28, #0
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_14
	b	LBB0_2
LBB0_9:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	add	x1, sp, #24
	bl	_read_pubkey_keyid
	mov	x20, x0
	mov	w28, #0
	cmp	w0, #0
	cinc	w22, w22, gt
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_14
	b	LBB0_2
LBB0_10:                                ;   in Loop: Header=BB0_3 Depth=1
	cbz	w27, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
	ldr	w20, [x24]
	b	LBB0_18
LBB0_12:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w28, #0
	ldr	w20, [x25]
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_2
LBB0_14:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_pullf_free
	b	LBB0_2
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w21, #1
	b	LBB0_7
LBB0_16:                                ;   in Loop: Header=BB0_3 Depth=1
	add	w23, w23, #1
	ldr	x0, [sp, #8]
	add	x1, sp, #24
	bl	_read_pubenc_keyid
	b	LBB0_8
LBB0_17:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_pgp_skip_packet
	mov	x20, x0
	mov	w28, #0
LBB0_18:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w27, #1
	ldr	x0, [sp, #8]
	cbnz	x0, LBB0_14
	b	LBB0_2
LBB0_19:
	ldr	x0, [sp, #16]
	bl	_pullf_free
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_21
; %bb.20:
	bl	_pullf_free
LBB0_21:
	tbnz	w20, #31, LBB0_32
; %bb.22:
	cmp	w23, #0
	ccmp	w22, #0, #4, ne
	ldr	w8, [x25]
	csel	w8, w8, w20, ne
	cmp	w22, #1
	ldr	w9, [x24]
	ccmp	w23, #1, #0, le
	csel	w20, w9, w8, gt
	tbnz	w20, #31, LBB0_32
; %bb.23:
	orr	w8, w23, w22
	cbz	w8, LBB0_27
; %bb.24:
Lloh9:
	adrp	x8, _any_key@GOTPAGE
Lloh10:
	ldr	x8, [x8, _any_key@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x0, sp, #24
	mov	w2, #8
	bl	_memcmp
	cbz	x0, LBB0_29
; %bb.25:
	add	x0, sp, #24
	mov	x1, x19
	bl	_print_key
LBB0_26:
	mov	x20, x0
	b	LBB0_32
LBB0_27:
	cbz	w21, LBB0_31
; %bb.28:
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_30
LBB0_29:
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
LBB0_30:
	mov	x0, x19
	mov	w2, #7
	bl	_memcpy
	mov	w20, #6
	b	LBB0_32
LBB0_31:
Lloh16:
	adrp	x8, _PXE_PGP_NO_USABLE_KEY@GOTPAGE
Lloh17:
	ldr	x8, [x8, _PXE_PGP_NO_USABLE_KEY@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
LBB0_32:
	ldr	x8, [sp, #56]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_34
; %bb.33:
	mov	x0, x20
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_34:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_15-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_16-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_PXE_PGP_MULTIPLE_KEYS,4,2      ; @PXE_PGP_MULTIPLE_KEYS
	.comm	_PXE_PGP_CORRUPT_DATA,4,2       ; @PXE_PGP_CORRUPT_DATA
	.comm	_any_key,4,2                    ; @any_key
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ANYKEY"

l_.str.1:                               ; @.str.1
	.asciz	"SYMKEY"

	.comm	_PXE_PGP_NO_USABLE_KEY,4,2      ; @PXE_PGP_NO_USABLE_KEY
.subsections_via_symbols
