	.file	"extr_qib_iba6120.c_qib_late_6120_initreg.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Catastrophic software error, SendPIOAvailAddr written as %lx, read back as %llx\n"
	.text
	.p2align 4
	.type	qib_late_6120_initreg, @function
qib_late_6120_initreg:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR kr_rcvhdrentsize[rip]
	mov	rbp, rdi
	mov	rdx, QWORD PTR [rdi]
	call	qib_write_kreg@PLT
	mov	rdx, QWORD PTR 8[rbp]
	mov	esi, DWORD PTR kr_rcvhdrsize[rip]
	mov	rdi, rbp
	call	qib_write_kreg@PLT
	mov	rdx, QWORD PTR 16[rbp]
	mov	esi, DWORD PTR kr_rcvhdrcnt[rip]
	mov	rdi, rbp
	call	qib_write_kreg@PLT
	mov	rdx, QWORD PTR 24[rbp]
	mov	esi, DWORD PTR kr_sendpioavailaddr[rip]
	mov	rdi, rbp
	call	qib_write_kreg@PLT
	mov	esi, DWORD PTR kr_sendpioavailaddr[rip]
	mov	rdi, rbp
	call	qib_read_kreg64@PLT
	mov	rdx, QWORD PTR 24[rbp]
	mov	rcx, rax
	xor	eax, eax
	cmp	rdx, rcx
	jne	.L7
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	qib_dev_err@PLT
	mov	eax, DWORD PTR EINVAL[rip]
	pop	rbp
	.cfi_def_cfa_offset 8
	neg	eax
	ret
	.cfi_endproc
.LFE0:
	.size	qib_late_6120_initreg, .-qib_late_6120_initreg
	.comm	kr_sendpioavailaddr,4,4
	.comm	kr_rcvhdrsize,4,4
	.comm	kr_rcvhdrentsize,4,4
	.comm	kr_rcvhdrcnt,4,4
	.comm	EINVAL,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_qib_iba6120.c_qib_late_6120_initreg.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Catastrophic software error, SendPIOAvailAddr writt"
	.ascii	"en as %lx, read back as %llx\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qib_late_6120_initreg, %function
qib_late_6120_initreg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L6
	sub	sp, sp, #12
	ldr	r1, [r3]
	ldr	r2, [r0]
	bl	qib_write_kreg
	ldr	r3, .L6+4
	ldr	r2, [r4, #4]
	ldr	r1, [r3]
	mov	r0, r4
	bl	qib_write_kreg
	ldr	r3, .L6+8
	ldr	r5, .L6+12
	ldr	r1, [r3]
	ldr	r2, [r4, #8]
	mov	r0, r4
	bl	qib_write_kreg
	ldr	r2, [r4, #12]
	ldr	r1, [r5]
	mov	r0, r4
	bl	qib_write_kreg
	mov	r0, r4
	ldr	r1, [r5]
	bl	qib_read_kreg64
	ldr	r2, [r4, #12]
	cmp	r2, r0
	moveq	r0, #0
	beq	.L1
	mov	r6, r0
	asr	r7, r0, #31
	stm	sp, {r6-r7}
	mov	r0, r4
	ldr	r1, .L6+16
	bl	qib_dev_err
	ldr	r3, .L6+20
	ldr	r0, [r3]
	rsb	r0, r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L7:
	.align	2
.L6:
	.word	kr_rcvhdrentsize
	.word	kr_rcvhdrsize
	.word	kr_rcvhdrcnt
	.word	kr_sendpioavailaddr
	.word	.LC0
	.word	EINVAL
	.size	qib_late_6120_initreg, .-qib_late_6120_initreg
	.comm	kr_sendpioavailaddr,4,4
	.comm	kr_rcvhdrsize,4,4
	.comm	kr_rcvhdrentsize,4,4
	.comm	kr_rcvhdrcnt,4,4
	.comm	EINVAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
