	.file	"extr_pci_insn.c_zpci_refresh_trans.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	zpci_refresh_trans
	.type	zpci_refresh_trans, @function
zpci_refresh_trans:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edi
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	lea	rbp, 4[rsp]
.L3:
	mov	rcx, rbp
	mov	edx, r14d
	mov	esi, r13d
	mov	edi, ebx
	call	__rpcit@PLT
	mov	r12d, eax
	cmp	eax, 2
	je	.L15
	test	eax, eax
	jne	.L7
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	mov	edi, DWORD PTR ZPCI_INSN_BUSY_DELAY[rip]
	call	udelay@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L7:
	mov	esi, DWORD PTR 4[rsp]
	mov	ecx, r14d
	mov	edx, r13d
	mov	edi, r12d
	call	zpci_err_insn@PLT
	cmp	r12d, 1
	jne	.L4
	mov	eax, DWORD PTR 4[rsp]
	cmp	eax, 4
	je	.L9
	cmp	eax, 16
	je	.L9
.L4:
	mov	r12d, DWORD PTR EIO[rip]
	neg	r12d
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	mov	r12d, DWORD PTR ENOMEM[rip]
	neg	r12d
	jmp	.L1
.L16:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zpci_refresh_trans, .-zpci_refresh_trans
	.comm	ZPCI_INSN_BUSY_DELAY,4,4
	.comm	ENOMEM,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_insn.c_zpci_refresh_trans.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	zpci_refresh_trans
	.syntax unified
	.arm
	.fpu softvfp
	.type	zpci_refresh_trans, %function
zpci_refresh_trans:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r3, .L16
	sub	sp, sp, #8
	mov	r7, r0
	mov	r5, r1
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	ldr	r8, .L16+4
.L3:
	mov	r3, sp
	mov	r2, r6
	mov	r1, r5
	mov	r0, r7
	bl	__rpcit
	cmp	r0, #2
	mov	r4, r0
	beq	.L13
	cmp	r0, #0
	bne	.L6
.L1:
	ldr	r3, .L16
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	mov	r0, r4
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L13:
	ldr	r0, [r8]
	bl	udelay
	b	.L3
.L6:
	mov	r3, r6
	mov	r2, r5
	ldr	r1, [sp]
	bl	zpci_err_insn
	cmp	r4, #1
	bne	.L4
	ldr	r3, [sp]
	cmp	r3, #16
	cmpne	r3, #4
	beq	.L15
.L4:
	ldr	r3, .L16+8
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L15:
	ldr	r3, .L16+12
	ldr	r4, [r3]
	rsb	r4, r4, #0
	b	.L1
.L14:
	bl	__stack_chk_fail
.L17:
	.align	2
.L16:
	.word	.LC0
	.word	ZPCI_INSN_BUSY_DELAY
	.word	EIO
	.word	ENOMEM
	.size	zpci_refresh_trans, .-zpci_refresh_trans
	.comm	ZPCI_INSN_BUSY_DELAY,4,4
	.comm	ENOMEM,4,4
	.comm	EIO,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
