	.file	"extr_nvme_ctrlr.c_nvme_ctrlr_async_event_cb.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"async event occurred (type 0x%x, info 0x%02x, page 0x%02x)\n"
	.text
	.p2align 4
	.type	nvme_ctrlr_async_event_cb, @function
nvme_ctrlr_async_event_cb:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	mov	rdi, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	nvme_completion_is_error@PLT
	test	rax, rax
	je	.L6
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	edx, DWORD PTR [r12]
	mov	edi, DWORD PTR 4[rbp]
	lea	rsi, .LC0[rip]
	mov	r8d, edx
	movzx	ecx, dh
	and	edx, 7
	sar	r8d, 16
	movzx	r8d, r8b
	mov	DWORD PTR 0[rbp], r8d
	call	nvme_printf@PLT
	mov	edi, DWORD PTR 0[rbp]
	call	is_log_page_id_valid@PLT
	mov	edi, DWORD PTR 4[rbp]
	test	rax, rax
	je	.L3
	mov	esi, DWORD PTR 0[rbp]
	call	nvme_ctrlr_get_log_page_size@PLT
	lea	rdi, 16[rbp]
	mov	rsi, r12
	mov	edx, 4
	mov	DWORD PTR 8[rbp], eax
	call	memcpy@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	mov	ecx, DWORD PTR 12[rbp]
	mov	edi, DWORD PTR 4[rbp]
	mov	r8d, DWORD PTR 8[rbp]
	mov	edx, DWORD PTR NVME_GLOBAL_NAMESPACE_TAG[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	mov	esi, DWORD PTR 0[rbp]
	mov	r9d, DWORD PTR nvme_ctrlr_async_event_log_page_cb[rip]
	call	nvme_ctrlr_cmd_get_log_page@PLT
	pop	rax
	.cfi_def_cfa_offset 40
	pop	rdx
	.cfi_def_cfa_offset 32
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	edx, DWORD PTR 0[rbp]
	mov	rsi, r12
	xor	r8d, r8d
	xor	ecx, ecx
	call	nvme_notify_async_consumers@PLT
	mov	edi, DWORD PTR 4[rbp]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	nvme_ctrlr_construct_and_submit_aer@PLT
	.cfi_endproc
.LFE0:
	.size	nvme_ctrlr_async_event_cb, .-nvme_ctrlr_async_event_cb
	.comm	nvme_ctrlr_async_event_log_page_cb,4,4
	.comm	NVME_GLOBAL_NAMESPACE_TAG,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_nvme_ctrlr.c_nvme_ctrlr_async_event_cb.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"async event occurred (type 0x%x, info 0x%02x, page "
	.ascii	"0x%02x)\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	nvme_ctrlr_async_event_cb, %function
nvme_ctrlr_async_event_cb:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	sub	sp, sp, #16
	mov	r0, r1
	mov	r5, r1
	bl	nvme_completion_is_error
	cmp	r0, #0
	beq	.L6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	ldr	r2, [r5]
	ldr	r1, .L7
	asr	r0, r2, #16
	and	r0, r0, #255
	str	r0, [r4]
	asr	r3, r2, #8
	str	r0, [sp]
	and	r3, r3, #255
	and	r2, r2, #7
	ldr	r0, [r4, #4]
	bl	nvme_printf
	ldr	r0, [r4]
	bl	is_log_page_id_valid
	subs	r3, r0, #0
	beq	.L3
	ldr	r1, [r4]
	ldr	r0, [r4, #4]
	bl	nvme_ctrlr_get_log_page_size
	mov	r6, r0
	mov	r1, r5
	str	r0, [r4, #8]
	mov	r2, #4
	add	r0, r4, #16
	bl	memcpy
	ldr	r2, .L7+4
	ldr	r3, .L7+8
	ldr	r2, [r2]
	str	r6, [sp]
	stmib	sp, {r2, r4}
	ldr	r2, [r3]
	ldr	r1, [r4]
	ldr	r3, [r4, #12]
	ldr	r0, [r4, #4]
	bl	nvme_ctrlr_cmd_get_log_page
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L3:
	str	r3, [sp]
	mov	r1, r5
	ldr	r2, [r4]
	ldr	r0, [r4, #4]
	bl	nvme_notify_async_consumers
	mov	r1, r4
	ldr	r0, [r4, #4]
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, lr}
	b	nvme_ctrlr_construct_and_submit_aer
.L8:
	.align	2
.L7:
	.word	.LC0
	.word	nvme_ctrlr_async_event_log_page_cb
	.word	NVME_GLOBAL_NAMESPACE_TAG
	.size	nvme_ctrlr_async_event_cb, .-nvme_ctrlr_async_event_cb
	.comm	nvme_ctrlr_async_event_log_page_cb,4,4
	.comm	NVME_GLOBAL_NAMESPACE_TAG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
