	.file	"extr_nseq.c_nseq_main.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s: Use -help for summary.\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"%s: Error reading certs file %s\n"
	.align 8
.LC2:
	.string	"%s: Error reading sequence file %s\n"
	.text
	.p2align 4
	.globl	nseq_main
	.type	nseq_main, @function
nseq_main:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	xor	r14d, r14d
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	xor	r12d, r12d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	xor	ebp, ebp
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	rbx, .L5[rip]
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	edx, DWORD PTR nseq_options[rip]
	call	opt_init@PLT
	mov	r13, rax
.L2:
	xor	eax, eax
	call	opt_next@PLT
	cmp	eax, 133
	je	.L30
.L11:
	add	eax, -128
	cmp	eax, 4
	ja	.L2
	movsx	rax, DWORD PTR [rbx+rax*4]
	add	rax, rbx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L5:
	.long	.L9-.L5
	.long	.L8-.L5
	.long	.L7-.L5
	.long	.L6-.L5
	.long	.L4-.L5
	.text
.L9:
	xor	eax, eax
	mov	r12d, 1
	call	opt_next@PLT
	cmp	eax, 133
	jne	.L11
.L30:
	xor	eax, eax
	call	opt_num_rest@PLT
	test	eax, eax
	jne	.L4
	mov	edx, DWORD PTR FORMAT_PEM[rip]
	mov	esi, 114
	mov	rdi, r14
	call	bio_open_default@PLT
	mov	rbx, rax
	test	rax, rax
	je	.L18
	mov	edx, DWORD PTR FORMAT_PEM[rip]
	mov	esi, 119
	mov	rdi, rbp
	call	bio_open_default@PLT
	mov	r15, rax
	test	rax, rax
	je	.L19
	test	r12d, r12d
	je	.L12
	xor	eax, eax
	call	NETSCAPE_CERT_SEQUENCE_new@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L10
	xor	eax, eax
	call	sk_X509_new_null@PLT
	mov	QWORD PTR 0[rbp], rax
	test	rax, rax
	jne	.L13
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L14:
	call	sk_X509_push@PLT
.L13:
	xor	esi, esi
	mov	rdi, rbx
	xor	ecx, ecx
	xor	edx, edx
	call	PEM_read_bio_X509@PLT
	mov	rdi, QWORD PTR 0[rbp]
	mov	rsi, rax
	test	rax, rax
	jne	.L14
	call	sk_X509_num@PLT
	test	eax, eax
	jne	.L15
	mov	edi, DWORD PTR bio_err[rip]
	mov	rcx, r14
	mov	rdx, r13
	lea	rsi, .LC1[rip]
	call	BIO_printf@PLT
	mov	edi, DWORD PTR bio_err[rip]
	call	ERR_print_errors@PLT
	jmp	.L10
.L4:
	mov	edi, DWORD PTR bio_err[rip]
	mov	rdx, r13
	xor	eax, eax
	xor	ebp, ebp
	lea	rsi, .LC0[rip]
	mov	r12d, 1
	xor	r15d, r15d
	xor	ebx, ebx
	call	BIO_printf@PLT
.L10:
	mov	rdi, rbx
	call	BIO_free@PLT
	mov	rdi, r15
	call	BIO_free_all@PLT
	mov	rdi, rbp
	call	NETSCAPE_CERT_SEQUENCE_free@PLT
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L6:
	.cfi_restore_state
	mov	edi, DWORD PTR nseq_options[rip]
	xor	r12d, r12d
	xor	ebp, ebp
	xor	r15d, r15d
	xor	ebx, ebx
	call	opt_help@PLT
	jmp	.L10
.L7:
	xor	eax, eax
	call	opt_arg@PLT
	mov	r14, rax
	jmp	.L2
.L8:
	xor	eax, eax
	call	opt_arg@PLT
	mov	rbp, rax
	jmp	.L2
.L18:
	xor	ebp, ebp
	xor	r15d, r15d
	mov	r12d, 1
	jmp	.L10
.L12:
	xor	edx, edx
	xor	ecx, ecx
	xor	esi, esi
	mov	rdi, rbx
	call	PEM_read_bio_NETSCAPE_CERT_SEQUENCE@PLT
	xor	edx, edx
	mov	rbp, rax
	test	rax, rax
	jne	.L16
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, QWORD PTR 0[rbp]
	mov	esi, edx
	mov	DWORD PTR 12[rsp], edx
	call	sk_X509_value@PLT
	mov	rdi, r15
	mov	r13, rax
	mov	rsi, rax
	call	dump_cert_text@PLT
	mov	rsi, r13
	mov	rdi, r15
	call	PEM_write_bio_X509@PLT
	mov	edx, DWORD PTR 12[rsp]
	add	edx, 1
.L16:
	mov	rdi, QWORD PTR 0[rbp]
	mov	DWORD PTR 12[rsp], edx
	call	sk_X509_num@PLT
	mov	edx, DWORD PTR 12[rsp]
	cmp	eax, edx
	jg	.L17
	jmp	.L10
.L19:
	xor	ebp, ebp
	mov	r12d, 1
	jmp	.L10
.L15:
	mov	rsi, rbp
	mov	rdi, r15
	xor	r12d, r12d
	call	PEM_write_bio_NETSCAPE_CERT_SEQUENCE@PLT
	jmp	.L10
