	.file	"extr_cstool.c_preprocess.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	preprocess, @function
preprocess:
.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
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	movzx	edx, BYTE PTR [rdi]
	mov	QWORD PTR 8[rsp], rsi
	test	dl, dl
	je	.L4
	mov	BYTE PTR 23[rsp], dl
	mov	rbp, rdi
	call	strlen@PLT
	mov	rdi, rax
	call	malloc@PLT
	mov	QWORD PTR 24[rsp], rax
	mov	QWORD PTR [rsp], rax
	test	rax, rax
	je	.L4
	movzx	edx, BYTE PTR 23[rsp]
	mov	r12, rbp
	xor	r14d, r14d
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movzx	edx, BYTE PTR 0[r13]
	test	dl, dl
	je	.L19
.L7:
	mov	rbx, r15
	mov	r12, r13
.L6:
	movsx	edi, dl
	lea	r15, 1[rbx]
	call	isxdigit@PLT
	lea	r13, 0[rbp+r15]
	test	rax, rax
	je	.L5
	movsx	edi, BYTE PTR 0[r13]
	call	isxdigit@PLT
	test	rax, rax
	je	.L5
	movsx	edi, BYTE PTR [r12]
	lea	r15, 2[rbx]
	call	char_to_hexnum@PLT
	movsx	edi, BYTE PTR 0[r13]
	lea	r13, 0[rbp+r15]
	mov	r12d, eax
	call	char_to_hexnum@PLT
	sal	r12d, 4
	movzx	edx, BYTE PTR 0[r13]
	add	r12d, eax
	mov	rax, QWORD PTR 24[rsp]
	mov	DWORD PTR [rax+r14*4], r12d
	add	r14, 1
	test	dl, dl
	jne	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	mov	rax, QWORD PTR 8[rsp]
	mov	QWORD PTR [rax], r14
.L1:
	mov	rax, QWORD PTR [rsp]
	add	rsp, 40
	.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
.L4:
	.cfi_restore_state
	mov	QWORD PTR [rsp], 0
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	preprocess, .-preprocess
	.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_cstool.c_preprocess.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	preprocess, %function
preprocess:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldrb	r3, [r0]	@ zero_extendqisi2
	sub	sp, sp, #12
	cmp	r3, #0
	str	r1, [sp]
	beq	.L4
	str	r3, [sp, #4]
	mov	r5, r0
	bl	strlen
	bl	malloc
	cmp	r0, #0
	mov	r8, r0
	mov	fp, r0
	beq	.L4
	mov	r9, #0
	mov	r7, r5
	mov	r6, r9
	ldr	r3, [sp, #4]
	b	.L6
.L5:
	ldrb	r3, [r10]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L19
.L7:
	mov	r6, r4
	mov	r7, r10
.L6:
	mov	r0, r3
	bl	isxdigit
	add	r4, r6, #1
	cmp	r0, #0
	add	r10, r5, r4
	beq	.L5
	ldrb	r0, [r5, r4]	@ zero_extendqisi2
	bl	isxdigit
	cmp	r0, #0
	beq	.L5
	ldrb	r0, [r7]	@ zero_extendqisi2
	bl	char_to_hexnum
	mov	r7, r0
	ldrb	r0, [r10]	@ zero_extendqisi2
	bl	char_to_hexnum
	add	r4, r6, #2
	add	r10, r5, r4
	ldrb	r3, [r10]	@ zero_extendqisi2
	add	r0, r0, r7, lsl #4
	cmp	r3, #0
	str	r0, [r8, r9, lsl #2]
	add	r9, r9, #1
	bne	.L7
.L19:
	mov	r0, fp
	ldr	r3, [sp]
	str	r9, [r3]
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L4:
	mov	fp, #0
	mov	r0, fp
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
	.size	preprocess, .-preprocess
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
