	.file	"extr_update_crypto.c_pgp_unarmor.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\r\n"
.LC1:
	.string	"-----BEGIN PGP"
.LC2:
	.string	"Version:"
	.text
	.p2align 4
	.type	pgp_unarmor, @function
pgp_unarmor:
.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
	mov	r14, rdi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	xor	r13d, r13d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	lea	r12, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	lea	rbx, [rdi+rsi]
	sub	rsp, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 16[rsp], rdx
	mov	QWORD PTR 24[rsp], rcx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	cmp	rdi, rbx
	jb	.L2
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L33:
	cmp	al, 10
	je	.L18
	mov	rsi, r12
	mov	rdi, r14
	call	strcspn@PLT
	mov	r15, rax
	test	rax, rax
	je	.L6
	test	r13d, r13d
	je	.L31
	mov	edx, 8
	lea	rsi, .LC2[rip]
	mov	rdi, r14
	call	strncmp@PLT
	lea	rcx, 1[r14+r15]
	test	eax, eax
	je	.L16
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, rbp
	mov	rdx, r14
	mov	QWORD PTR 8[rsp], rcx
	movzx	r15d, BYTE PTR -1[r14+r15]
	sub	rsi, rbp
	sar	rsi, 2
	add	esi, DWORD PTR 24[rsp]
	call	vlc_b64_decode_binary_to_buffer@PLT
	cmp	r15b, 61
	mov	rcx, QWORD PTR 8[rsp]
	cdqe
	lea	rbp, 0[rbp+rax*4]
	je	.L3
.L16:
	mov	r14, rcx
.L6:
	cmp	r14, rbx
	jnb	.L17
.L2:
	movzx	eax, BYTE PTR [r14]
	cmp	al, 61
	je	.L32
	cmp	al, 13
	jne	.L33
.L18:
	add	r14, 1
	cmp	r14, rbx
	jb	.L2
.L17:
	mov	rcx, r14
.L3:
	lea	rax, 5[rcx]
	cmp	rbx, rax
	jb	.L10
	cmp	BYTE PTR [rcx], 61
	je	.L34
.L10:
	xor	r12d, r12d
.L1:
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L35
	add	rsp, 72
	.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
	.p2align 4,,10
	.p2align 3
.L31:
	.cfi_restore_state
	mov	rdi, r14
	mov	edx, 14
	lea	r14, 1[r14+r15]
	xor	r13d, r13d
	lea	rsi, .LC1[rip]
	call	strncmp@PLT
	test	eax, eax
	sete	r13b
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L32:
	lea	rax, 5[r14]
	lea	rdx, 1[r14]
	cmp	rbx, rax
	jb	.L10
.L12:
	lea	rdi, 44[rsp]
	mov	esi, 3
	call	vlc_b64_decode_binary_to_buffer@PLT
	cmp	eax, 3
	jne	.L10
	mov	rdi, QWORD PTR 16[rsp]
	mov	rsi, rbp
	sub	rsi, rdi
	sar	rsi, 2
	mov	r12d, esi
	call	crc_octets@PLT
	mov	edx, DWORD PTR 48[rsp]
	mov	r8, rax
	mov	eax, DWORD PTR 44[rsp]
	sal	edx, 8
	sal	eax, 16
	add	eax, edx
	add	eax, DWORD PTR 52[rsp]
	cdqe
	cmp	r8, rax
	jne	.L10
	jmp	.L1
.L34:
	lea	rdx, 1[rcx]
	jmp	.L12
.L35:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	pgp_unarmor, .-pgp_unarmor
	.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_update_crypto.c_pgp_unarmor.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\015\012\000"
	.align	2
.LC1:
	.ascii	"-----BEGIN PGP\000"
	.align	2
.LC2:
	.ascii	"Version:\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pgp_unarmor, %function
pgp_unarmor:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	sub	sp, sp, #28
	str	r3, [sp, #4]
	add	r6, r0, r1
	ldr	r3, .L32
	cmp	r0, r6
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	mov	r4, r0
	mov	r10, r2
	movcs	r3, r0
	movcs	r8, r2
	bcs	.L3
	mov	r8, r2
	mov	r7, #0
	ldr	r9, .L32+4
	ldr	fp, .L32+8
	b	.L2
.L6:
	mov	r2, #8
	mov	r1, fp
	mov	r0, r4
	bl	strncmp
	add	r3, r5, #1
	cmp	r0, #0
	add	r3, r4, r3
	beq	.L15
	str	r3, [sp]
	ldr	r3, [sp, #4]
	sub	r1, r10, r8
	mov	r2, r4
	mov	r0, r8
	add	r1, r3, r1, asr #2
	add	r5, r4, r5
	ldrb	r4, [r5, #-1]	@ zero_extendqisi2
	bl	vlc_b64_decode_binary_to_buffer
	cmp	r4, #61
	ldr	r3, [sp]
	add	r8, r8, r0, lsl #2
	beq	.L3
.L15:
	mov	r4, r3
.L5:
	cmp	r4, r6
	bcs	.L28
.L2:
	ldrb	r3, [r4]	@ zero_extendqisi2
	cmp	r3, #61
	beq	.L29
	cmp	r3, #10
	cmpne	r3, #13
	addeq	r4, r4, #1
	beq	.L5
	mov	r1, r9
	mov	r0, r4
	bl	strcspn
	subs	r5, r0, #0
	beq	.L5
	cmp	r7, #0
	bne	.L6
	mov	r0, r4
	mov	r2, #14
	ldr	r1, .L32+12
	bl	strncmp
	clz	r7, r0
	add	r5, r5, #1
	add	r4, r4, r5
	cmp	r4, r6
	lsr	r7, r7, #5
	bcc	.L2
.L28:
	mov	r3, r4
.L3:
	add	r2, r3, #5
	cmp	r6, r2
	bcc	.L9
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #61
	beq	.L30
.L9:
	mov	r4, #0
.L1:
	ldr	r3, .L32
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	mov	r0, r4
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L29:
	add	r3, r4, #5
	cmp	r6, r3
	addcs	r2, r4, #1
	bcc	.L9
.L11:
	mov	r1, #3
	add	r0, sp, #8
	bl	vlc_b64_decode_binary_to_buffer
	cmp	r0, #3
	bne	.L9
	sub	r4, r8, r10
	asr	r4, r4, #2
	mov	r1, r4
	mov	r0, r10
	bl	crc_octets
	ldr	r3, [sp, #12]
	ldr	r1, [sp, #8]
	ldr	r2, [sp, #16]
	lsl	r3, r3, #8
	add	r3, r3, r1, lsl #16
	add	r3, r3, r2
	cmp	r0, r3
	bne	.L9
	b	.L1
.L30:
	add	r2, r3, #1
	b	.L11
.L31:
	bl	__stack_chk_fail
.L33:
	.align	2
.L32:
	.word	.LC3
	.word	.LC0
	.word	.LC2
	.word	.LC1
	.size	pgp_unarmor, .-pgp_unarmor
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
