	.file	"extr_revoke.c_add_revoked.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	add_revoked, @function
add_revoked:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, edx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	ebp, edi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR [rsi]
	mov	ebx, DWORD PTR [rax]
	mov	rdi, QWORD PTR 8[rax]
	lea	esi, 1[rbx]
	sal	esi, 5
	call	realloc@PLT
	test	rax, rax
	je	.L7
	mov	rdx, QWORD PTR 0[r13]
	sal	rbx, 5
	mov	edi, r12d
	lea	rsi, 24[rax+rbx]
	mov	QWORD PTR 8[rdx], rax
	call	hx509_cert_get_serialnumber@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L8
	mov	rax, QWORD PTR 0[r13]
	mov	edx, DWORD PTR choice_Time_generalTime[rip]
	xor	edi, edi
	mov	rax, QWORD PTR 8[rax]
	mov	DWORD PTR 16[rax+rbx], edx
	call	time@PLT
	mov	rdx, QWORD PTR 0[r13]
	sub	rax, 86400
	add	rbx, QWORD PTR 8[rdx]
	mov	QWORD PTR 8[rbx], rax
	mov	eax, r12d
	mov	QWORD PTR [rbx], 0
	add	DWORD PTR [rdx], 1
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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	edi, ebp
	call	hx509_clear_error_string@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L7:
	.cfi_restore_state
	mov	edi, ebp
	call	hx509_clear_error_string@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	add_revoked, .-add_revoked
	.comm	choice_Time_generalTime,4,4
	.comm	ENOMEM,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_revoke.c_add_revoked.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	add_revoked, %function
add_revoked:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r1]
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [r3]
	mov	r5, r1
	add	r4, r4, #1
	lsl	r4, r4, #4
	mov	r6, r0
	mov	r1, r4
	ldr	r0, [r3, #4]
	mov	r7, r2
	bl	realloc
	subs	r3, r0, #0
	beq	.L7
	ldr	r2, [r5]
	sub	r4, r4, #16
	add	r1, r3, r4
	mov	r0, r7
	add	r1, r1, #12
	str	r3, [r2, #4]
	bl	hx509_cert_get_serialnumber
	subs	r7, r0, #0
	bne	.L8
	ldr	r3, [r5]
	ldr	r2, .L9
	ldr	r3, [r3, #4]
	ldr	r2, [r2]
	add	r3, r3, r4
	str	r2, [r3, #8]
	bl	time
	ldr	r3, [r5]
	sub	r0, r0, #86016
	ldr	r2, [r3]
	ldr	r1, [r3, #4]
	sub	r0, r0, #384
	add	ip, r1, r4
	add	r2, r2, #1
	str	r0, [ip, #4]
	str	r7, [r1, r4]
	str	r2, [r3]
.L1:
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	mov	r0, r6
	bl	hx509_clear_error_string
	mov	r0, r7
	pop	{r4, r5, r6, r7, r8, pc}
.L7:
	mov	r0, r6
	bl	hx509_clear_error_string
	ldr	r3, .L9+4
	ldr	r7, [r3]
	b	.L1
.L10:
	.align	2
.L9:
	.word	choice_Time_generalTime
	.word	ENOMEM
	.size	add_revoked, .-add_revoked
	.comm	choice_Time_generalTime,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
