	.file	"extr_ida_disk.c_idad_strategy.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	idad_strategy, @function
idad_strategy:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR 40[rdi]
	mov	rsi, rdi
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L9
	mov	edx, DWORD PTR [rax]
	test	DWORD PTR DRV_WRITEPROT[rip], edx
	je	.L4
	mov	rcx, QWORD PTR BIO_WRITE[rip]
	cmp	QWORD PTR [rdi], rcx
	je	.L10
.L4:
	mov	QWORD PTR 24[rsi], rax
	mov	edi, DWORD PTR 4[rax]
	jmp	ida_submit_buf@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	mov	eax, DWORD PTR EROFS[rip]
	mov	DWORD PTR 32[rdi], eax
.L3:
	mov	eax, DWORD PTR BIO_ERROR[rip]
	or	DWORD PTR 16[rsi], eax
	mov	rdi, rsi
	mov	eax, DWORD PTR 8[rsi]
	mov	DWORD PTR 12[rsi], eax
	jmp	biodone@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	mov	eax, DWORD PTR EINVAL[rip]
	mov	DWORD PTR 32[rdi], eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	idad_strategy, .-idad_strategy
	.comm	EROFS,4,4
	.comm	EINVAL,4,4
	.comm	DRV_WRITEPROT,4,4
	.comm	BIO_WRITE,8,8
	.comm	BIO_ERROR,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_strategy.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	idad_strategy, %function
idad_strategy:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r0, #24]
	mov	r1, r0
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L9
	ldr	r2, .L11
	ldr	r0, [r3]
	ldr	r2, [r2]
	tst	r0, r2
	beq	.L4
	ldr	r2, .L11+4
	ldr	r0, [r1]
	ldr	r2, [r2]
	cmp	r0, r2
	beq	.L10
.L4:
	ldr	r0, [r3, #4]
	str	r3, [r1, #16]
	b	ida_submit_buf
.L10:
	ldr	r3, .L11+8
	ldr	r3, [r3]
	str	r3, [r1, #20]
.L3:
	ldr	r2, .L11+12
	ldr	r3, [r1, #12]
	ldr	r0, [r2]
	ldr	r2, [r1, #4]
	orr	r3, r3, r0
	str	r3, [r1, #12]
	mov	r0, r1
	str	r2, [r1, #8]
	b	biodone
.L9:
	ldr	r3, .L11+16
	ldr	r3, [r3]
	str	r3, [r0, #20]
	b	.L3
.L12:
	.align	2
.L11:
	.word	DRV_WRITEPROT
	.word	BIO_WRITE
	.word	EROFS
	.word	BIO_ERROR
	.word	EINVAL
	.size	idad_strategy, .-idad_strategy
	.comm	EROFS,4,4
	.comm	EINVAL,4,4
	.comm	DRV_WRITEPROT,4,4
	.comm	BIO_WRITE,4,4
	.comm	BIO_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
