	.file	"extr_sata_promise.c_pdc_common_port_start.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	pdc_common_port_start, @function
pdc_common_port_start:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	rbx, rdi
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR 8[rdi]
	mov	r13, QWORD PTR [rax]
	call	ata_port_start@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L8
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	edx, DWORD PTR GFP_KERNEL[rip]
	mov	esi, 8
	mov	rdi, r13
	call	devm_kzalloc@PLT
	mov	rbp, rax
	test	rax, rax
	je	.L6
	mov	ecx, DWORD PTR GFP_KERNEL[rip]
	lea	rdx, 4[rax]
	mov	esi, 128
	mov	rdi, r13
	call	dmam_alloc_coherent@PLT
	mov	DWORD PTR 0[rbp], eax
	test	eax, eax
	je	.L6
	mov	QWORD PTR [rbx], rbp
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	r12d, DWORD PTR ENOMEM[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	neg	r12d
	mov	eax, r12d
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	pdc_common_port_start, .-pdc_common_port_start
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,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_sata_promise.c_pdc_common_port_start.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pdc_common_port_start, %function
pdc_common_port_start:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, [r0, #4]
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r0
	ldr	r7, [r3]
	bl	ata_port_start
	subs	r4, r0, #0
	beq	.L8
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r8, .L9
	mov	r1, #8
	mov	r0, r7
	ldr	r2, [r8]
	bl	devm_kzalloc
	subs	r6, r0, #0
	beq	.L6
	mov	r0, r7
	mov	r1, #128
	ldr	r3, [r8]
	add	r2, r6, #4
	bl	dmam_alloc_coherent
	cmp	r0, #0
	str	r0, [r6]
	strne	r6, [r5]
	bne	.L1
.L6:
	ldr	r3, .L9+4
	ldr	r0, [r3]
	rsb	r4, r0, #0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L10:
	.align	2
.L9:
	.word	GFP_KERNEL
	.word	ENOMEM
	.size	pdc_common_port_start, .-pdc_common_port_start
	.comm	GFP_KERNEL,4,4
	.comm	ENOMEM,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
