	.file	"extr_ida_disk.c_idad_dump.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	idad_dump, @function
idad_dump:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	rbx, QWORD PTR [rdi]
	test	rbx, rbx
	je	.L9
	mov	r10, QWORD PTR [rbx]
	mov	edi, DWORD PTR IDA_INTERRUPTS[rip]
	mov	eax, ecx
	mov	rcx, r8
	xor	r8d, r8d
	not	edi
	and	edi, DWORD PTR [r10]
	mov	DWORD PTR [r10], edi
	test	rcx, rcx
	jne	.L10
.L4:
	or	edi, DWORD PTR IDA_INTERRUPTS[rip]
	mov	eax, r8d
	mov	DWORD PTR [r10], edi
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	cdq
	sub	rsp, 8
	.cfi_def_cfa_offset 24
	mov	r8d, DWORD PTR 8[rbx]
	mov	rdi, r10
	idiv	DWORD PTR DEV_BSIZE[rip]
	mov	edx, DWORD PTR DMA_DATA_OUT[rip]
	push	rdx
	.cfi_def_cfa_offset 32
	mov	rdx, rsi
	mov	esi, DWORD PTR CMD_WRITE[rip]
	mov	r9d, eax
	call	ida_command@PLT
	mov	r10, QWORD PTR [rbx]
	mov	r8d, eax
	pop	rax
	.cfi_def_cfa_offset 24
	pop	rdx
	.cfi_def_cfa_offset 16
	mov	edi, DWORD PTR [r10]
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r8d, DWORD PTR ENXIO[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	mov	eax, r8d
	ret
	.cfi_endproc
.LFE0:
	.size	idad_dump, .-idad_dump
	.comm	IDA_INTERRUPTS,4,4
	.comm	ENXIO,4,4
	.comm	DMA_DATA_OUT,4,4
	.comm	DEV_BSIZE,4,4
	.comm	CMD_WRITE,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_ida_disk.c_idad_dump.c"
	.text
	.global	__aeabi_idiv
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	idad_dump, %function
idad_dump:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	ldr	r6, [r0]
	sub	sp, sp, #20
	cmp	r6, #0
	ldr	r4, [sp, #48]
	beq	.L8
	ldr	r5, [r6]
	ldr	r7, .L10
	ldr	ip, [r5]
	ldr	r2, [r7]
	cmp	r4, #0
	bic	ip, ip, r2
	moveq	r0, r4
	str	ip, [r5]
	bne	.L9
.L4:
	ldr	r3, [r7]
	orr	ip, r3, ip
	str	ip, [r5]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L9:
	ldr	r2, .L10+4
	mov	r8, r1
	ldr	ip, [r2]
	ldr	r1, .L10+8
	ldr	r2, .L10+12
	ldr	r1, [r1]
	mov	r0, r3
	str	ip, [sp, #8]
	ldr	r9, [r2]
	bl	__aeabi_idiv
	str	r0, [sp, #4]
	ldr	ip, [r6, #4]
	mov	r0, r5
	str	ip, [sp]
	mov	r1, r9
	mov	r3, r4
	mov	r2, r8
	bl	ida_command
	ldr	r5, [r6]
	ldr	ip, [r5]
	b	.L4
.L8:
	ldr	r3, .L10+16
	ldr	r0, [r3]
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, pc}
.L11:
	.align	2
.L10:
	.word	IDA_INTERRUPTS
	.word	DMA_DATA_OUT
	.word	DEV_BSIZE
	.word	CMD_WRITE
	.word	ENXIO
	.size	idad_dump, .-idad_dump
	.comm	IDA_INTERRUPTS,4,4
	.comm	ENXIO,4,4
	.comm	DMA_DATA_OUT,4,4
	.comm	DEV_BSIZE,4,4
	.comm	CMD_WRITE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
