	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_rsa_encrypt                ## -- Begin function pgp_rsa_encrypt
	.p2align	4, 0x90
_pgp_rsa_encrypt:                       ## @pgp_rsa_encrypt
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	_PXE_PGP_MATH_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%rsi, %rdi
	callq	_mpi_to_bn
	movq	%rax, %r15
	movq	8(%rbx), %rdi
	callq	_mpi_to_bn
	movq	%rax, %r12
	movq	(%rbx), %rdi
	callq	_mpi_to_bn
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_mp_new
	movq	%rax, %r13
	testq	%r15, %r15
	je	LBB0_5
## %bb.1:
	testq	%r12, %r12
	je	LBB0_5
## %bb.2:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.3:
	testq	%r13, %r13
	je	LBB0_5
## %bb.4:
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	movq	%r13, %rcx
	callq	_mp_int_exptmod
	movq	%r13, %rdi
	callq	_bn_to_mpi
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%ecx, %ecx
	testq	%rax, %rax
	cmovnel	%ecx, %r14d
LBB0_5:
	movq	%r13, %rdi
	callq	_mp_clear_free
	movq	%rbx, %rdi
	callq	_mp_clear_free
	movq	%r12, %rdi
	callq	_mp_clear_free
	movq	%r15, %rdi
	callq	_mp_clear_free
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PXE_PGP_MATH_FAILED,4,2        ## @PXE_PGP_MATH_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pgp_rsa_encrypt                ; -- Begin function pgp_rsa_encrypt
	.p2align	2
_pgp_rsa_encrypt:                       ; @pgp_rsa_encrypt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x22, x2
	mov	x23, x0
Lloh0:
	adrp	x8, _PXE_PGP_MATH_FAILED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PXE_PGP_MATH_FAILED@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	mov	x0, x1
	bl	_mpi_to_bn
	mov	x20, x0
	ldr	x0, [x23, #8]
	bl	_mpi_to_bn
	mov	x21, x0
	ldr	x0, [x23]
	bl	_mpi_to_bn
	mov	x23, x0
	bl	_mp_new
	mov	x24, x0
	cbz	x20, LBB0_3
; %bb.1:
	cmp	x21, #0
	ccmp	x23, #0, #4, ne
	ccmp	x24, #0, #4, ne
	b.eq	LBB0_3
; %bb.2:
	mov	x0, x20
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	bl	_mp_int_exptmod
	mov	x0, x24
	bl	_bn_to_mpi
	str	x0, [x22]
	cmp	x0, #0
	csel	w19, w19, wzr, eq
LBB0_3:
	mov	x0, x24
	bl	_mp_clear_free
	mov	x0, x23
	bl	_mp_clear_free
	mov	x0, x21
	bl	_mp_clear_free
	mov	x0, x20
	bl	_mp_clear_free
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PXE_PGP_MATH_FAILED,4,2        ; @PXE_PGP_MATH_FAILED
.subsections_via_symbols
