	.file	"extr_virtio_ccw.c_new_airq_info.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	new_airq_info, @function
new_airq_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, edi
	mov	edi, 28
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	esi, DWORD PTR GFP_KERNEL[rip]
	call	kzalloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L1
	lea	rdi, 24[rax]
	call	rwlock_init@PLT
	mov	edi, DWORD PTR VIRTIO_IV_BITS[rip]
	mov	esi, DWORD PTR AIRQ_IV_ALLOC[rip]
	or	esi, DWORD PTR AIRQ_IV_PTR[rip]
	or	esi, DWORD PTR AIRQ_IV_CACHELINE[rip]
	call	airq_iv_create@PLT
	mov	DWORD PTR 4[r12], eax
	test	eax, eax
	je	.L11
	mov	eax, DWORD PTR virtio_airq_handler[rip]
	mov	DWORD PTR [r12], ebx
	mov	rdi, r12
	mov	DWORD PTR 20[r12], eax
	call	get_summary_indicator@PLT
	lea	rdi, 8[r12]
	mov	DWORD PTR 8[r12], 255
	mov	DWORD PTR 16[r12], eax
	mov	eax, DWORD PTR VIRTIO_AIRQ_ISC[rip]
	mov	DWORD PTR 12[r12], eax
	call	register_adapter_interrupt@PLT
	test	eax, eax
	jne	.L13
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L13:
	.cfi_restore_state
	mov	edi, DWORD PTR 4[r12]
	call	airq_iv_release@PLT
.L11:
	mov	rdi, r12
	xor	r12d, r12d
	call	kfree@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	new_airq_info, .-new_airq_info
	.comm	virtio_airq_handler,4,4
	.comm	VIRTIO_IV_BITS,4,4
	.comm	VIRTIO_AIRQ_ISC,4,4
	.comm	GFP_KERNEL,4,4
	.comm	AIRQ_IV_PTR,4,4
	.comm	AIRQ_IV_CACHELINE,4,4
	.comm	AIRQ_IV_ALLOC,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_virtio_ccw.c_new_airq_info.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	new_airq_info, %function
new_airq_info:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L14
	push	{r4, r5, r6, lr}
	ldr	r1, [r2]
	mov	r6, r0
	mov	r0, #28
	bl	kzalloc
	subs	r4, r0, #0
	beq	.L1
	add	r0, r4, #24
	bl	rwlock_init
	ldr	r1, .L14+4
	ldr	r3, .L14+8
	ldr	r2, .L14+12
	ldr	r0, [r1]
	ldr	r3, [r3]
	ldr	r1, [r2]
	ldr	r2, .L14+16
	orr	r3, r3, r0
	orr	r1, r3, r1
	ldr	r0, [r2]
	bl	airq_iv_create
	cmp	r0, #0
	mov	r5, r0
	str	r0, [r4, #4]
	beq	.L11
	ldr	r3, .L14+20
	mov	r0, r4
	ldr	r3, [r3]
	str	r6, [r4]
	str	r3, [r4, #20]
	bl	get_summary_indicator
	mov	r2, #255
	ldr	r3, .L14+24
	str	r0, [r4, #16]
	ldr	r3, [r3]
	str	r2, [r4, #8]
	str	r3, [r4, #12]
	add	r0, r4, #8
	bl	register_adapter_interrupt
	cmp	r0, #0
	bne	.L13
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L13:
	ldr	r0, [r4, #4]
	bl	airq_iv_release
.L11:
	mov	r0, r4
	mov	r4, #0
	bl	kfree
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L15:
	.align	2
.L14:
	.word	GFP_KERNEL
	.word	AIRQ_IV_PTR
	.word	AIRQ_IV_ALLOC
	.word	AIRQ_IV_CACHELINE
	.word	VIRTIO_IV_BITS
	.word	virtio_airq_handler
	.word	VIRTIO_AIRQ_ISC
	.size	new_airq_info, .-new_airq_info
	.comm	virtio_airq_handler,4,4
	.comm	VIRTIO_IV_BITS,4,4
	.comm	VIRTIO_AIRQ_ISC,4,4
	.comm	GFP_KERNEL,4,4
	.comm	AIRQ_IV_PTR,4,4
	.comm	AIRQ_IV_CACHELINE,4,4
	.comm	AIRQ_IV_ALLOC,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
