	.file	"extr_dm.c_dm_pr_preempt.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	dm_pr_preempt, @function
dm_pr_preempt:
.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	r13d, edx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, esi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR 8[rsp], rdi
	lea	rdx, 8[rsp]
	lea	rsi, 20[rsp]
	mov	r15, QWORD PTR 8[rax]
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rcx
	xor	ecx, ecx
	mov	rdi, r15
	call	dm_prepare_ioctl@PLT
	mov	r12d, eax
	test	eax, eax
	js	.L2
	mov	rdi, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR [rdi]
	mov	rax, QWORD PTR [rax]
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L3
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L3
	mov	r8d, ebx
	mov	ecx, r14d
	mov	edx, r13d
	mov	esi, ebp
	call	rax
	mov	r12d, eax
.L2:
	mov	esi, DWORD PTR 20[rsp]
	mov	rdi, r15
	call	dm_unprepare_ioctl@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L13
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L3:
	.cfi_restore_state
	mov	r12d, DWORD PTR EOPNOTSUPP[rip]
	neg	r12d
	jmp	.L2
.L13:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	dm_pr_preempt, .-dm_pr_preempt
	.comm	EOPNOTSUPP,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_dm.c_dm_pr_preempt.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	dm_pr_preempt, %function
dm_pr_preempt:
	@ args = 4, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r2
	ldr	r2, [r0]
	sub	sp, sp, #24
	ldr	r6, [r2, #4]
	mov	r5, r3
	ldr	r3, .L14
	str	r0, [sp, #12]
	mov	r8, r1
	mov	r0, r6
	add	r2, sp, #12
	add	r1, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	dm_prepare_ioctl
	subs	r4, r0, #0
	blt	.L2
	ldr	r0, [sp, #12]
	ldr	r3, [r0]
	ldr	r3, [r3]
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L3
	ldr	r4, [r3]
	cmp	r4, #0
	beq	.L3
	ldr	r3, [sp, #48]
	mov	r2, r7
	str	r3, [sp]
	mov	r1, r8
	mov	r3, r5
	blx	r4
	mov	r4, r0
.L2:
	mov	r0, r6
	ldr	r1, [sp, #16]
	bl	dm_unprepare_ioctl
	ldr	r3, .L14
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	mov	r0, r4
	add	sp, sp, #24
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L3:
	ldr	r3, .L14+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
	b	.L2
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	.LC0
	.word	EOPNOTSUPP
	.size	dm_pr_preempt, .-dm_pr_preempt
	.comm	EOPNOTSUPP,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
