	.file	"extr_visual.c_prevop_addr.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"asm.flags.middle"
	.text
	.p2align 4
	.type	prevop_addr, @function
prevop_addr:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	mov	r12, rdi
	push	rbx
	.cfi_offset 3, -56
	mov	rbx, rsi
	sub	rsp, 56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR OPDELTA[rip]
	mov	rsi, rsp
	lea	r14d, [rax+rax]
	movsx	r13, r14d
	lea	rax, 0[0+r13*4]
	mov	QWORD PTR -72[rbp], rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rsi, rax
	and	rdx, -16
	mov	rax, rsi
	cmp	rsp, rax
	je	.L3
.L31:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L31
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L32
.L4:
	mov	esi, DWORD PTR R_ANAL_ARCHINFO_MIN_OP_SIZE[rip]
	mov	edi, DWORD PTR [r12]
	mov	QWORD PTR -80[rbp], rsp
	call	r_anal_archinfo@PLT
	mov	esi, DWORD PTR R_ANAL_ARCHINFO_MAX_OP_SIZE[rip]
	mov	edi, DWORD PTR [r12]
	mov	r13d, eax
	call	r_anal_archinfo@PLT
	cmp	r13d, eax
	jne	.L5
	movsx	rcx, r13d
	lea	rax, -4[rbx]
	sub	rbx, rcx
	cmp	r13d, -1
	cmovne	rax, rbx
	mov	r15, rax
.L1:
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L33
	lea	rsp, -40[rbp]
	mov	rax, r15
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	movsx	rdx, r13d
	mov	r13, rbx
	mov	edi, DWORD PTR [r12]
	sub	r13, rdx
	mov	rsi, r13
	call	r_anal_bb_from_offset@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L11
	mov	rsi, r13
	call	r_anal_bb_opaddr_at@PLT
	cmp	QWORD PTR UT64_MAX[rip], rax
	mov	r15, rax
	jne	.L1
.L11:
	mov	edi, DWORD PTR 8[r12]
	lea	rsi, .LC0[rip]
	call	r_config_get_i@PLT
	mov	rdx, rbx
	mov	edi, DWORD PTR 4[r12]
	mov	DWORD PTR -60[rbp], eax
	movsx	rax, DWORD PTR OPDELTA[rip]
	sub	rdx, rax
	cmp	rax, rbx
	mov	eax, 0
	cmovl	rax, rdx
	mov	rdx, QWORD PTR -80[rbp]
	mov	QWORD PTR -96[rbp], rax
	mov	rsi, rax
	lea	eax, 0[0+r14*4]
	mov	ecx, eax
	mov	DWORD PTR -84[rbp], eax
	call	r_io_read_at@PLT
	cmp	QWORD PTR -72[rbp], 0
	je	.L18
	xor	eax, eax
	xor	r13d, r13d
	lea	r14, -64[rbp]
	xor	r10d, r10d
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L13:
	add	rax, r15
	cmp	rax, rbx
	jge	.L1
	lea	r11d, -1[rdx+r13]
.L17:
	lea	r13d, 1[r11]
	movsx	r10, r13d
	mov	rax, r10
	cmp	r10, QWORD PTR -72[rbp]
	jnb	.L18
.L12:
	mov	rsi, QWORD PTR -96[rbp]
	mov	rcx, QWORD PTR -80[rbp]
	mov	r8d, DWORD PTR -84[rbp]
	mov	r9d, DWORD PTR R_ANAL_OP_MASK_BASIC[rip]
	lea	r15, [r10+rsi]
	mov	edi, DWORD PTR [r12]
	lea	rcx, [rcx+rax*4]
	mov	rsi, r14
	sub	r8d, r13d
	mov	rdx, r15
	call	r_anal_op@PLT
	mov	edx, 1
	mov	r8d, eax
	mov	eax, 1
	test	r8d, r8d
	je	.L13
	mov	eax, DWORD PTR -64[rbp]
	mov	rdi, r14
	test	eax, eax
	cmovg	edx, eax
	mov	DWORD PTR -88[rbp], edx
	call	r_anal_op_fini@PLT
	mov	eax, DWORD PTR R_MIDFLAGS_REALIGN[rip]
	cmp	DWORD PTR -60[rbp], eax
	mov	edx, DWORD PTR -88[rbp]
	jge	.L14
.L29:
	movsx	rax, edx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rcx, -60[rbp]
	mov	rsi, r15
	mov	rdi, r12
	mov	DWORD PTR -88[rbp], edx
	call	r_core_flag_in_middle@PLT
	mov	edx, DWORD PTR -88[rbp]
	test	eax, eax
	je	.L29
	movsx	rcx, eax
	add	rcx, r15
	cmp	rcx, rbx
	jge	.L29
	lea	r11d, -1[rax+r13]
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L32:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	rbx, 4
	mov	r10d, 4
	cmovl	rbx, r10
	lea	r15, -4[rbx]
	jmp	.L1
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	prevop_addr, .-prevop_addr
	.comm	UT64_MAX,8,8
	.comm	R_MIDFLAGS_REALIGN,4,4
	.comm	R_ANAL_OP_MASK_BASIC,4,4
	.comm	R_ANAL_ARCHINFO_MIN_OP_SIZE,4,4
	.comm	R_ANAL_ARCHINFO_MAX_OP_SIZE,4,4
	.comm	OPDELTA,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_visual.c_prevop_addr.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"asm.flags.middle\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	prevop_addr, %function
