	.file	"extr_filter-basic.c_next_ahxd.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bad data in ahxd: '%c'"
	.text
	.p2align 4
	.type	next_ahxd, @function
next_ahxd:
.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
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, 8
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	rbx, QWORD PTR 24[rsi]
	cmp	rdx, 8
	cmova	rdx, r12
	mov	QWORD PTR 8[rsp], rsi
	mov	rbp, QWORD PTR [rbx]
	lea	r12, 0[rbp+rdx]
	cmp	rbp, r12
	jnb	.L2
	mov	r13, rdi
	xor	r14d, r14d
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L18:
	mov	edi, r15d
	test	r14d, r14d
	jne	.L5
	call	unhex@PLT
	mov	r14d, 1
	mov	DWORD PTR 4[rsp], eax
.L6:
	cmp	rbp, r12
	jnb	.L3
.L9:
	mov	eax, DWORD PTR 8[rbx]
	test	eax, eax
	jne	.L3
	mov	esi, DWORD PTR 12[rbx]
	mov	rdi, r13
	call	fz_read_byte@PLT
	mov	r15d, eax
	test	eax, eax
	js	.L3
	mov	edi, eax
	call	ishex@PLT
	test	rax, rax
	jne	.L18
	cmp	r15d, 62
	je	.L19
	mov	edi, r15d
	call	iswhite@PLT
	test	eax, eax
	jne	.L6
	mov	esi, DWORD PTR FZ_ERROR_GENERIC[rip]
	mov	ecx, r15d
	lea	rdx, .LC0[rip]
	mov	rdi, r13
	call	fz_throw@PLT
	cmp	rbp, r12
	jb	.L9
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR [rbx]
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdx, rbp
	sub	rdx, rax
	mov	QWORD PTR [rcx], rax
	add	DWORD PTR 16[rcx], edx
	mov	QWORD PTR 8[rcx], rbp
	cmp	rax, rbp
	je	.L10
	lea	rdx, 1[rax]
	mov	QWORD PTR [rcx], rdx
	movzx	eax, BYTE PTR [rax]
	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
.L5:
	.cfi_restore_state
	call	unhex@PLT
	xor	r14d, r14d
	add	rbp, 1
	mov	r8d, eax
	mov	eax, DWORD PTR 4[rsp]
	sal	eax, 4
	or	eax, r8d
	mov	BYTE PTR -1[rbp], al
	jmp	.L6
.L2:
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], rbp
	mov	QWORD PTR 8[rax], rbp
.L10:
	mov	eax, DWORD PTR EOF[rip]
	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
.L19:
	.cfi_restore_state
	test	r14d, r14d
	je	.L8
	movzx	eax, BYTE PTR 4[rsp]
	add	rbp, 1
	sal	eax, 4
	mov	BYTE PTR -1[rbp], al
.L8:
	mov	DWORD PTR 8[rbx], 1
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	next_ahxd, .-next_ahxd
	.comm	FZ_ERROR_GENERIC,4,4
	.comm	EOF,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_filter-basic.c_next_ahxd.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bad data in ahxd: '%c'\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	next_ahxd, %function
next_ahxd:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r5, [r1, #12]
	sub	sp, sp, #12
	ldr	r4, [r5]
	cmp	r2, #4
	addls	r8, r4, r2
	addhi	r8, r4, #4
	cmp	r4, r8
	bcs	.L2
	mov	r7, r0
	mov	r9, #0
	mov	r10, r3
	str	r1, [sp, #4]
	b	.L9
.L20:
	cmp	r9, #0
	mov	r0, fp
	bne	.L5
	bl	unhex
	mov	r9, #1
	mov	r10, r0
.L6:
	cmp	r4, r8
	bcs	.L17
.L9:
	ldr	r6, [r5, #4]
	cmp	r6, #0
	bne	.L17
	mov	r0, r7
	ldr	r1, [r5, #8]
	bl	fz_read_byte
	subs	fp, r0, #0
	blt	.L17
	bl	ishex
	cmp	r0, #0
	bne	.L20
	cmp	fp, #62
	beq	.L21
	mov	r0, fp
	bl	iswhite
	cmp	r0, #0
	bne	.L6
	ldr	r1, .L22
	mov	r3, fp
	mov	r0, r7
	ldr	r2, .L22+4
	ldr	r1, [r1]
	bl	fz_throw
	cmp	r4, r8
	bcc	.L9
.L17:
	ldr	fp, [sp, #4]
.L3:
	ldr	r3, [r5]
	ldr	r2, [fp, #8]
	sub	r1, r4, r3
	add	r2, r2, r1
	cmp	r3, r4
	stm	fp, {r3, r4}
	str	r2, [fp, #8]
	beq	.L10
	add	r2, r3, #1
	str	r2, [fp]
	ldrb	r0, [r3]	@ zero_extendqisi2
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L5:
	bl	unhex
	orr	r0, r0, r10, lsl #4
	mov	r9, r6
	strb	r0, [r4], #1
	b	.L6
.L2:
	str	r4, [r1]
	str	r4, [r1, #4]
.L10:
	ldr	r3, .L22+8
	ldr	r0, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	mov	r3, #1
	cmp	r9, #0
	lslne	r10, r10, #4
	strbne	r10, [r4], #1
	ldr	fp, [sp, #4]
	str	r3, [r5, #4]
	b	.L3
.L23:
	.align	2
.L22:
	.word	FZ_ERROR_GENERIC
	.word	.LC0
	.word	EOF
	.size	next_ahxd, .-next_ahxd
	.comm	FZ_ERROR_GENERIC,4,4
	.comm	EOF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
