	.file	"extr_cs.c_fill_insn.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	fill_insn, @function
fill_insn:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15, r8
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rcx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	edi, 4
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdx
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	esi, DWORD PTR [rsi]
	mov	QWORD PTR 8[rsp], r9
	call	MIN@PLT
	mov	r9, QWORD PTR 8[rsp]
	mov	edi, DWORD PTR 32[rbp]
	movsx	rdx, eax
	movsx	rax, DWORD PTR 0[rbp]
	mov	r13, rdx
	sub	rax, rdx
	lea	rsi, [r9+rax*4]
	call	memcpy@PLT
	mov	DWORD PTR 0[rbp], r13d
	mov	rdi, r14
	call	MCInst_getOpcodePub@PLT
	test	rax, rax
	jne	.L36
.L2:
	test	r15, r15
	je	.L3
	mov	rcx, r14
	mov	rdx, rbx
	mov	rsi, rbp
	mov	edi, r12d
	call	r15
.L3:
	movzx	eax, BYTE PTR [rbx]
	mov	rdx, QWORD PTR 16[rbp]
	test	al, al
	jne	.L7
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L37:
	movzx	eax, BYTE PTR [rbx]
.L6:
	add	rbx, 1
	mov	BYTE PTR [rdx], al
	add	rdx, 1
	movzx	eax, BYTE PTR [rbx]
	test	al, al
	je	.L4
.L7:
	cmp	al, 32
	je	.L4
	cmp	al, 9
	je	.L4
	cmp	al, 124
	jne	.L37
	mov	BYTE PTR [rbx], 32
	mov	eax, 32
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	mov	BYTE PTR [rdx], 0
	mov	rax, QWORD PTR [r12]
	test	rax, rax
	je	.L8
	mov	rdx, QWORD PTR 8[rbp]
	.p2align 4,,10
	.p2align 3
.L10:
	cmp	QWORD PTR 8[rax], rdx
	je	.L38
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	jne	.L10
.L8:
	cmp	BYTE PTR [rbx], 0
	mov	rdi, QWORD PTR 24[rbp]
	je	.L11
	movzx	eax, BYTE PTR 1[rbx]
	lea	rsi, 1[rbx]
	cmp	al, 9
	je	.L28
	cmp	al, 32
	jne	.L12
	.p2align 4,,10
	.p2align 3
.L28:
	movzx	eax, BYTE PTR 1[rsi]
	add	rsi, 1
	cmp	al, 32
	je	.L28
	cmp	al, 9
	je	.L28
.L12:
	mov	edx, 7
	call	strncpy@PLT
	mov	rax, QWORD PTR 24[rbp]
	mov	BYTE PTR 7[rax], 0
	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
.L11:
	.cfi_restore_state
	mov	BYTE PTR [rdi], 0
	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
.L38:
	.cfi_restore_state
	mov	rsi, QWORD PTR 16[rax]
	mov	rdi, QWORD PTR 16[rbp]
	mov	edx, 7
	call	strncpy@PLT
	mov	rax, QWORD PTR 16[rbp]
	mov	BYTE PTR 7[rax], 0
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L36:
	mov	rdi, r14
	call	MCInst_getOpcodePub@PLT
	mov	QWORD PTR 8[rbp], rax
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	fill_insn, .-fill_insn
	.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_cs.c_fill_insn.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fill_insn, %function
fill_insn:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r5, r1
	mov	r7, r0
	ldr	r1, [r1]
	mov	r0, #4
	mov	r8, r3
	mov	r4, r2
	ldr	r10, [sp, #36]
	ldr	r9, [sp, #32]
	bl	MIN
	mov	r6, r0
	ldr	r1, [r5]
	mov	r2, r0
	sub	r1, r1, r0
	add	r1, r10, r1, lsl #2
	ldr	r0, [r5, #16]
	bl	memcpy
	mov	r0, r8
	str	r6, [r5]
	bl	MCInst_getOpcodePub
	cmp	r0, #0
	bne	.L35
.L2:
	cmp	r9, #0
	beq	.L3
	mov	r3, r8
	mov	r2, r4
	mov	r1, r5
	mov	r0, r7
	blx	r9
.L3:
	ldrb	r3, [r4]	@ zero_extendqisi2
	ldr	r2, [r5, #8]
	cmp	r3, #0
	beq	.L4
	mov	r1, #32
	b	.L7
.L36:
	cmp	r3, #124
	moveq	r3, #32
	ldrbne	r3, [r4]	@ zero_extendqisi2
	strbeq	r1, [r4]
	strb	r3, [r2], #1
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L4
.L7:
	cmp	r3, #9
	cmpne	r3, #32
	bne	.L36
.L4:
	mov	r3, #0
	strb	r3, [r2]
	ldr	r3, [r7]
	cmp	r3, #0
	beq	.L8
	ldr	r1, [r5, #4]
.L10:
	ldr	r2, [r3, #4]
	cmp	r2, r1
	beq	.L37
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L10
.L8:
	ldrb	r3, [r4]	@ zero_extendqisi2
	ldr	r0, [r5, #12]
	cmp	r3, #0
	beq	.L11
	ldrb	r3, [r4, #1]	@ zero_extendqisi2
	add	r1, r4, #1
	cmp	r3, #32
	cmpne	r3, #9
	bne	.L12
.L13:
	ldrb	r3, [r1, #1]!	@ zero_extendqisi2
	cmp	r3, #9
	cmpne	r3, #32
	beq	.L13
.L12:
	mov	r2, #3
	bl	strncpy
	mov	r2, #0
	ldr	r3, [r5, #12]
	strb	r2, [r3, #3]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	strb	r3, [r0]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L37:
	mov	r2, #3
	ldr	r1, [r3, #8]
	ldr	r0, [r5, #8]
	bl	strncpy
	mov	r2, #0
	ldr	r3, [r5, #8]
	strb	r2, [r3, #3]
	b	.L8
.L35:
	mov	r0, r8
	bl	MCInst_getOpcodePub
	str	r0, [r5, #4]
	b	.L2
	.size	fill_insn, .-fill_insn
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
