	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function internal_read_key
_internal_read_key:                     ## @internal_read_key
	.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
	movl	%r8d, -56(%rbp)                 ## 4-byte Spill
	movl	%ecx, -76(%rbp)                 ## 4-byte Spill
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	$0, -48(%rbp)
	movq	$0, -72(%rbp)
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	leaq	-84(%rbp), %r12
	leaq	-80(%rbp), %r13
	leaq	LJTI0_0(%rip), %r15
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_1
LBB0_23:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_PXE_PGP_MULTIPLE_SUBKEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	callq	_pgp_key_free
LBB0_25:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	$0, -72(%rbp)
LBB0_26:                                ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, %ebx
	js	LBB0_27
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%r13, %rdx
	xorl	%ecx, %ecx
	callq	_pgp_parse_pkt_hdr
	movl	%eax, %ebx
	testl	%eax, %eax
	jle	LBB0_27
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-80(%rbp), %edx
	leaq	-48(%rbp), %rdi
	movq	%r14, %rsi
	movl	%ebx, %ecx
	xorl	%r8d, %r8d
	callq	_pgp_create_pkt_reader
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-84(%rbp), %esi
	leal	-128(%rsi), %eax
	cmpl	$9, %eax
	ja	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15,%rax,4), %rax
	addq	%r15, %rax
	jmpq	*%rax
