	.file	"extr_g_raid.c_g_raid_update_subdisk.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"[none]"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Event %s for subdisk %s:%d-%s."
	.text
	.p2align 4
	.type	g_raid_update_subdisk, @function
g_raid_update_subdisk:
.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
	lea	r14, .LC0[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, esi
	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, 24
	.cfi_def_cfa_offset 80
	mov	r13, QWORD PTR 24[rdi]
	mov	esi, DWORD PTR SX_XLOCKED[rip]
	mov	rbx, QWORD PTR 16[rdi]
	mov	rdi, r13
	call	sx_assert@PLT
	mov	rdi, QWORD PTR 0[rbp]
	test	rdi, rdi
	jne	.L12
.L2:
	mov	r9d, DWORD PTR 8[rbp]
	mov	edi, r12d
	mov	r15d, DWORD PTR 8[rbx]
	mov	DWORD PTR 12[rsp], r9d
	call	g_raid_subdisk_event2str@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 88
	mov	r8d, r15d
	mov	rsi, r13
	push	r14
	.cfi_def_cfa_offset 96
	mov	r9d, DWORD PTR 28[rsp]
	lea	rdx, .LC1[rip]
	mov	ecx, eax
	mov	edi, 2
	call	G_RAID_DEBUG1@PLT
	mov	rdi, QWORD PTR [rbx]
	pop	rax
	.cfi_def_cfa_offset 88
	pop	rdx
	.cfi_def_cfa_offset 80
	test	rdi, rdi
	jne	.L13
.L3:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	call	g_raid_get_diskname@PLT
	mov	r14, rax
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L13:
	mov	edx, r12d
	mov	rsi, rbp
	call	G_RAID_TR_EVENT@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	g_raid_update_subdisk, .-g_raid_update_subdisk
	.comm	SX_XLOCKED,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_raid.c_g_raid_update_subdisk.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"[none]\000"
	.align	2
.LC1:
	.ascii	"Event %s for subdisk %s:%d-%s.\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	g_raid_update_subdisk, %function
g_raid_update_subdisk:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r0
	mov	r5, r1
	ldr	r3, .L12
	ldr	r8, [r0, #12]
	ldr	r1, [r3]
	sub	sp, sp, #16
	mov	r0, r8
	ldr	r7, [r4, #8]
	bl	sx_assert
	mov	r0, r5
	bl	g_raid_subdisk_event2str
	ldr	r3, [r4]
	mov	r6, r0
	cmp	r3, #0
	ldr	r9, [r7, #4]
	ldr	r10, [r4, #4]
	ldreq	r0, .L12+4
	bne	.L10
.L2:
	str	r0, [sp, #8]
	mov	r3, r6
	mov	r1, r8
	mov	r0, #2
	stm	sp, {r9, r10}
	ldr	r2, .L12+8
	bl	G_RAID_DEBUG1
	ldr	r0, [r7]
	cmp	r0, #0
	bne	.L11
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L10:
	mov	r0, r3
	bl	g_raid_get_diskname
	b	.L2
.L11:
	mov	r2, r5
	mov	r1, r4
	bl	G_RAID_TR_EVENT
	mov	r0, #0
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L13:
	.align	2
.L12:
	.word	SX_XLOCKED
	.word	.LC0
	.word	.LC1
	.size	g_raid_update_subdisk, .-g_raid_update_subdisk
	.comm	SX_XLOCKED,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
