	.file	"extr_ca.c_do_updatedb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"time string"
.LC1:
	.string	"49"
.LC2:
	.string	"%s=Expired\n"
	.text
	.p2align 4
	.type	do_updatedb, @function
do_updatedb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	xor	eax, eax
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	call	ASN1_UTCTIME_new@PLT
	test	rax, rax
	je	.L10
	xor	esi, esi
	mov	rdi, rax
	mov	r12, rax
	call	X509_gmtime_adj@PLT
	test	rax, rax
	je	.L13
	mov	eax, DWORD PTR [r12]
	lea	rsi, .LC0[rip]
	xor	ebx, ebx
	lea	r15, .LC1[rip]
	lea	edi, 1[rax]
	call	app_malloc@PLT
	mov	esi, DWORD PTR 4[r12]
	mov	edx, DWORD PTR [r12]
	mov	rdi, rax
	mov	r13, rax
	call	memcpy@PLT
	movsx	rax, DWORD PTR [r12]
	mov	edx, 2
	mov	rdi, r13
	lea	rsi, .LC1[rip]
	mov	BYTE PTR 0[r13+rax], 0
	call	strncmp@PLT
	mov	DWORD PTR 12[rsp], 0
	mov	QWORD PTR [rsp], rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	add	ebx, 1
.L4:
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	call	sk_OPENSSL_PSTRING_num@PLT
	cmp	eax, ebx
	jle	.L14
	mov	rax, QWORD PTR 0[rbp]
	mov	esi, ebx
	mov	edi, DWORD PTR [rax]
	call	sk_OPENSSL_PSTRING_value@PLT
	movzx	ecx, BYTE PTR DB_TYPE_VAL[rip]
	mov	r14, rax
	mov	rax, QWORD PTR DB_type[rip]
	mov	rax, QWORD PTR [r14+rax*8]
	cmp	BYTE PTR [rax], cl
	jne	.L5
	mov	rax, QWORD PTR DB_exp_date[rip]
	mov	edx, 2
	mov	rsi, r15
	mov	rdi, QWORD PTR [r14+rax*8]
	call	strncmp@PLT
	test	rax, rax
	jle	.L6
	cmp	QWORD PTR [rsp], 0
	jg	.L9
.L7:
	mov	rax, QWORD PTR DB_type[rip]
	movzx	edx, BYTE PTR DB_TYPE_EXP[rip]
	lea	rsi, .LC2[rip]
	mov	rax, QWORD PTR [r14+rax*8]
	mov	BYTE PTR [rax], dl
	mov	rax, QWORD PTR DB_type[rip]
	mov	rax, QWORD PTR [r14+rax*8]
	mov	BYTE PTR 1[rax], 0
	mov	rax, QWORD PTR DB_serial[rip]
	mov	edi, DWORD PTR bio_err[rip]
	add	DWORD PTR 12[rsp], 1
	mov	rdx, QWORD PTR [r14+rax*8]
	call	BIO_printf@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rdi, r12
	call	ASN1_UTCTIME_free@PLT
	mov	rdi, r13
	call	OPENSSL_free@PLT
.L1:
	mov	eax, DWORD PTR 12[rsp]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmp	QWORD PTR [rsp], 0
	jg	.L5
.L9:
	mov	rax, QWORD PTR DB_exp_date[rip]
	mov	rsi, r13
	mov	rdi, QWORD PTR [r14+rax*8]
	call	strcmp@PLT
	test	rax, rax
	jg	.L5
	jmp	.L7
.L10:
	mov	DWORD PTR 12[rsp], -1
	jmp	.L1
.L13:
	mov	rdi, r12
	call	ASN1_UTCTIME_free@PLT
	mov	DWORD PTR 12[rsp], -1
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	do_updatedb, .-do_updatedb
	.comm	bio_err,4,4
	.comm	DB_type,8,8
	.comm	DB_serial,8,8
	.comm	DB_exp_date,8,8
	.comm	DB_TYPE_VAL,1,1
	.comm	DB_TYPE_EXP,1,1
	.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_ca.c_do_updatedb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"time string\000"
	.align	2
.LC1:
	.ascii	"%s=Expired\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	do_updatedb, %function
