	.file	"extr_sata_promise.c_pdc_check_atapi_dma.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pdc_check_atapi_dma, @function
pdc_check_atapi_dma:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR [rdi]
	mov	rdx, QWORD PTR [rax]
	mov	eax, 1
	mov	esi, DWORD PTR [rdx]
	lea	ecx, -128[rsi]
	cmp	ecx, 62
	ja	.L1
	movabs	rdi, 4611721202799476799
	bt	rdi, rcx
	jc	.L8
.L1:
	ret
.L8:
	xor	eax, eax
	cmp	esi, 130
	jne	.L1
	mov	eax, DWORD PTR 8[rdx]
	mov	ecx, DWORD PTR 12[rdx]
	sal	eax, 24
	sal	ecx, 16
	or	eax, ecx
	or	eax, DWORD PTR 20[rdx]
	mov	edx, DWORD PTR 16[rdx]
	sal	edx, 8
	or	eax, edx
	cmp	eax, -45151
	seta	al
	movzx	eax, al
	ret
	.cfi_endproc
.LFE0:
	.size	pdc_check_atapi_dma, .-pdc_check_atapi_dma
	.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_sata_promise.c_pdc_check_atapi_dma.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdc_check_atapi_dma, %function
pdc_check_atapi_dma:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r0]
	ldr	r3, [r3]
	ldr	r0, [r3]
	cmp	r0, #173
	beq	.L8
	bgt	.L3
	sub	r2, r0, #128
	cmp	r2, #5
	bls	.L11
	mov	r0, #1
	bx	lr
.L3:
	subs	r0, r0, #190
	movne	r0, #1
	bx	lr
.L11:
	cmp	r0, #130
	bne	.L8
	ldr	r0, [r3, #12]
	ldr	r2, [r3, #8]
	ldr	r1, [r3, #20]
	lsl	r0, r0, #16
	orr	r0, r0, r2, lsl #24
	ldr	r2, [r3, #16]
	orr	r0, r0, r1
	ldr	r3, .L12
	orr	r0, r0, r2, lsl #8
	cmp	r0, r3
	movls	r0, #0
	movhi	r0, #1
	bx	lr
.L8:
	mov	r0, #0
	bx	lr
.L13:
	.align	2
.L12:
	.word	-45151
	.size	pdc_check_atapi_dma, .-pdc_check_atapi_dma
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
