	.file	"extr_pci.c_zpci_register_ioat.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zpci_register_ioat
	.type	zpci_register_ioat, @function
zpci_register_ioat:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, ecx
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, r8d
	sub	rsp, 56
	.cfi_def_cfa_offset 96
	mov	edx, DWORD PTR ZPCI_MOD_FC_REG_IOAT[rip]
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	ZPCI_CREATE_REQ@PLT
	mov	edi, ebx
	pxor	xmm0, xmm0
	mov	ebp, eax
	and	edi, 16383
	movaps	XMMWORD PTR 16[rsp], xmm0
	call	WARN_ON_ONCE@PLT
	or	ebx, DWORD PTR ZPCI_IOTA_RTTO_FLAG[rip]
	lea	rdx, 12[rsp]
	mov	edi, ebp
	lea	rsi, 16[rsp]
	mov	DWORD PTR 16[rsp], r13d
	mov	DWORD PTR 20[rsp], r12d
	mov	DWORD PTR 24[rsp], ebx
	call	zpci_mod_fc@PLT
	mov	r8, rax
	xor	eax, eax
	test	r8, r8
	je	.L1
	mov	eax, DWORD PTR EIO[rip]
	neg	eax
.L1:
	mov	rcx, QWORD PTR 40[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	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
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zpci_register_ioat, .-zpci_register_ioat
	.comm	ZPCI_MOD_FC_REG_IOAT,4,4
	.comm	ZPCI_IOTA_RTTO_FLAG,4,4
	.comm	EIO,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_pci.c_zpci_register_ioat.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zpci_register_ioat
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpci_register_ioat, %function
zpci_register_ioat:
	@ args = 4, pretend = 0, frame = 24
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r5, r2
	ldr	r2, .L10
	mov	r4, r3
	ldr	r3, .L10+4
	sub	sp, sp, #28
	ldr	r2, [r2]
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	ldr	r7, [sp, #48]
	bl	ZPCI_CREATE_REQ
	mov	r1, #0
	mov	r6, r0
	lsl	r0, r7, #18
	lsr	r0, r0, #18
	str	r1, [sp, #4]
	str	r1, [sp, #8]
	str	r1, [sp, #12]
	str	r1, [sp, #16]
	bl	WARN_ON_ONCE
	ldr	r3, .L10+8
	mov	r2, sp
	ldr	ip, [r3]
	mov	r0, r6
	orr	ip, ip, r7
	add	r1, sp, #4
	str	r5, [sp, #4]
	str	r4, [sp, #8]
	str	ip, [sp, #12]
	bl	zpci_mod_fc
	cmp	r0, #0
	ldrne	r3, .L10+12
	ldrne	r0, [r3]
	ldr	r3, .L10+4
	rsbne	r0, r0, #0
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	ZPCI_MOD_FC_REG_IOAT
	.word	.LC0
	.word	ZPCI_IOTA_RTTO_FLAG
	.word	EIO
	.size	zpci_register_ioat, .-zpci_register_ioat
	.comm	ZPCI_MOD_FC_REG_IOAT,4,4
	.comm	ZPCI_IOTA_RTTO_FLAG,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
