	.file	"extr_revoke.c_hx509_revoke_add_ocsp.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"FILE:"
.LC1:
	.string	"unsupport type in %s"
	.text
	.p2align 4
	.globl	hx509_revoke_add_ocsp
	.type	hx509_revoke_add_ocsp, @function
hx509_revoke_add_ocsp:
.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
	mov	r13d, edi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rdx
	mov	edx, 5
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rdi, r12
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	strncmp@PLT
	test	rax, rax
	jne	.L15
	add	r12, 5
	cmp	QWORD PTR 0[rbp], 0
	je	.L9
	xor	ebx, ebx
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rax, QWORD PTR 0[rbp]
	add	rbx, 1
	cmp	rax, rbx
	jbe	.L16
.L5:
	mov	rax, QWORD PTR 8[rbp]
	mov	rsi, r12
	mov	rdi, QWORD PTR [rax]
	call	strcmp@PLT
	test	rax, rax
	jne	.L17
	xor	r12d, r12d
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	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
.L16:
	.cfi_restore_state
	lea	esi, 8[0+rax*8]
.L4:
	mov	rdi, QWORD PTR 8[rbp]
	call	realloc@PLT
	test	rax, rax
	je	.L13
	mov	rdx, QWORD PTR 0[rbp]
	mov	QWORD PTR 8[rbp], rax
	xor	esi, esi
	lea	rdi, [rax+rdx*8]
	mov	edx, 8
	call	memset@PLT
	mov	rdx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, r12
	lea	r14, [rax+rdx*8]
	call	strdup@PLT
	mov	QWORD PTR [r14], rax
	test	rax, rax
	je	.L13
	mov	rsi, r14
	mov	edi, r13d
	call	load_ocsp@PLT
	mov	r12d, eax
	test	eax, eax
	jne	.L18
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	add	QWORD PTR 0[rbp], 1
	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
.L15:
	.cfi_restore_state
	mov	edx, DWORD PTR HX509_UNSUPPORTED_OPERATION[rip]
	mov	r8, r12
	mov	edi, r13d
	xor	esi, esi
	lea	rcx, .LC1[rip]
	call	hx509_set_error_string@PLT
	mov	r12d, DWORD PTR HX509_UNSUPPORTED_OPERATION[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
.L13:
	.cfi_restore_state
	mov	edi, r13d
	call	hx509_clear_error_string@PLT
	mov	r12d, DWORD PTR ENOMEM[rip]
	jmp	.L1
.L18:
	mov	rdx, QWORD PTR 0[rbp]
	mov	rax, QWORD PTR 8[rbp]
	mov	rdi, QWORD PTR [rax+rdx*8]
	call	free@PLT
	jmp	.L1
.L9:
	mov	esi, 8
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	hx509_revoke_add_ocsp, .-hx509_revoke_add_ocsp
	.comm	HX509_UNSUPPORTED_OPERATION,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_hx509_revoke_add_ocsp.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"FILE:\000"
	.align	2
.LC1:
	.ascii	"unsupport type in %s\000"
	.text
	.align	2
	.global	hx509_revoke_add_ocsp
	.syntax unified
	.arm
	.fpu softvfp
	.type	hx509_revoke_add_ocsp, %function
hx509_revoke_add_ocsp:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	mov	r7, r2
	mov	r6, r0
	mov	r5, r1
	mov	r0, r2
	ldr	r1, .L22
	mov	r2, #5
	sub	sp, sp, #12
	bl	strncmp
	subs	r4, r0, #0
	bne	.L16
	ldr	r9, [r5]
	ldr	r8, [r5, #4]
	cmp	r9, #0
	add	r7, r7, #5
	beq	.L9
	mov	r1, r7
	ldr	r0, [r8]
	bl	strcmp
	mov	r3, r4
	mov	r4, r0
	b	.L5
.L18:
	cmp	r3, r9
	beq	.L17
.L5:
	cmp	r4, #0
	add	r3, r3, #1
	bne	.L18
.L1:
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L17:
	add	r3, r3, #1
	lsl	r1, r3, #2
.L4:
	mov	r0, r8
	bl	realloc
	subs	r3, r0, #0
	beq	.L19
	mov	r1, #0
	ldr	r2, [r5]
	str	r3, [r5, #4]
	mov	r0, r7
	str	r1, [r3, r2, lsl #2]
	ldr	r7, [r5]
	ldr	r4, [r5, #4]
	bl	strdup
	cmp	r0, #0
	str	r0, [r4, r7, lsl #2]
	add	r1, r4, r7, lsl #2
	mov	r0, r6
	beq	.L20
	bl	load_ocsp
	subs	r4, r0, #0
	bne	.L21
	mov	r0, r4
	ldr	r3, [r5]
	add	r3, r3, #1
	str	r3, [r5]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L16:
	ldr	r4, .L22+4
	str	r7, [sp]
	ldr	r2, [r4]
	mov	r0, r6
	mov	r1, #0
	ldr	r3, .L22+8
	bl	hx509_set_error_string
	ldr	r4, [r4]
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L21:
	ldm	r5, {r2, r3}
	ldr	r0, [r3, r2, lsl #2]
	bl	free
	b	.L1
.L9:
	mov	r1, #4
	b	.L4
.L19:
	mov	r0, r6
	bl	hx509_clear_error_string
	ldr	r3, .L22+12
	ldr	r4, [r3]
	b	.L1
.L20:
	bl	hx509_clear_error_string
	ldr	r3, .L22+12
	ldr	r4, [r3]
	b	.L1
.L23:
	.align	2
.L22:
	.word	.LC0
	.word	HX509_UNSUPPORTED_OPERATION
	.word	.LC1
	.word	ENOMEM
	.size	hx509_revoke_add_ocsp, .-hx509_revoke_add_ocsp
	.comm	HX509_UNSUPPORTED_OPERATION,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
