	.file	"extr_g_multipath.c_g_multipath_done_error.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"GEOM_MULTIPATH: Error %d, %s in %s marked FAIL\n"
	.text
	.p2align 4
	.type	g_multipath_done_error, @function
g_multipath_done_error:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	mov	r13, QWORD PTR 48[rdi]
	mov	r12, QWORD PTR 32[rdi]
	mov	rax, QWORD PTR 40[r13]
	mov	r15, QWORD PTR 8[r12]
	mov	rax, QWORD PTR [rax]
	mov	rbx, QWORD PTR [rax]
	lea	r14, 8[rbx]
	mov	rdi, r14
	call	mtx_lock@PLT
	mov	eax, DWORD PTR [r12]
	test	DWORD PTR MP_FAIL[rip], eax
	je	.L8
.L2:
	sub	QWORD PTR 4[r12], 1
	jne	.L3
	mov	edx, DWORD PTR MP_LOST[rip]
	mov	esi, DWORD PTR MP_POSTED[rip]
	mov	ecx, DWORD PTR [r12]
	mov	eax, edx
	or	eax, esi
	and	eax, ecx
	cmp	edx, eax
	je	.L9
.L3:
	mov	rdi, r14
	call	mtx_unlock@PLT
.L4:
	mov	rax, QWORD PTR 24[r13]
	cmp	QWORD PTR 8[r13], rax
	jnb	.L5
	add	DWORD PTR 16[r13], 1
	mov	rdi, rbp
	call	g_destroy_bio@PLT
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, r13
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	g_multipath_start@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	g_std_done@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	esi, DWORD PTR 0[rbp]
	mov	rcx, QWORD PTR [rbx]
	lea	rdi, .LC0[rip]
	mov	rdx, QWORD PTR [r15]
	call	printf@PLT
	mov	esi, DWORD PTR MP_FAIL[rip]
	mov	rdi, r12
	call	g_multipath_fault@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	or	ecx, esi
	mov	rdi, r14
	mov	DWORD PTR [r12], ecx
	call	mtx_unlock@PLT
	mov	edx, DWORD PTR M_WAITOK[rip]
	xor	ecx, ecx
	mov	rsi, r12
	mov	edi, DWORD PTR g_mpd[rip]
	call	g_post_event@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	g_multipath_done_error, .-g_multipath_done_error
	.comm	g_mpd,4,4
	.comm	M_WAITOK,4,4
	.comm	MP_POSTED,4,4
	.comm	MP_LOST,4,4
	.comm	MP_FAIL,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_g_multipath.c_g_multipath_done_error.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GEOM_MULTIPATH: Error %d, %s in %s marked FAIL\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	g_multipath_done_error, %function
g_multipath_done_error:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [r0, #24]
	ldr	r5, [r0, #16]
	ldr	r3, [r6, #20]
	ldr	r9, .L10
	ldr	r3, [r3]
	mov	r4, r0
	ldr	r7, [r3]
	ldr	r10, [r5, #8]
	add	r8, r7, #4
	mov	r0, r8
	bl	mtx_lock
	ldr	r2, [r5]
	ldr	r3, [r9]
	tst	r2, r3
	beq	.L8
.L2:
	ldr	r7, [r5, #4]
	sub	r7, r7, #1
	cmp	r7, #0
	str	r7, [r5, #4]
	bne	.L3
	ldr	r3, .L10+4
	ldr	r2, .L10+8
	ldr	r0, [r3]
	ldr	r2, [r2]
	ldr	r1, [r5]
	orr	r3, r2, r0
	and	r3, r3, r1
	cmp	r2, r3
	beq	.L9
.L3:
	mov	r0, r8
	bl	mtx_unlock
.L4:
	ldr	r2, [r6, #4]
	ldr	r3, [r6, #12]
	cmp	r2, r3
	bcs	.L5
	ldr	r3, [r6, #8]
	mov	r0, r4
	add	r3, r3, #1
	str	r3, [r6, #8]
	bl	g_destroy_bio
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	g_multipath_start
.L5:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	g_std_done
.L8:
	ldr	r1, [r4]
	ldr	r3, [r7]
	ldr	r2, [r10]
	ldr	r0, .L10+12
	bl	printf
	mov	r0, r5
	ldr	r1, [r9]
	bl	g_multipath_fault
	b	.L2
.L9:
	orr	r1, r1, r0
	str	r1, [r5]
	mov	r0, r8
	bl	mtx_unlock
	ldr	r2, .L10+16
	ldr	r0, .L10+20
	mov	r3, r7
	mov	r1, r5
	ldr	r2, [r2]
	ldr	r0, [r0]
	bl	g_post_event
	b	.L4
.L11:
	.align	2
.L10:
	.word	MP_FAIL
	.word	MP_POSTED
	.word	MP_LOST
	.word	.LC0
	.word	M_WAITOK
	.word	g_mpd
	.size	g_multipath_done_error, .-g_multipath_done_error
	.comm	g_mpd,4,4
	.comm	M_WAITOK,4,4
	.comm	MP_POSTED,4,4
	.comm	MP_LOST,4,4
	.comm	MP_FAIL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