prevop_addr:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	add	fp, sp, #32
	sub	sp, sp, #36
	mov	r2, sp
	ldr	r4, .L27
	ldr	r3, .L27+4
	ldr	r6, [r4]
	mov	r8, r1
	sub	r2, r2, r6, lsl #3
	ldr	r1, [r3]
	ldr	r3, .L27+8
	mov	r7, r0
	mov	sp, r2
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [fp, #-40]
	mov	r3,#0
	bl	r_anal_archinfo
	ldr	r3, .L27+12
	mov	r5, r0
	ldr	r1, [r3]
	ldr	r0, [r7]
	bl	r_anal_archinfo
	cmp	r5, r0
	bne	.L2
	cmn	r5, #1
	subeq	r5, r8, #4
	subne	r5, r8, r5
.L1:
	ldr	r3, .L27+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-40]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L25
	mov	r0, r5
	sub	sp, fp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	sub	r5, r8, r5
	mov	r1, r5
	ldr	r0, [r7]
	bl	r_anal_bb_from_offset
	cmp	r0, #0
	lsl	r6, r6, #3
	add	r9, sp, #8
	beq	.L8
	mov	r1, r5
	bl	r_anal_bb_opaddr_at
	ldr	r3, .L27+16
	mov	r5, r0
	ldr	r3, [r3]
	cmp	r3, r0
	bne	.L1
.L8:
	ldr	r1, .L27+20
	ldr	r0, [r7, #8]
	bl	r_config_get_i
	ldr	r3, [r4]
	str	r0, [fp, #-44]
	cmp	r3, r8
	movge	r3, #0
	strge	r3, [fp, #-56]
	blt	.L26
.L7:
	mov	r3, r6
	mov	r2, r9
	ldr	r1, [fp, #-56]
	ldr	r0, [r7, #4]
	bl	r_io_read_at
	cmp	r6, #0
	beq	.L9
	mov	r3, #0
	ldr	r10, .L27+24
	mov	r4, r3
	b	.L12
.L10:
	add	r3, r2, r5
	cmp	r3, r8
	bge	.L1
	sub	r2, r2, #1
	add	r4, r2, r4
.L11:
	add	r4, r4, #1
	cmp	r4, r6
	mov	r3, r4
	bcs	.L9
.L12:
	ldr	r1, [fp, #-56]
	ldr	r2, [r10]
	add	r5, r1, r4
	sub	r1, r6, r3
	str	r2, [sp, #4]
	str	r1, [sp]
	mov	r2, r5
	ldr	r0, [r7]
	add	r3, r9, r3, lsl #2
	sub	r1, fp, #48
	bl	r_anal_op
	cmp	r0, #0
	moveq	r2, #1
	beq	.L10
	ldr	r2, [fp, #-48]
	sub	r0, fp, #48
	cmp	r2, #1
	movlt	r2, #1
	str	r2, [fp, #-60]
	bl	r_anal_op_fini
	ldr	r3, .L27+28
	ldr	r1, [fp, #-44]
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r1, r3
	blt	.L10
	mov	r1, r5
	mov	r0, r7
	sub	r3, fp, #44
	bl	r_core_flag_in_middle
	cmp	r0, #0
	ldr	r2, [fp, #-60]
	beq	.L10
	add	r3, r5, r0
	cmp	r3, r8
	sublt	r0, r0, #1
	addlt	r4, r0, r4
	bge	.L10
	b	.L11
.L26:
	sub	r3, r8, r3
	str	r3, [fp, #-56]
	b	.L7
.L9:
	cmp	r8, #4
	movge	r5, r8
	movlt	r5, #4
	sub	r5, r5, #4
	b	.L1
.L25:
	bl	__stack_chk_fail
.L28:
	.align	2
.L27:
	.word	OPDELTA
	.word	R_ANAL_ARCHINFO_MIN_OP_SIZE
	.word	.LC1
	.word	R_ANAL_ARCHINFO_MAX_OP_SIZE
	.word	UT64_MAX
	.word	.LC0
	.word	R_ANAL_OP_MASK_BASIC
	.word	R_MIDFLAGS_REALIGN
	.size	prevop_addr, .-prevop_addr
	.comm	UT64_MAX,4,4
	.comm	R_MIDFLAGS_REALIGN,4,4
	.comm	R_ANAL_OP_MASK_BASIC,4,4
	.comm	R_ANAL_ARCHINFO_MIN_OP_SIZE,4,4
	.comm	R_ANAL_ARCHINFO_MAX_OP_SIZE,4,4
	.comm	OPDELTA,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
