	.file	"extr_ct_vfy.c_sct_ctx_update.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sct_ctx_update, @function
sct_ctx_update:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 32
	.cfi_def_cfa_offset 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rax, QWORD PTR [rdx]
	cmp	rax, QWORD PTR CT_LOG_ENTRY_TYPE_NOT_SET[rip]
	je	.L5
	cmp	rax, QWORD PTR CT_LOG_ENTRY_TYPE_PRECERT[rip]
	mov	r12, rdi
	mov	r13, rsi
	mov	rbx, rdx
	jne	.L4
	cmp	QWORD PTR [rsi], 0
	je	.L5
.L4:
	mov	eax, DWORD PTR 28[rbx]
	mov	edi, DWORD PTR 24[rbx]
	lea	rbp, 14[rsp]
	lea	r14, 12[rsp]
	mov	rsi, rbp
	mov	BYTE PTR 12[rsp], al
	mov	eax, DWORD PTR SIGNATURE_TYPE_CERT_TIMESTAMP[rip]
	mov	BYTE PTR 13[rsp], al
	call	l2n8@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	rsi, rbp
	call	s2n@PLT
	mov	edx, 2
	mov	rsi, r14
	mov	rdi, r12
	call	EVP_DigestUpdate@PLT
	test	eax, eax
	je	.L5
	mov	rax, QWORD PTR CT_LOG_ENTRY_TYPE_X509[rip]
	cmp	QWORD PTR [rbx], rax
	jne	.L6
	mov	rbp, QWORD PTR 8[r13]
	mov	r13, QWORD PTR 16[r13]
.L7:
	test	rbp, rbp
	je	.L5
	mov	rsi, r14
	mov	rdi, r13
	call	l2n3@PLT
	mov	edx, 3
	mov	rsi, r14
	mov	rdi, r12
	call	EVP_DigestUpdate@PLT
	test	eax, eax
	jne	.L31
	.p2align 4,,10
	.p2align 3
.L5:
	xor	eax, eax
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L32
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edx, DWORD PTR 24[r13]
	mov	rsi, QWORD PTR 0[r13]
	mov	rdi, r12
	call	EVP_DigestUpdate@PLT
	test	eax, eax
	je	.L5
	mov	rbp, QWORD PTR 32[r13]
	mov	r13, QWORD PTR 40[r13]
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L31:
	mov	edx, r13d
	mov	rsi, rbp
	mov	rdi, r12
	call	EVP_DigestUpdate@PLT
	test	eax, eax
	je	.L5
	mov	rdi, QWORD PTR 8[rbx]
	mov	rsi, r14
	call	s2n@PLT
	mov	edx, 2
	mov	rsi, r14
	mov	rdi, r12
	call	EVP_DigestUpdate@PLT
	test	eax, eax
	je	.L5
	mov	rdx, QWORD PTR 8[rbx]
	mov	eax, 1
	test	rdx, rdx
	je	.L1
	mov	rsi, QWORD PTR 16[rbx]
	mov	rdi, r12
	call	EVP_DigestUpdate@PLT
	test	eax, eax
	setne	al
	movzx	eax, al
	jmp	.L1
.L32:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	sct_ctx_update, .-sct_ctx_update
	.comm	SIGNATURE_TYPE_CERT_TIMESTAMP,4,4
	.comm	CT_LOG_ENTRY_TYPE_X509,8,8
	.comm	CT_LOG_ENTRY_TYPE_PRECERT,8,8
	.comm	CT_LOG_ENTRY_TYPE_NOT_SET,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_ct_vfy.c_sct_ctx_update.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sct_ctx_update, %function
sct_ctx_update:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r2
	ldr	r2, .L35
	ldr	r3, [r4]
	ldr	r2, [r2]
	sub	sp, sp, #20
	cmp	r3, r2
	ldr	r2, .L35+4
	ldr	r2, [r2]
	str	r2, [sp, #12]
	mov	r2,#0
	beq	.L5
	ldr	r2, .L35+8
	mov	r6, r0
	ldr	r2, [r2]
	mov	r5, r1
	cmp	r3, r2
	bne	.L4
	ldr	r3, [r1]
	cmp	r3, #0
	beq	.L5
.L4:
	ldr	r2, .L35+12
	ldr	r3, [r4, #16]
	ldr	r2, [r2]
	add	r1, sp, #2
	ldr	r0, [r4, #12]
	strb	r2, [sp, #1]
	strb	r3, [sp]
	bl	l2n8
	add	r1, sp, #2
	ldr	r0, [r4]
	bl	s2n
	mov	r1, sp
	mov	r2, #2
	mov	r0, r6
	bl	EVP_DigestUpdate
	cmp	r0, #0
	beq	.L5
	ldr	r3, .L35+16
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L6
	ldr	r7, [r5, #4]
	ldr	r5, [r5, #8]
.L7:
	cmp	r7, #0
	beq	.L5
	mov	r1, sp
	mov	r0, r5
	bl	l2n3
	mov	r2, #3
	mov	r1, sp
	mov	r0, r6
	bl	EVP_DigestUpdate
	cmp	r0, #0
	bne	.L33
.L5:
	mov	r0, #0
.L1:
	ldr	r3, .L35+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L34
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	mov	r0, r6
	ldr	r2, [r5, #12]
	ldr	r1, [r5]
	bl	EVP_DigestUpdate
	cmp	r0, #0
	beq	.L5
	ldr	r7, [r5, #16]
	ldr	r5, [r5, #20]
	b	.L7
.L33:
	mov	r2, r5
	mov	r1, r7
	mov	r0, r6
	bl	EVP_DigestUpdate
	cmp	r0, #0
	beq	.L5
	mov	r1, sp
	ldr	r0, [r4, #4]
	bl	s2n
	mov	r1, sp
	mov	r2, #2
	mov	r0, r6
	bl	EVP_DigestUpdate
	cmp	r0, #0
	beq	.L5
	ldr	r2, [r4, #4]
	cmp	r2, #0
	moveq	r0, #1
	beq	.L1
	mov	r0, r6
	ldr	r1, [r4, #8]
	bl	EVP_DigestUpdate
	subs	r0, r0, #0
	movne	r0, #1
	b	.L1
.L34:
	bl	__stack_chk_fail
.L36:
	.align	2
.L35:
	.word	CT_LOG_ENTRY_TYPE_NOT_SET
	.word	.LC0
	.word	CT_LOG_ENTRY_TYPE_PRECERT
	.word	SIGNATURE_TYPE_CERT_TIMESTAMP
	.word	CT_LOG_ENTRY_TYPE_X509
	.size	sct_ctx_update, .-sct_ctx_update
	.comm	SIGNATURE_TYPE_CERT_TIMESTAMP,4,4
	.comm	CT_LOG_ENTRY_TYPE_X509,4,4
	.comm	CT_LOG_ENTRY_TYPE_PRECERT,4,4
	.comm	CT_LOG_ENTRY_TYPE_NOT_SET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