do_updatedb:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #20
	mov	r5, r0
	bl	ASN1_UTCTIME_new
	subs	r8, r0, #0
	beq	.L12
	mov	r1, #0
	bl	X509_gmtime_adj
	cmp	r0, #0
	beq	.L15
	ldr	r0, [r8]
	ldr	r1, .L17
	add	r0, r0, #1
	bl	app_malloc
	ldr	r2, [r8]
	ldr	r1, [r8, #4]
	mov	r9, r0
	bl	memcpy
	mov	r2, #0
	ldr	r3, [r8]
	ldr	r6, .L17+4
	strb	r2, [r9, r3]
	ldrb	r3, [r9]	@ zero_extendqisi2
	ldr	r7, .L17+8
	subs	r3, r3, #52
	str	r3, [sp, #4]
	ldrbeq	r3, [r9, #1]	@ zero_extendqisi2
	ldr	fp, .L17+12
	subeq	r3, r3, #57
	streq	r3, [sp, #4]
	mov	r3, #0
	mov	r10, r3
	str	r3, [sp, #8]
	b	.L5
.L6:
	add	r10, r10, #1
.L5:
	ldr	r2, [r5]
	ldr	r0, [r2]
	bl	sk_OPENSSL_PSTRING_num
	cmp	r0, r10
	ble	.L16
	ldr	r2, [r5]
	mov	r1, r10
	ldr	r0, [r2]
	bl	sk_OPENSSL_PSTRING_value
	ldr	r2, [r6]
	mov	r4, r0
	ldr	r2, [r0, r2, lsl #2]
	ldrb	r1, [r7]	@ zero_extendqisi2
	ldrb	r0, [r2]	@ zero_extendqisi2
	cmp	r0, r1
	bne	.L6
	ldr	r1, [fp]
	ldr	r3, [sp, #4]
	ldr	r0, [r4, r1, lsl #2]
	ldrb	r1, [r0]	@ zero_extendqisi2
	subs	r1, r1, #52
	ldrbeq	r1, [r0, #1]	@ zero_extendqisi2
	subeq	r1, r1, #57
	cmp	r1, #0
	ble	.L8
	cmp	r3, #0
	bgt	.L11
.L9:
	mov	r0, #0
	ldr	r3, .L17+16
	ldrb	r1, [r3]	@ zero_extendqisi2
	ldr	r3, [sp, #8]
	strb	r1, [r2]
	ldr	r2, [r6]
	add	r3, r3, #1
	ldr	r2, [r4, r2, lsl #2]
	str	r3, [sp, #8]
	ldr	r3, .L17+20
	strb	r0, [r2, #1]
	ldr	r2, [r3]
	ldr	r3, .L17+24
	ldr	r1, .L17+28
	ldr	r0, [r3]
	ldr	r2, [r4, r2, lsl #2]
	bl	BIO_printf
	b	.L6
.L8:
	cmp	r3, #0
	bgt	.L6
.L11:
	mov	r1, r9
	str	r2, [sp, #12]
	bl	strcmp
	cmp	r0, #0
	ldr	r2, [sp, #12]
	bgt	.L6
	b	.L9
.L16:
	mov	r0, r8
	bl	ASN1_UTCTIME_free
	mov	r0, r9
	bl	OPENSSL_free
.L1:
	ldr	r0, [sp, #8]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	mvn	r3, #0
	str	r3, [sp, #8]
	b	.L1
.L15:
	mov	r0, r8
	bl	ASN1_UTCTIME_free
	mvn	r3, #0
	str	r3, [sp, #8]
	b	.L1
.L18:
	.align	2
.L17:
	.word	.LC0
	.word	DB_type
	.word	DB_TYPE_VAL
	.word	DB_exp_date
	.word	DB_TYPE_EXP
	.word	DB_serial
	.word	bio_err
	.word	.LC1
	.size	do_updatedb, .-do_updatedb
	.comm	bio_err,4,4
	.comm	DB_type,4,4
	.comm	DB_serial,4,4
	.comm	DB_exp_date,4,4
	.comm	DB_TYPE_VAL,1,1
	.comm	DB_TYPE_EXP,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
