	.file	"extr_statem_dtls.c_dtls_construct_change_cipher_spec.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	dtls_construct_change_cipher_spec
	.type	dtls_construct_change_cipher_spec, @function
dtls_construct_change_cipher_spec:
.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	rbp, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rax, QWORD PTR DTLS1_BAD_VER[rip]
	cmp	QWORD PTR [rdi], rax
	je	.L2
.L4:
	mov	r12d, 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, rsi
	add	DWORD PTR 4[rax], 1
	mov	esi, DWORD PTR [rax]
	call	WPACKET_put_bytes_u16@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L4
	mov	ecx, DWORD PTR ERR_R_INTERNAL_ERROR[rip]
	mov	edx, DWORD PTR SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC[rip]
	mov	rdi, rbp
	mov	esi, DWORD PTR SSL_AD_INTERNAL_ERROR[rip]
	call	SSLfatal@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	dtls_construct_change_cipher_spec, .-dtls_construct_change_cipher_spec
	.comm	SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC,4,4
	.comm	SSL_AD_INTERNAL_ERROR,4,4
	.comm	ERR_R_INTERNAL_ERROR,4,4
	.comm	DTLS1_BAD_VER,8,8
	.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_statem_dtls.c_dtls_construct_change_cipher_spec.c"
	.text
	.align	2
	.global	dtls_construct_change_cipher_spec
	.syntax unified
	.arm
	.fpu softvfp
	.type	dtls_construct_change_cipher_spec, %function
dtls_construct_change_cipher_spec:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L7
	ldr	r2, [r0]
	ldr	r3, [r3]
	push	{r4, r5, r6, lr}
	cmp	r2, r3
	beq	.L2
.L4:
	mov	r5, #1
.L1:
	mov	r0, r5
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r3, [r0, #4]
	mov	r4, r0
	mov	r0, r1
	ldm	r3, {r1, r2}
	add	r2, r2, #1
	str	r2, [r3, #4]
	bl	WPACKET_put_bytes_u16
	subs	r5, r0, #0
	bne	.L4
	ldr	r3, .L7+4
	ldr	r2, .L7+8
	ldr	r1, .L7+12
	mov	r0, r4
	ldr	r3, [r3]
	ldr	r2, [r2]
	ldr	r1, [r1]
	bl	SSLfatal
	b	.L1
.L8:
	.align	2
.L7:
	.word	DTLS1_BAD_VER
	.word	ERR_R_INTERNAL_ERROR
	.word	SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC
	.word	SSL_AD_INTERNAL_ERROR
	.size	dtls_construct_change_cipher_spec, .-dtls_construct_change_cipher_spec
	.comm	SSL_F_DTLS_CONSTRUCT_CHANGE_CIPHER_SPEC,4,4
	.comm	SSL_AD_INTERNAL_ERROR,4,4
	.comm	ERR_R_INTERNAL_ERROR,4,4
	.comm	DTLS1_BAD_VER,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