LBB0_15:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi
	callq	_pgp_skip_packet
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_PXE_PGP_MULTIPLE_KEYS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_18
LBB0_16:                                ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_px_debug
	movq	_PXE_PGP_UNEXPECTED_PKT@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$1, -56(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	callq	_process_secret_key
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_PXE_PGP_EXPECT_SECRET_KEY@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_8:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi
	callq	_pgp_skip_packet
	movl	%eax, %ebx
	movl	$1, -52(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_18
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	_PXE_PGP_EXPECT_PUBLIC_KEY@GOTPCREL(%rip), %rax
LBB0_17:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	(%rax), %ebx
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi
	callq	_pullf_free
	movq	$0, -48(%rbp)
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_26
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, %ebx
	js	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, (%rdi)
	je	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_25
LBB0_11:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	-48(%rbp), %rdi
	leaq	-72(%rbp), %rsi
	callq	__pgp_read_public_key
	movl	%eax, %ebx
	jmp	LBB0_18
LBB0_3:
	movl	%eax, %ebx
LBB0_27:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_29
## %bb.28:
	callq	_pullf_free
LBB0_29:
	testl	%ebx, %ebx
	js	LBB0_30
## %bb.32:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_33
## %bb.34:
	movq	-96(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%ebx, %ebx
	jmp	LBB0_35
LBB0_30:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.31:
	callq	_pgp_key_free
	jmp	LBB0_35
LBB0_33:
	movq	_PXE_PGP_NO_USABLE_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_35:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_9
	.long	L0_0_set_6
	.long	L0_0_set_15
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.comm	_PXE_PGP_MULTIPLE_KEYS,4,2      ## @PXE_PGP_MULTIPLE_KEYS
	.comm	_PXE_PGP_EXPECT_SECRET_KEY,4,2  ## @PXE_PGP_EXPECT_SECRET_KEY
	.comm	_PXE_PGP_EXPECT_PUBLIC_KEY,4,2  ## @PXE_PGP_EXPECT_PUBLIC_KEY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown/unexpected packet: %d"

	.comm	_PXE_PGP_UNEXPECTED_PKT,4,2     ## @PXE_PGP_UNEXPECTED_PKT
	.comm	_PXE_PGP_MULTIPLE_SUBKEYS,4,2   ## @PXE_PGP_MULTIPLE_SUBKEYS
	.comm	_PXE_PGP_NO_USABLE_KEY,4,2      ## @PXE_PGP_NO_USABLE_KEY
	.no_dead_strip	_internal_read_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function internal_read_key
_internal_read_key:                     ; @internal_read_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x1
	mov	x24, x0
	mov	x19, #0
	mov	w28, #0
	str	xzr, [sp, #24]
	str	xzr, [sp, #8]
Lloh0:
	adrp	x27, _PXE_PGP_MULTIPLE_SUBKEYS@GOTPAGE
Lloh1:
	ldr	x27, [x27, _PXE_PGP_MULTIPLE_SUBKEYS@GOTPAGEOFF]
Lloh2:
	adrp	x25, lJTI0_0@PAGE
Lloh3:
	add	x25, x25, lJTI0_0@PAGEOFF
	b	LBB0_5
LBB0_1:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w26, [x27]
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_pgp_key_free
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	str	xzr, [sp, #8]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w26, #31, LBB0_27
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #20
	add	x2, sp, #16
	mov	x0, x24
	mov	w3, #0
	bl	_pgp_parse_pkt_hdr
	mov	x26, x0
	cmp	w0, #1
	b.lt	LBB0_27
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w2, [sp, #16]
	add	x0, sp, #24
	mov	x1, x24
	mov	x3, x26
	mov	x4, #0
	bl	_pgp_create_pkt_reader
	tbnz	w0, #31, LBB0_26
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [sp, #20]
	sub	w8, w1, #128
	cmp	w8, #9
	b.hi	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	adr	x9, LBB0_9
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	bl	_pgp_skip_packet
	mov	x26, x0
	b	LBB0_20
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w28, LBB0_17
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh4:
	adrp	x8, _PXE_PGP_MULTIPLE_KEYS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _PXE_PGP_MULTIPLE_KEYS@GOTPAGEOFF]
Lloh6:
	ldr	w26, [x8]
	mov	w28, #1
	b	LBB0_20
LBB0_12:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh7:
	adrp	x0, l_.str@PAGE
Lloh8:
	add	x0, x0, l_.str@PAGEOFF
	bl	_px_debug
Lloh9:
	adrp	x8, _PXE_PGP_UNEXPECTED_PKT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PXE_PGP_UNEXPECTED_PKT@GOTPAGEOFF]
	b	LBB0_19
LBB0_13:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w21, #1
	b.ne	LBB0_18
; %bb.14:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	add	x1, sp, #8
	mov	x2, x23
	mov	x3, x22
	bl	_process_secret_key
	mov	x26, x0
	b	LBB0_20
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	cbz	w21, LBB0_25
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh11:
	adrp	x8, _PXE_PGP_EXPECT_SECRET_KEY@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PXE_PGP_EXPECT_SECRET_KEY@GOTPAGEOFF]
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	bl	_pgp_skip_packet
	mov	x26, x0
	mov	w28, #1
	b	LBB0_20
LBB0_18:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh13:
	adrp	x8, _PXE_PGP_EXPECT_PUBLIC_KEY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PXE_PGP_EXPECT_PUBLIC_KEY@GOTPAGEOFF]
LBB0_19:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w26, [x8]
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	bl	_pullf_free
	str	xzr, [sp, #24]
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_4
; %bb.21:                               ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w26, #31, LBB0_2
; %bb.22:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	cbnz	x19, LBB0_1
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x19, x0
	b	LBB0_3
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [sp, #24]
	add	x1, sp, #8
	bl	__pgp_read_public_key
	mov	x26, x0
	b	LBB0_20
LBB0_26:
	mov	x26, x0
LBB0_27:
	ldr	x0, [sp, #24]
	cbz	x0, LBB0_29
; %bb.28:
	bl	_pullf_free
LBB0_29:
	tbnz	w26, #31, LBB0_32
; %bb.30:
	cbz	x19, LBB0_34
; %bb.31:
	mov	w26, #0
	str	x19, [x20]
	b	LBB0_35
LBB0_32:
	cbz	x19, LBB0_35
; %bb.33:
	mov	x0, x19
	bl	_pgp_key_free
	b	LBB0_35
LBB0_34:
Lloh15:
	adrp	x8, _PXE_PGP_NO_USABLE_KEY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _PXE_PGP_NO_USABLE_KEY@GOTPAGEOFF]
Lloh17:
	ldr	w26, [x8]
LBB0_35:
	mov	x0, x26
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_13-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_15-LBB0_9)>>2
	.byte	(LBB0_10-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
	.byte	(LBB0_9-LBB0_9)>>2
                                        ; -- End function
	.comm	_PXE_PGP_MULTIPLE_KEYS,4,2      ; @PXE_PGP_MULTIPLE_KEYS
	.comm	_PXE_PGP_EXPECT_SECRET_KEY,4,2  ; @PXE_PGP_EXPECT_SECRET_KEY
	.comm	_PXE_PGP_EXPECT_PUBLIC_KEY,4,2  ; @PXE_PGP_EXPECT_PUBLIC_KEY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown/unexpected packet: %d"

	.comm	_PXE_PGP_UNEXPECTED_PKT,4,2     ; @PXE_PGP_UNEXPECTED_PKT
	.comm	_PXE_PGP_MULTIPLE_SUBKEYS,4,2   ; @PXE_PGP_MULTIPLE_SUBKEYS
	.comm	_PXE_PGP_NO_USABLE_KEY,4,2      ; @PXE_PGP_NO_USABLE_KEY
	.no_dead_strip	_internal_read_key
.subsections_via_symbols
