	.file	"extr_qib_iba6120.c_qib_disarm_6120_senderrbufs.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	qib_disarm_6120_senderrbufs, @function
qib_disarm_6120_senderrbufs:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	sub	rsp, 32
	.cfi_def_cfa_offset 48
	mov	rbp, QWORD PTR [rdi]
	mov	rsi, QWORD PTR kr_sendbuffererror[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	rdi, rbp
	call	qib_read_kreg64@PLT
	mov	rdi, rbp
	mov	QWORD PTR [rsp], rax
	mov	rax, QWORD PTR kr_sendbuffererror[rip]
	lea	rsi, 1[rax]
	call	qib_read_kreg64@PLT
	mov	QWORD PTR 8[rsp], rax
	or	rax, QWORD PTR [rsp]
	je	.L1
	mov	rdx, QWORD PTR 0[rbp]
	mov	rsi, rsp
	add	rdx, QWORD PTR 8[rbp]
	mov	rdi, rbp
	call	qib_disarm_piobufs_set@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L9
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L9:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	qib_disarm_6120_senderrbufs, .-qib_disarm_6120_senderrbufs
	.comm	kr_sendbuffererror,8,8
	.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_disarm_6120_senderrbufs.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	qib_disarm_6120_senderrbufs, %function
qib_disarm_6120_senderrbufs:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	ldr	r4, [r0]
	ldr	r5, .L10
	ldr	r3, .L10+4
	sub	sp, sp, #20
	ldr	r1, [r5]
	mov	r0, r4
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	qib_read_kreg64
	mov	r3, r0
	ldr	r1, [r5]
	mov	r0, r4
	add	r1, r1, #1
	str	r3, [sp, #4]
	bl	qib_read_kreg64
	ldr	r3, [sp, #4]
	str	r0, [sp, #8]
	orrs	r3, r0, r3
	beq	.L1
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	mov	r0, r4
	add	r2, r2, r3
	add	r1, sp, #4
	bl	qib_disarm_piobufs_set
.L1:
	ldr	r3, .L10+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, pc}
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	kr_sendbuffererror
	.word	.LC0
	.size	qib_disarm_6120_senderrbufs, .-qib_disarm_6120_senderrbufs
	.comm	kr_sendbuffererror,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
