	.file	"extr_ssl_rsa.c_SSL_CTX_use_RSAPrivateKey.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SSL_CTX_use_RSAPrivateKey
	.type	SSL_CTX_use_RSAPrivateKey, @function
SSL_CTX_use_RSAPrivateKey:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	test	rsi, rsi
	je	.L8
	xor	eax, eax
	mov	rbx, rdi
	mov	rbp, rsi
	call	EVP_PKEY_new@PLT
	mov	r12, rax
	test	rax, rax
	je	.L9
	mov	rdi, rbp
	call	RSA_up_ref@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	EVP_PKEY_assign_RSA@PLT
	test	rax, rax
	jle	.L10
	mov	edi, DWORD PTR [rbx]
	mov	rsi, r12
	call	ssl_set_pkey@PLT
	mov	rdi, r12
	mov	r13d, eax
	call	EVP_PKEY_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	rdi, rbp
	xor	r13d, r13d
	call	RSA_free@PLT
	mov	rdi, r12
	call	EVP_PKEY_free@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR ERR_R_PASSED_NULL_PARAMETER[rip]
	mov	edi, DWORD PTR SSL_F_SSL_CTX_USE_RSAPRIVATEKEY[rip]
	xor	r13d, r13d
	call	SSLerr@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR ERR_R_EVP_LIB[rip]
	mov	edi, DWORD PTR SSL_F_SSL_CTX_USE_RSAPRIVATEKEY[rip]
	xor	r13d, r13d
	call	SSLerr@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	eax, r13d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	SSL_CTX_use_RSAPrivateKey, .-SSL_CTX_use_RSAPrivateKey
	.comm	SSL_F_SSL_CTX_USE_RSAPRIVATEKEY,4,4
	.comm	ERR_R_PASSED_NULL_PARAMETER,4,4
	.comm	ERR_R_EVP_LIB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ssl_rsa.c_SSL_CTX_use_RSAPrivateKey.c"
	.text
	.align	2
	.global	SSL_CTX_use_RSAPrivateKey
	.syntax unified
	.arm
	.fpu softvfp
	.type	SSL_CTX_use_RSAPrivateKey, %function
SSL_CTX_use_RSAPrivateKey:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r1, #0
	beq	.L8
	mov	r6, r0
	bl	EVP_PKEY_new
	subs	r5, r0, #0
	beq	.L9
	mov	r0, r4
	bl	RSA_up_ref
	mov	r1, r4
	mov	r0, r5
	bl	EVP_PKEY_assign_RSA
	cmp	r0, #0
	ble	.L10
	mov	r1, r5
	ldr	r0, [r6]
	bl	ssl_set_pkey
	mov	r4, r0
	mov	r0, r5
	bl	EVP_PKEY_free
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	mov	r0, r4
	mov	r4, #0
	bl	RSA_free
	mov	r0, r5
	bl	EVP_PKEY_free
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r2, .L11
	ldr	r3, .L11+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	SSLerr
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L9:
	mov	r4, r5
	ldr	r2, .L11+8
	ldr	r3, .L11+4
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	SSLerr
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	ERR_R_PASSED_NULL_PARAMETER
	.word	SSL_F_SSL_CTX_USE_RSAPRIVATEKEY
	.word	ERR_R_EVP_LIB
	.size	SSL_CTX_use_RSAPrivateKey, .-SSL_CTX_use_RSAPrivateKey
	.comm	SSL_F_SSL_CTX_USE_RSAPRIVATEKEY,4,4
	.comm	ERR_R_PASSED_NULL_PARAMETER,4,4
	.comm	ERR_R_EVP_LIB,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
