	.file	"extr_logind-seat-dbus.c_method_activate_session.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"s"
.LC1:
	.string	"No session '%s' known"
.LC2:
	.string	"Session %s not on seat %s"
	.text
	.p2align 4
	.type	method_activate_session, @function
method_activate_session:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	assert@PLT
	mov	rdi, rbx
	call	assert@PLT
	mov	rdx, rsp
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	sd_bus_message_read@PLT
	test	eax, eax
	js	.L1
	mov	rax, QWORD PTR 8[rbx]
	mov	rsi, QWORD PTR [rsp]
	mov	edi, DWORD PTR [rax]
	call	hashmap_get@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L8
	cmp	QWORD PTR [rax], rbx
	je	.L4
	mov	r8d, DWORD PTR [rbx]
	mov	rcx, QWORD PTR [rsp]
	lea	rdx, .LC2[rip]
	xor	eax, eax
	mov	esi, DWORD PTR BUS_ERROR_SESSION_NOT_ON_SEAT[rip]
	mov	rdi, r12
	call	sd_bus_error_setf@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L9
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.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
.L4:
	.cfi_restore_state
	call	session_activate@PLT
	test	eax, eax
	js	.L1
	xor	esi, esi
	mov	rdi, rbp
	call	sd_bus_reply_method_return@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L8:
	mov	rcx, QWORD PTR [rsp]
	mov	esi, DWORD PTR BUS_ERROR_NO_SUCH_SESSION[rip]
	mov	rdi, r12
	xor	eax, eax
	lea	rdx, .LC1[rip]
	call	sd_bus_error_setf@PLT
	jmp	.L1
.L9:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	method_activate_session, .-method_activate_session
	.comm	BUS_ERROR_SESSION_NOT_ON_SEAT,4,4
	.comm	BUS_ERROR_NO_SUCH_SESSION,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_logind-seat-dbus.c_method_activate_session.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"s\000"
	.align	2
.LC1:
	.ascii	"No session '%s' known\000"
	.align	2
.LC2:
	.ascii	"Session %s not on seat %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	method_activate_session, %function
method_activate_session:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r3, .L10
	sub	sp, sp, #16
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	assert
	mov	r0, r4
	bl	assert
	mov	r0, r5
	ldr	r1, .L10+4
	add	r2, sp, #8
	bl	sd_bus_message_read
	cmp	r0, #0
	blt	.L1
	ldr	r3, [r4, #4]
	ldr	r1, [sp, #8]
	ldr	r0, [r3]
	bl	hashmap_get
	subs	r3, r0, #0
	beq	.L8
	ldr	r3, [r3]
	cmp	r3, r4
	beq	.L4
	ldr	r2, [r4]
	ldr	r3, .L10+8
	str	r2, [sp]
	ldr	r1, [r3]
	mov	r0, r6
	ldr	r3, [sp, #8]
	ldr	r2, .L10+12
	bl	sd_bus_error_setf
.L1:
	ldr	r3, .L10
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L9
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L4:
	bl	session_activate
	cmp	r0, #0
	blt	.L1
	mov	r0, r5
	mov	r1, #0
	bl	sd_bus_reply_method_return
	b	.L1
.L8:
	ldr	r3, .L10+16
	mov	r0, r6
	ldr	r1, [r3]
	ldr	r2, .L10+20
	ldr	r3, [sp, #8]
	bl	sd_bus_error_setf
	b	.L1
.L9:
	bl	__stack_chk_fail
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	.LC0
	.word	BUS_ERROR_SESSION_NOT_ON_SEAT
	.word	.LC2
	.word	BUS_ERROR_NO_SUCH_SESSION
	.word	.LC1
	.size	method_activate_session, .-method_activate_session
	.comm	BUS_ERROR_SESSION_NOT_ON_SEAT,4,4
	.comm	BUS_ERROR_NO_SUCH_SESSION,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
