	.file	"extr_asm_x86_cs.c_disassemble.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	" "
.LC1:
	.string	""
.LC2:
	.string	"illegal"
.LC3:
	.string	"%s%s%s"
.LC4:
	.string	"ptr "
.LC5:
	.string	"je "
.LC6:
	.string	"jz"
.LC7:
	.string	"jne "
.LC8:
	.string	"jnz"
	.text
	.p2align 4
	.type	disassemble, @function
disassemble:
.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	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	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, rdi
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	r15d, DWORD PTR 24[rdi]
	mov	r12d, DWORD PTR CS_MODE_64[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	mov	eax, DWORD PTR [rdi]
	cmp	eax, 64
	je	.L4
	mov	r12d, DWORD PTR CS_MODE_32[rip]
	cmp	eax, 32
	je	.L4
	cmp	eax, 16
	mov	r12d, 0
	cmove	r12d, DWORD PTR CS_MODE_16[rip]
.L4:
	mov	edi, DWORD PTR cd[rip]
	test	edi, edi
	je	.L5
	cmp	DWORD PTR omode.2037[rip], r12d
	jne	.L56
	test	rbp, rbp
	je	.L9
	mov	DWORD PTR 0[rbp], 0
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L56:
	lea	rdi, cd[rip]
	call	cs_close@PLT
	mov	DWORD PTR cd[rip], 0
	test	rbp, rbp
	je	.L54
.L53:
	mov	DWORD PTR 0[rbp], 0
.L54:
	mov	edi, DWORD PTR CS_ARCH_X86[rip]
	lea	rdx, cd[rip]
	mov	esi, r12d
	mov	DWORD PTR omode.2037[rip], r12d
	call	cs_open@PLT
	mov	r8d, eax
	xor	eax, eax
	test	r8d, r8d
	jne	.L1
	mov	edi, DWORD PTR cd[rip]
.L9:
	mov	rax, QWORD PTR 16[rbx]
	mov	esi, DWORD PTR CS_OPT_DETAIL[rip]
	test	rax, rax
	je	.L11
	cmp	QWORD PTR [rax], 0
	jne	.L57
.L11:
	mov	edx, DWORD PTR CS_OPT_OFF[rip]
	call	cs_option@PLT
.L12:
	mov	rax, QWORD PTR 8[rbx]
	cmp	rax, QWORD PTR R_ASM_SYNTAX_MASM[rip]
	je	.L13
	cmp	rax, QWORD PTR R_ASM_SYNTAX_ATT[rip]
	mov	esi, DWORD PTR CS_OPT_SYNTAX[rip]
	mov	edi, DWORD PTR cd[rip]
	je	.L58
	mov	edx, DWORD PTR CS_OPT_SYNTAX_INTEL[rip]
	call	cs_option@PLT
.L13:
	mov	eax, 1
	test	rbp, rbp
	je	.L1
	mov	DWORD PTR 0[rbp], 1
	mov	edx, r14d
	mov	r9, rsp
	mov	ecx, r15d
	mov	edi, DWORD PTR cd[rip]
	mov	r8d, 1
	mov	rsi, r13
	mov	QWORD PTR [rsp], 0
	call	cs_disasm@PLT
	mov	rdx, QWORD PTR 16[rbx]
	mov	QWORD PTR n[rip], rax
	mov	DWORD PTR 0[rbp], 0
	test	rdx, rdx
	je	.L15
	cmp	QWORD PTR [rdx], 0
	jne	.L59
.L15:
	test	rax, rax
	jle	.L17
	mov	rax, QWORD PTR [rsp]
	mov	edx, DWORD PTR [rax]
	test	edx, edx
	jle	.L17
	mov	rcx, QWORD PTR 8[rax]
	mov	DWORD PTR 0[rbp], edx
	lea	rsi, .LC1[rip]
	lea	rdx, .LC0[rip]
	lea	rdi, .LC3[rip]
	cmp	QWORD PTR [rcx], 0
	cmove	rdx, rsi
	mov	esi, DWORD PTR 16[rax]
	call	sdb_fmt@PLT
	lea	rsi, .LC4[rip]
	mov	rdi, rax
	mov	r13, rax
	call	strstr@PLT
	mov	r12, rax
	test	rax, rax
	je	.L19
	lea	r14, 4[rax]
	mov	rdi, r14
	call	strlen@PLT
	mov	rsi, r14
	mov	rdi, r12
	lea	rdx, 1[rax]
	call	memmove@PLT
.L19:
	mov	rsi, r13
	mov	rdi, rbp
	call	r_asm_op_set_asm@PLT
	mov	rax, QWORD PTR R_ASM_SYNTAX_JZ[rip]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L22
.L62:
	lea	rdi, 8[rbp]
	call	r_strbuf_get@PLT
	mov	edx, 3
	lea	rsi, .LC5[rip]
	mov	rdi, rax
	mov	r12, rax
	call	strncmp@PLT
	test	eax, eax
	jne	.L23
	mov	edx, 2
	lea	rsi, .LC6[rip]
	mov	rdi, r12
	call	memcpy@PLT
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L59:
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, rbx
	call	check_features@PLT
	test	eax, eax
	je	.L60
.L16:
	mov	eax, DWORD PTR 0[rbp]
	test	eax, eax
	je	.L61
.L17:
	mov	ecx, r14d
	mov	rdx, r13
	mov	rsi, rbp
	mov	rdi, rbx
	call	decompile_vm@PLT
	mov	rax, QWORD PTR R_ASM_SYNTAX_JZ[rip]
	cmp	QWORD PTR 8[rbx], rax
	je	.L62
.L22:
	mov	rdi, QWORD PTR [rsp]
	test	rdi, rdi
	je	.L25
	mov	rsi, QWORD PTR n[rip]
	call	cs_free@PLT
.L25:
	mov	eax, DWORD PTR 0[rbp]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L63
	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
	test	rbp, rbp
	jne	.L53
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L57:
	mov	edx, DWORD PTR CS_OPT_ON[rip]
	call	cs_option@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L58:
	mov	edx, DWORD PTR CS_OPT_SYNTAX_ATT[rip]
	call	cs_option@PLT
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edx, 4
	lea	rsi, .LC7[rip]
	mov	rdi, r12
	call	strncmp@PLT
	test	eax, eax
	jne	.L22
	mov	edx, 3
	lea	rsi, .LC8[rip]
	mov	rdi, r12
	call	memcpy@PLT
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L60:
	mov	rax, QWORD PTR [rsp]
	lea	rsi, .LC2[rip]
	mov	rdi, rbp
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR 0[rbp], eax
	call	r_asm_op_set_asm@PLT
	jmp	.L16
.L63:
	call	__stack_chk_fail@PLT
.L61:
	mov	rax, QWORD PTR n[rip]
	jmp	.L15
	.cfi_endproc
.LFE0:
	.size	disassemble, .-disassemble
	.local	omode.2037
	.comm	omode.2037,4,4
	.comm	n,8,8
	.comm	cd,4,4
	.comm	R_ASM_SYNTAX_MASM,8,8
	.comm	R_ASM_SYNTAX_JZ,8,8
	.comm	R_ASM_SYNTAX_ATT,8,8
	.comm	CS_OPT_UNSIGNED,4,4
	.comm	CS_OPT_SYNTAX_MASM,4,4
	.comm	CS_OPT_SYNTAX_INTEL,4,4
	.comm	CS_OPT_SYNTAX_ATT,4,4
	.comm	CS_OPT_SYNTAX,4,4
	.comm	CS_OPT_ON,4,4
	.comm	CS_OPT_OFF,4,4
	.comm	CS_OPT_DETAIL,4,4
	.comm	CS_MODE_64,4,4
	.comm	CS_MODE_32,4,4
	.comm	CS_MODE_16,4,4
	.comm	CS_ARCH_X86,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_asm_x86_cs.c_disassemble.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	" \000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"illegal\000"
	.align	2
.LC3:
	.ascii	"%s%s%s\000"
	.align	2
.LC4:
	.ascii	"ptr \000"
	.align	2
.LC5:
	.ascii	"jz\000"
	.align	2
.LC6:
	.ascii	"jne \000"
	.align	2
.LC7:
	.ascii	"jnz\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC8:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	disassemble, %function
disassemble:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, r0
	ldr	r0, [r0]
	mov	r7, r3
	ldr	r3, .L66
	sub	sp, sp, #20
	cmp	r0, #64
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	ldr	r9, [r4, #12]
	beq	.L2
	cmp	r0, #32
	beq	.L3
	cmp	r0, #16
	movne	r10, #0
	bne	.L4
	ldr	r8, .L66+4
	ldr	r3, .L66+8
	ldr	r0, [r8]
	ldr	r10, [r3]
	cmp	r0, #0
	bne	.L59
.L5:
	cmp	r5, #0
	ldreq	fp, .L66+12
	beq	.L57
	ldr	r3, .L66+12
	str	r0, [r5]
	str	r10, [r3]
	b	.L27
.L3:
	ldr	r3, .L66+16
	ldr	r10, [r3]
.L4:
	ldr	r8, .L66+4
	ldr	r0, [r8]
	cmp	r0, #0
	beq	.L5
.L59:
	ldr	fp, .L66+12
	ldr	r3, [fp]
	cmp	r3, r10
	beq	.L6
	mov	r0, r8
	bl	cs_close
	mov	r3, #0
	cmp	r5, r3
	str	r3, [r8]
	strne	r3, [r5]
.L57:
	str	r10, [fp]
.L27:
	ldr	r3, .L66+20
	mov	r1, r10
	ldr	r0, [r3]
	ldr	r2, .L66+4
	bl	cs_open
	cmp	r0, #0
	movne	r0, #0
	bne	.L1
	ldr	r0, [r8]
.L9:
	ldr	r3, [r4, #8]
	ldr	r2, .L66+24
	cmp	r3, #0
	ldr	r1, [r2]
	beq	.L11
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L60
.L11:
	ldr	r3, .L66+28
	ldr	r2, [r3]
	bl	cs_option
.L12:
	ldr	r2, .L66+32
	ldr	r3, [r4, #4]
	ldr	r2, [r2]
	cmp	r3, r2
	beq	.L13
	ldr	r2, .L66+36
	ldr	r1, .L66+40
	ldr	r2, [r2]
	ldr	r1, [r1]
	cmp	r3, r2
	ldreq	r3, .L66+44
	ldrne	r3, .L66+48
	ldr	r0, [r8]
	ldr	r2, [r3]
	bl	cs_option
.L13:
	cmp	r5, #0
	moveq	r0, #1
	beq	.L1
	mov	r2, #1
	mov	r10, #0
	add	r1, sp, #8
	ldr	r0, [r8]
	mov	r3, r9
	str	r2, [r5]
	str	r2, [sp]
	str	r1, [sp, #4]
	mov	r2, r7
	mov	r1, r6
	str	r10, [sp, #8]
	bl	cs_disasm
	ldr	r3, [r4, #8]
	ldr	r8, .L66+52
	cmp	r3, r10
	str	r0, [r8]
	str	r10, [r5]
	beq	.L15
	ldr	r3, [r3]
	cmp	r3, r10
	bne	.L61
.L15:
	cmp	r0, #0
	ble	.L17
	ldr	r1, [sp, #8]
	ldr	r0, [r1]
	cmp	r0, #0
	ble	.L17
	ldr	r3, [r1, #4]
	ldr	ip, .L66+56
	ldr	lr, [r3]
	ldr	r2, .L66+60
	cmp	lr, #0
	moveq	r2, ip
	ldr	r1, [r1, #8]
	str	r0, [r5]
	ldr	r0, .L66+64
	bl	sdb_fmt
	ldr	r1, .L66+68
	mov	r7, r0
	bl	strstr
	subs	r6, r0, #0
	beq	.L19
	add	r9, r6, #4
	mov	r0, r9
	bl	strlen
	mov	r1, r9
	add	r2, r0, #1
	mov	r0, r6
	bl	memmove
.L19:
	mov	r1, r7
	mov	r0, r5
	bl	r_asm_op_set_asm
	b	.L20
.L61:
	mov	r0, r4
	ldr	r1, [sp, #8]
	bl	check_features
	cmp	r0, r10
	beq	.L62
.L16:
	ldr	r3, [r5]
	cmp	r3, #0
	beq	.L63
.L17:
	mov	r3, r7
	mov	r2, r6
	mov	r1, r5
	mov	r0, r4
	bl	decompile_vm
.L20:
	ldr	r3, .L66+72
	ldr	r2, [r4, #4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L64
.L22:
	ldr	r0, [sp, #8]
	cmp	r0, #0
	beq	.L26
	ldr	r1, [r8]
	bl	cs_free
.L26:
	ldr	r0, [r5]
.L1:
	ldr	r3, .L66
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L65
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	ldr	r3, .L66+76
	ldr	r10, [r3]
	b	.L4
.L6:
	cmp	r5, #0
	movne	r3, #0
	strne	r3, [r5]
	b	.L9
.L60:
	ldr	r3, .L66+80
	ldr	r2, [r3]
	bl	cs_option
	b	.L12
.L64:
	add	r0, r5, #4
	bl	r_strbuf_get
	ldrb	r3, [r0]	@ zero_extendqisi2
	mov	r4, r0
	cmp	r3, #106
	bne	.L24
	ldrb	r3, [r0, #1]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L24
	ldrb	r3, [r0, #2]	@ zero_extendqisi2
	cmp	r3, #32
	bne	.L24
	mov	r2, #2
	ldr	r1, .L66+84
	bl	memcpy
	b	.L22
.L24:
	mov	r2, #4
	mov	r0, r4
	ldr	r1, .L66+88
	bl	strncmp
	cmp	r0, #0
	bne	.L22
	mov	r0, r4
	mov	r2, #3
	ldr	r1, .L66+92
	bl	memcpy
	b	.L22
.L62:
	ldr	r3, [sp, #8]
	mov	r0, r5
	ldr	r3, [r3]
	ldr	r1, .L66+96
	str	r3, [r5]
	bl	r_asm_op_set_asm
	b	.L16
.L65:
	bl	__stack_chk_fail
.L63:
	ldr	r0, [r8]
	b	.L15
.L67:
	.align	2
.L66:
	.word	.LC8
	.word	cd
	.word	CS_MODE_16
	.word	.LANCHOR0
	.word	CS_MODE_32
	.word	CS_ARCH_X86
	.word	CS_OPT_DETAIL
	.word	CS_OPT_OFF
	.word	R_ASM_SYNTAX_MASM
	.word	R_ASM_SYNTAX_ATT
	.word	CS_OPT_SYNTAX
	.word	CS_OPT_SYNTAX_ATT
	.word	CS_OPT_SYNTAX_INTEL
	.word	n
	.word	.LC1
	.word	.LC0
	.word	.LC3
	.word	.LC4
	.word	R_ASM_SYNTAX_JZ
	.word	CS_MODE_64
	.word	CS_OPT_ON
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC2
	.size	disassemble, .-disassemble
	.comm	n,4,4
	.comm	cd,4,4
	.comm	R_ASM_SYNTAX_MASM,4,4
	.comm	R_ASM_SYNTAX_JZ,4,4
	.comm	R_ASM_SYNTAX_ATT,4,4
	.comm	CS_OPT_UNSIGNED,4,4
	.comm	CS_OPT_SYNTAX_MASM,4,4
	.comm	CS_OPT_SYNTAX_INTEL,4,4
	.comm	CS_OPT_SYNTAX_ATT,4,4
	.comm	CS_OPT_SYNTAX,4,4
	.comm	CS_OPT_ON,4,4
	.comm	CS_OPT_OFF,4,4
	.comm	CS_OPT_DETAIL,4,4
	.comm	CS_MODE_64,4,4
	.comm	CS_MODE_32,4,4
	.comm	CS_MODE_16,4,4
	.comm	CS_ARCH_X86,4,4
	.bss
	.align	2
	.set	.LANCHOR0,. + 0
	.type	omode.4321, %object
	.size	omode.4321, 4
omode.4321:
	.space	4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
