	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pkey_rsa_encrypt
_pkey_rsa_encrypt:                      ## @pkey_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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdx
	movq	(%rdi), %rax
	movq	8(%rdi), %rbx
	movq	(%rbx), %r8
	movq	_RSA_PKCS1_OAEP_PADDING@GOTPCREL(%rip), %rsi
	movl	(%rax), %ecx
	cmpq	(%rsi), %r8
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%ecx, %edi
	callq	_RSA_size
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_setup_tbuf
	movl	$-1, %r13d
	testl	%eax, %eax
	je	LBB0_7
## %bb.2:
	movq	8(%rbx), %rdi
	movl	28(%rbx), %r8d
	movl	24(%rbx), %r9d
	movl	20(%rbx), %r10d
	movl	16(%rbx), %eax
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	movq	%r15, %rdx
	movq	%r14, %rcx
	pushq	%rax
	pushq	%r10
	callq	_RSA_padding_add_PKCS1_OAEP_mgf1
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movslq	-44(%rbp), %rdi                 ## 4-byte Folded Reload
	movq	8(%rbx), %rsi
	movq	(%r12), %rax
	movl	(%rax), %ecx
	movq	_RSA_NO_PADDING@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_4:
	movq	%r14, %rdi
	movq	%r15, %rsi
LBB0_5:
	callq	_RSA_public_encrypt
	movl	%eax, %r13d
	testl	%eax, %eax
	js	LBB0_7
## %bb.6:
	movl	%r13d, %eax
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movl	$1, %r13d
LBB0_7:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_PKCS1_OAEP_PADDING,8,3     ## @RSA_PKCS1_OAEP_PADDING
	.comm	_RSA_NO_PADDING,8,3             ## @RSA_NO_PADDING
	.no_dead_strip	_pkey_rsa_encrypt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pkey_rsa_encrypt
_pkey_rsa_encrypt:                      ; @pkey_rsa_encrypt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x23, x4
	mov	x24, x3
	mov	x19, x2
	mov	x20, x1
	ldp	x8, x22, [x0]
	ldr	x4, [x22]
Lloh0:
	adrp	x9, _RSA_PKCS1_OAEP_PADDING@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RSA_PKCS1_OAEP_PADDING@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	w3, [x8]
	cmp	x4, x9
	b.ne	LBB0_4
; %bb.1:
	mov	x21, x0
	mov	x0, x3
	bl	_RSA_size
	mov	x25, x0
	mov	x0, x22
	mov	x1, x21
	bl	_setup_tbuf
	cbz	w0, LBB0_7
; %bb.2:
	ldr	x0, [x22, #8]
	ldp	w5, w4, [x22, #24]
	ldp	w7, w6, [x22, #16]
	mov	x1, x25
	mov	x2, x24
	mov	x3, x23
	bl	_RSA_padding_add_PKCS1_OAEP_mgf1
	cbz	w0, LBB0_7
; %bb.3:
	sxtw	x0, w25
	ldr	x1, [x22, #8]
	ldr	x8, [x21]
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _RSA_NO_PADDING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RSA_NO_PADDING@GOTPAGEOFF]
Lloh5:
	ldr	x4, [x8]
	b	LBB0_5
LBB0_4:
	mov	x0, x23
	mov	x1, x24
LBB0_5:
	mov	x2, x20
	bl	_RSA_public_encrypt
	tbnz	w0, #31, LBB0_8
; %bb.6:
	mov	w8, w0
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_8
LBB0_7:
	mov	w0, #-1
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_PKCS1_OAEP_PADDING,8,3     ; @RSA_PKCS1_OAEP_PADDING
	.comm	_RSA_NO_PADDING,8,3             ; @RSA_NO_PADDING
	.no_dead_strip	_pkey_rsa_encrypt
.subsections_via_symbols
