	.file	"extr_ibmvnic.c_reset_one_sub_crq_queue.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	reset_one_sub_crq_queue, @function
reset_one_sub_crq_queue:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdi, QWORD PTR 32[rsi]
	test	rdi, rdi
	jne	.L8
.L2:
	mov	eax, DWORD PTR PAGE_SIZE[rip]
	mov	edi, DWORD PTR 28[rbx]
	xor	esi, esi
	lea	edx, 0[0+rax*4]
	call	memset@PLT
	lea	rdi, 24[rbx]
	xor	esi, esi
	call	atomic_set@PLT
	mov	esi, DWORD PTR 8[rbx]
	lea	rcx, 4[rbx]
	mov	r8, rbx
	mov	eax, DWORD PTR PAGE_SIZE[rip]
	mov	QWORD PTR 16[rbx], 0
	lea	edx, 0[0+rax*4]
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, DWORD PTR [rax]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	h_reg_sub_crq@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	call	free_irq@PLT
	mov	rdi, QWORD PTR 32[rbx]
	call	irq_dispose_mapping@PLT
	mov	QWORD PTR 32[rbx], 0
	jmp	.L2
	.cfi_endproc
.LFE0:
	.size	reset_one_sub_crq_queue, .-reset_one_sub_crq_queue
	.comm	PAGE_SIZE,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_ibmvnic.c_reset_one_sub_crq_queue.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	reset_one_sub_crq_queue, %function
reset_one_sub_crq_queue:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r3, [r1, #24]
	mov	r4, r1
	cmp	r3, #0
	mov	r5, r0
	sub	sp, sp, #8
	bne	.L8
.L2:
	ldr	r6, .L9
	mov	r1, #0
	ldr	r2, [r6]
	ldr	r0, [r4, #20]
	lsl	r2, r2, #2
	bl	memset
	mov	r1, #0
	add	r0, r4, #16
	bl	atomic_set
	mov	r3, #0
	ldr	r1, [r5]
	ldr	r2, [r6]
	ldr	r0, [r1]
	str	r4, [sp]
	ldr	r1, [r4, #8]
	str	r3, [r4, #12]
	lsl	r2, r2, #2
	add	r3, r4, #4
	bl	h_reg_sub_crq
	add	sp, sp, #8
	@ sp needed
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, r3
	bl	free_irq
	ldr	r0, [r4, #24]
	bl	irq_dispose_mapping
	mov	r3, #0
	str	r3, [r4, #24]
	b	.L2
.L10:
	.align	2
.L9:
	.word	PAGE_SIZE
	.size	reset_one_sub_crq_queue, .-reset_one_sub_crq_queue
	.comm	PAGE_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
