	.file	"extr_ssl_lib.c_SSL_key_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	SSL_key_update
	.type	SSL_key_update, @function
SSL_key_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	call	SSL_IS_TLS13@PLT
	test	eax, eax
	je	.L8
	cmp	DWORD PTR SSL_KEY_UPDATE_NOT_REQUESTED[rip], ebp
	je	.L4
	cmp	DWORD PTR SSL_KEY_UPDATE_REQUESTED[rip], ebp
	jne	.L9
.L4:
	mov	rdi, rbx
	call	SSL_is_init_finished@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L10
	mov	rdi, rbx
	mov	r12d, 1
	mov	esi, 1
	call	ossl_statem_set_in_init@PLT
	mov	DWORD PTR [rbx], ebp
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	esi, DWORD PTR SSL_R_INVALID_KEY_UPDATE_TYPE[rip]
	mov	edi, DWORD PTR SSL_F_SSL_KEY_UPDATE[rip]
	xor	r12d, r12d
	call	SSLerr@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR SSL_R_WRONG_SSL_VERSION[rip]
	mov	edi, DWORD PTR SSL_F_SSL_KEY_UPDATE[rip]
	mov	r12d, eax
	call	SSLerr@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR SSL_R_STILL_IN_INIT[rip]
	mov	edi, DWORD PTR SSL_F_SSL_KEY_UPDATE[rip]
	call	SSLerr@PLT
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	SSL_key_update, .-SSL_key_update
	.comm	SSL_R_WRONG_SSL_VERSION,4,4
	.comm	SSL_R_STILL_IN_INIT,4,4
	.comm	SSL_R_INVALID_KEY_UPDATE_TYPE,4,4
	.comm	SSL_KEY_UPDATE_REQUESTED,4,4
	.comm	SSL_KEY_UPDATE_NOT_REQUESTED,4,4
	.comm	SSL_F_SSL_KEY_UPDATE,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_lib.c_SSL_key_update.c"
	.text
	.align	2
	.global	SSL_key_update
	.syntax unified
	.arm
	.fpu softvfp
	.type	SSL_key_update, %function
SSL_key_update:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	mov	r6, r0
	bl	SSL_IS_TLS13
	subs	r4, r0, #0
	beq	.L8
	ldr	r3, .L11
	ldr	r3, [r3]
	cmp	r3, r5
	beq	.L4
	ldr	r3, .L11+4
	ldr	r3, [r3]
	cmp	r3, r5
	bne	.L9
.L4:
	mov	r0, r6
	bl	SSL_is_init_finished
	subs	r4, r0, #0
	beq	.L10
	mov	r4, #1
	mov	r0, r6
	mov	r1, r4
	bl	ossl_statem_set_in_init
	mov	r0, r4
	str	r5, [r6]
	pop	{r4, r5, r6, pc}
.L9:
	mov	r4, #0
	ldr	r2, .L11+8
	ldr	r3, .L11+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	SSLerr
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	ldr	r2, .L11+16
	ldr	r3, .L11+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	SSLerr
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L10:
	ldr	r2, .L11+20
	ldr	r3, .L11+12
	ldr	r1, [r2]
	ldr	r0, [r3]
	bl	SSLerr
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L12:
	.align	2
.L11:
	.word	SSL_KEY_UPDATE_NOT_REQUESTED
	.word	SSL_KEY_UPDATE_REQUESTED
	.word	SSL_R_INVALID_KEY_UPDATE_TYPE
	.word	SSL_F_SSL_KEY_UPDATE
	.word	SSL_R_WRONG_SSL_VERSION
	.word	SSL_R_STILL_IN_INIT
	.size	SSL_key_update, .-SSL_key_update
	.comm	SSL_R_WRONG_SSL_VERSION,4,4
	.comm	SSL_R_STILL_IN_INIT,4,4
	.comm	SSL_R_INVALID_KEY_UPDATE_TYPE,4,4
	.comm	SSL_KEY_UPDATE_REQUESTED,4,4
	.comm	SSL_KEY_UPDATE_NOT_REQUESTED,4,4
	.comm	SSL_F_SSL_KEY_UPDATE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
