	.file	"extr_mount.c_mount_set_state.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Changed %s -> %s"
	.text
	.p2align 4
	.type	mount_set_state, @function
mount_set_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	rbx, rsi
	call	assert@PLT
	cmp	QWORD PTR 0[rbp], rbx
	jne	.L11
	mov	rdi, rbx
	mov	r13, rbx
	call	MOUNT_STATE_WITH_PROCESS@PLT
	test	eax, eax
	je	.L6
.L4:
	mov	rax, QWORD PTR MOUNT_SUCCESS[rip]
	xor	r12d, r12d
	cmp	QWORD PTR 8[rbp], rax
	je	.L5
	mov	r12d, DWORD PTR UNIT_NOTIFY_RELOAD_FAILURE[rip]
.L5:
	mov	rax, QWORD PTR state_translation_table[rip]
	mov	rdi, rbp
	mov	r14d, DWORD PTR [rax+rbx*4]
	mov	r13d, DWORD PTR [rax+r13*4]
	call	UNIT@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	ecx, r12d
	pop	rbp
	.cfi_def_cfa_offset 32
	mov	edx, r14d
	pop	r12
	.cfi_def_cfa_offset 24
	mov	esi, r13d
	mov	edi, eax
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	jmp	unit_notify@PLT
	.p2align 4,,10
	.p2align 3
.L11:
	.cfi_restore_state
	mov	rdi, rbp
	call	UNIT@PLT
	xor	esi, esi
	mov	edi, eax
	call	bus_unit_send_pending_change_signal@PLT
	mov	r13, QWORD PTR 0[rbp]
	mov	QWORD PTR 0[rbp], rbx
	mov	rdi, rbx
	call	MOUNT_STATE_WITH_PROCESS@PLT
	test	eax, eax
	jne	.L3
.L6:
	mov	edi, DWORD PTR 32[rbp]
	call	sd_event_source_unref@PLT
	mov	rdi, rbp
	mov	DWORD PTR 32[rbp], eax
	call	mount_unwatch_control_pid@PLT
	mov	eax, DWORD PTR _MOUNT_EXEC_COMMAND_INVALID[rip]
	mov	QWORD PTR 24[rbp], 0
	mov	DWORD PTR 16[rbp], eax
.L3:
	cmp	rbx, r13
	je	.L4
	mov	rdi, rbx
	call	mount_state_to_string@PLT
	mov	rdi, r13
	mov	r14d, eax
	call	mount_state_to_string@PLT
	mov	rdi, rbp
	mov	r12d, eax
	call	UNIT@PLT
	mov	ecx, r14d
	mov	edx, r12d
	lea	rsi, .LC0[rip]
	mov	edi, eax
	call	log_unit_debug@PLT
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	mount_set_state, .-mount_set_state
	.comm	state_translation_table,8,8
	.comm	_MOUNT_EXEC_COMMAND_INVALID,4,4
	.comm	UNIT_NOTIFY_RELOAD_FAILURE,4,4
	.comm	MOUNT_SUCCESS,8,8
	.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_mount.c_mount_set_state.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Changed %s -> %s\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mount_set_state, %function
mount_set_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	mov	r5, r1
	bl	assert
	ldr	r3, [r4]
	cmp	r3, r5
	bne	.L11
	mov	r0, r5
	bl	MOUNT_STATE_WITH_PROCESS
	cmp	r0, #0
	mov	r6, r5
	beq	.L6
.L4:
	mov	r0, r4
	bl	UNIT
	ldr	r2, .L12
	ldr	r3, .L12+4
	ldr	r1, [r4, #4]
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r1, r2
	ldr	r1, [r3, r6, lsl #2]
	ldr	r2, [r3, r5, lsl #2]
	ldrne	r3, .L12+8
	moveq	r3, #0
	pop	{r4, r5, r6, r7, r8, lr}
	ldrne	r3, [r3]
	b	unit_notify
.L11:
	mov	r0, r4
	bl	UNIT
	mov	r1, #0
	bl	bus_unit_send_pending_change_signal
	ldr	r6, [r4]
	mov	r0, r5
	str	r5, [r4]
	bl	MOUNT_STATE_WITH_PROCESS
	cmp	r0, #0
	bne	.L3
.L6:
	ldr	r0, [r4, #16]
	bl	sd_event_source_unref
	mov	r3, r0
	mov	r0, r4
	str	r3, [r4, #16]
	bl	mount_unwatch_control_pid
	mov	r2, #0
	ldr	r3, .L12+12
	str	r2, [r4, #12]
	ldr	r3, [r3]
	str	r3, [r4, #8]
.L3:
	cmp	r5, r6
	beq	.L4
	mov	r0, r4
	bl	UNIT
	mov	r7, r0
	mov	r0, r6
	bl	mount_state_to_string
	mov	r8, r0
	mov	r0, r5
	bl	mount_state_to_string
	mov	r2, r8
	mov	r3, r0
	ldr	r1, .L12+16
	mov	r0, r7
	bl	log_unit_debug
	b	.L4
.L13:
	.align	2
.L12:
	.word	MOUNT_SUCCESS
	.word	state_translation_table
	.word	UNIT_NOTIFY_RELOAD_FAILURE
	.word	_MOUNT_EXEC_COMMAND_INVALID
	.word	.LC0
	.size	mount_set_state, .-mount_set_state
	.comm	state_translation_table,4,4
	.comm	_MOUNT_EXEC_COMMAND_INVALID,4,4
	.comm	UNIT_NOTIFY_RELOAD_FAILURE,4,4
	.comm	MOUNT_SUCCESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