.L31:
	mov	edi, DWORD PTR bio_err[rip]
	mov	rcx, r14
	mov	rdx, r13
	xor	eax, eax
	lea	rsi, .LC2[rip]
	mov	r12d, 1
	call	BIO_printf@PLT
	mov	edi, DWORD PTR bio_err[rip]
	call	ERR_print_errors@PLT
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	nseq_main, .-nseq_main
	.comm	nseq_options,4,4
	.comm	bio_err,4,4
	.comm	FORMAT_PEM,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_nseq.c_nseq_main.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"%s: Use -help for summary.\012\000"
	.align	2
.LC1:
	.ascii	"%s: Error reading certs file %s\012\000"
	.align	2
.LC2:
	.ascii	"%s: Error reading sequence file %s\012\000"
	.text
	.align	2
	.global	nseq_main
	.syntax unified
	.arm
	.fpu softvfp
	.type	nseq_main, %function
nseq_main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r8, .L31
	mov	r5, #0
	ldr	r2, [r8]
	bl	opt_init
	mov	r7, r5
	mov	r6, r0
	mov	r4, r5
.L2:
	bl	opt_next
	cmp	r0, #133
	sub	r3, r0, #128
	beq	.L29
.L11:
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L5:
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L4
.L9:
	bl	opt_next
	cmp	r0, #133
	mov	r4, #1
	sub	r3, r0, #128
	bne	.L11
.L29:
	bl	opt_num_rest
	cmp	r0, #0
	bne	.L4
	ldr	r8, .L31+4
	mov	r1, #114
	mov	r0, r7
	ldr	r2, [r8]
	bl	bio_open_default
	subs	r9, r0, #0
	beq	.L18
	ldr	r2, [r8]
	mov	r0, r5
	mov	r1, #119
	bl	bio_open_default
	subs	r8, r0, #0
	beq	.L19
	cmp	r4, #0
	beq	.L12
	bl	NETSCAPE_CERT_SEQUENCE_new
	subs	r5, r0, #0
	beq	.L10
	bl	sk_X509_new_null
	cmp	r0, #0
	str	r0, [r5]
	bne	.L13
	b	.L10
.L14:
	mov	r1, r10
	ldr	r0, [r5]
	bl	sk_X509_push
.L13:
	mov	r3, #0
	mov	r0, r9
	mov	r2, r3
	mov	r1, r3
	bl	PEM_read_bio_X509
	subs	r10, r0, #0
	bne	.L14
	ldr	r0, [r5]
	bl	sk_X509_num
	cmp	r0, #0
	bne	.L15
	ldr	r10, .L31+8
	mov	r3, r7
	mov	r2, r6
	ldr	r0, [r10]
	ldr	r1, .L31+12
	bl	BIO_printf
	ldr	r0, [r10]
	bl	ERR_print_errors
	b	.L10
.L4:
	mov	r5, #0
	ldr	r3, .L31+8
	mov	r2, r6
	ldr	r0, [r3]
	ldr	r1, .L31+16
	bl	BIO_printf
	mov	r8, r5
	mov	r9, r5
	mov	r4, #1
.L10:
	mov	r0, r9
	bl	BIO_free
	mov	r0, r8
	bl	BIO_free_all
	mov	r0, r5
	bl	NETSCAPE_CERT_SEQUENCE_free
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L6:
	mov	r4, #0
	ldr	r0, [r8]
	bl	opt_help
	mov	r5, r4
	mov	r8, r4
	mov	r9, r4
	b	.L10
.L7:
	bl	opt_arg
	mov	r7, r0
	b	.L2
.L8:
	bl	opt_arg
	mov	r5, r0
	b	.L2
.L18:
	mov	r5, r9
	mov	r8, r9
	mov	r4, #1
	b	.L10
.L12:
	mov	r3, r4
	mov	r2, r4
	mov	r1, r4
	mov	r0, r9
	bl	PEM_read_bio_NETSCAPE_CERT_SEQUENCE
	subs	r5, r0, #0
	movne	r7, r4
	bne	.L16
	b	.L30
.L17:
	mov	r1, r7
	ldr	r0, [r5]
	bl	sk_X509_value
	mov	r6, r0
	mov	r0, r8
	mov	r1, r6
	bl	dump_cert_text
	mov	r1, r6
	mov	r0, r8
	add	r7, r7, #1
	bl	PEM_write_bio_X509
.L16:
	ldr	r0, [r5]
	bl	sk_X509_num
	cmp	r0, r7
	bgt	.L17
	b	.L10
.L19:
	mov	r5, r8
	mov	r4, #1
	b	.L10
.L15:
	mov	r1, r5
	mov	r0, r8
	mov	r4, r10
	bl	PEM_write_bio_NETSCAPE_CERT_SEQUENCE
	b	.L10
.L30:
	ldr	r4, .L31+8
	mov	r3, r7
	mov	r2, r6
	ldr	r0, [r4]
	ldr	r1, .L31+20
	bl	BIO_printf
	ldr	r0, [r4]
	bl	ERR_print_errors
	mov	r4, #1
	b	.L10
.L32:
	.align	2
.L31:
	.word	nseq_options
	.word	FORMAT_PEM
	.word	bio_err
	.word	.LC1
	.word	.LC0
	.word	.LC2
	.size	nseq_main, .-nseq_main
	.comm	nseq_options,4,4
	.comm	bio_err,4,4
	.comm	FORMAT_PEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
