	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_s2k_fill                   ## -- Begin function pgp_s2k_fill
	.p2align	4, 0x90
_pgp_s2k_fill:                          ## @pgp_s2k_fill
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, (%rdi)
	movl	%edx, 4(%rdi)
	xorl	%r14d, %r14d
	cmpl	$128, %esi
	je	LBB0_11
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$130, %esi
	je	LBB0_5
## %bb.2:
	cmpl	$129, %esi
	jne	LBB0_8
## %bb.3:
	movq	16(%rbx), %rdi
	movq	_PGP_S2K_SALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pg_strong_random
	xorl	%r14d, %r14d
	testl	%eax, %eax
	jne	LBB0_11
	jmp	LBB0_9
LBB0_5:
	movl	%ecx, %r15d
	movq	16(%rbx), %rdi
	movq	_PGP_S2K_SALT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_pg_strong_random
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	leaq	-28(%rbp), %rdi
	movl	$1, %esi
	callq	_pg_strong_random
	testl	%eax, %eax
	je	LBB0_9
## %bb.7:
	movl	-28(%rbp), %edi
	movl	%r15d, %esi
	callq	_decide_s2k_iter
	movl	%eax, 8(%rbx)
	jmp	LBB0_11
LBB0_9:
	movq	_PXE_NO_RANDOM@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_8:
	movq	_PXE_PGP_BAD_S2K_MODE@GOTPCREL(%rip), %rax
LBB0_10:
	movl	(%rax), %r14d
LBB0_11:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PGP_S2K_SALT,4,2               ## @PGP_S2K_SALT
	.comm	_PXE_NO_RANDOM,4,2              ## @PXE_NO_RANDOM
	.comm	_PXE_PGP_BAD_S2K_MODE,4,2       ## @PXE_PGP_BAD_S2K_MODE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_s2k_fill                   ; -- Begin function pgp_s2k_fill
	.p2align	2
_pgp_s2k_fill:                          ; @pgp_s2k_fill
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	stp	w1, w2, [x0]
	cmp	w1, #128
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
	cmp	w1, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #129
	b.ne	LBB0_8
; %bb.3:
	ldr	x0, [x19, #16]
Lloh0:
	adrp	x8, _PGP_S2K_SALT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PGP_S2K_SALT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_pg_strong_random
Lloh3:
	adrp	x8, _PXE_NO_RANDOM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PXE_NO_RANDOM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w0, w8, wzr, eq
	b	LBB0_11
LBB0_4:
	mov	w0, #0
	b	LBB0_11
LBB0_5:
	mov	x20, x3
	ldr	x0, [x19, #16]
Lloh6:
	adrp	x8, _PGP_S2K_SALT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PGP_S2K_SALT@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	bl	_pg_strong_random
	cbz	w0, LBB0_9
; %bb.6:
	add	x0, sp, #12
	mov	w1, #1
	bl	_pg_strong_random
	cbz	w0, LBB0_9
; %bb.7:
	ldr	w0, [sp, #12]
	mov	x1, x20
	bl	_decide_s2k_iter
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #8]
	b	LBB0_11
LBB0_8:
Lloh9:
	adrp	x8, _PXE_PGP_BAD_S2K_MODE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PXE_PGP_BAD_S2K_MODE@GOTPAGEOFF]
	b	LBB0_10
LBB0_9:
Lloh11:
	adrp	x8, _PXE_NO_RANDOM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _PXE_NO_RANDOM@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x8]
LBB0_11:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_PGP_S2K_SALT,4,2               ; @PGP_S2K_SALT
	.comm	_PXE_NO_RANDOM,4,2              ; @PXE_NO_RANDOM
	.comm	_PXE_PGP_BAD_S2K_MODE,4,2       ; @PXE_PGP_BAD_S2K_MODE
.subsections_via_symbols
