	.file	"extr_logind-session-dbus.c_method_pause_device_complete.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"uu"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"Device major/minor is not valid."
	.align 8
.LC2:
	.string	"You are not in control of this session"
	.section	.rodata.str1.1
.LC3:
	.string	"Device not taken"
	.text
	.p2align 4
	.type	method_pause_device_complete, @function
method_pause_device_complete:
.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, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	call	assert@PLT
	mov	rdi, rbx
	call	assert@PLT
	lea	rcx, 16[rsp]
	lea	rdx, 12[rsp]
	mov	rdi, rbp
	lea	rsi, .LC0[rip]
	call	sd_bus_message_read@PLT
	test	eax, eax
	js	.L1
	mov	edi, DWORD PTR 12[rsp]
	call	DEVICE_MAJOR_VALID@PLT
	test	eax, eax
	je	.L4
	mov	edi, DWORD PTR 16[rsp]
	call	DEVICE_MINOR_VALID@PLT
	test	eax, eax
	jne	.L13
.L4:
	mov	esi, DWORD PTR SD_BUS_ERROR_INVALID_ARGS[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, r12
	call	sd_bus_error_setf@PLT
.L1:
	mov	rbx, QWORD PTR 24[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L14
	add	rsp, 32
	.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
.L13:
	.cfi_restore_state
	mov	rdi, rbp
	call	sd_bus_message_get_sender@PLT
	mov	rdi, rbx
	mov	esi, eax
	call	session_is_controller@PLT
	test	eax, eax
	je	.L15
	mov	esi, DWORD PTR 16[rsp]
	mov	edi, DWORD PTR 12[rsp]
	call	makedev@PLT
	mov	edi, DWORD PTR [rbx]
	lea	rsi, 20[rsp]
	mov	DWORD PTR 20[rsp], eax
	call	hashmap_get@PLT
	mov	rdi, rax
	test	rax, rax
	je	.L16
	call	session_device_complete_pause@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	sd_bus_reply_method_return@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L15:
	mov	esi, DWORD PTR BUS_ERROR_NOT_IN_CONTROL[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, r12
	call	sd_bus_error_setf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	esi, DWORD PTR BUS_ERROR_DEVICE_NOT_TAKEN[rip]
	lea	rdx, .LC3[rip]
	mov	rdi, r12
	call	sd_bus_error_setf@PLT
	jmp	.L1
.L14:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	method_pause_device_complete, .-method_pause_device_complete
	.comm	SD_BUS_ERROR_INVALID_ARGS,4,4
	.comm	BUS_ERROR_NOT_IN_CONTROL,4,4
	.comm	BUS_ERROR_DEVICE_NOT_TAKEN,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-session-dbus.c_method_pause_device_complete.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"uu\000"
	.align	2
.LC1:
	.ascii	"Device major/minor is not valid.\000"
	.align	2
.LC2:
	.ascii	"You are not in control of this session\000"
	.align	2
.LC3:
	.ascii	"Device not taken\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	method_pause_device_complete, %function
method_pause_device_complete:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r6, r0
	ldr	r3, .L17
	sub	sp, sp, #16
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	assert
	mov	r0, r4
	bl	assert
	mov	r0, r6
	mov	r2, sp
	ldr	r1, .L17+4
	add	r3, sp, #4
	bl	sd_bus_message_read
	cmp	r0, #0
	blt	.L1
	ldr	r0, [sp]
	bl	DEVICE_MAJOR_VALID
	cmp	r0, #0
	beq	.L4
	ldr	r0, [sp, #4]
	bl	DEVICE_MINOR_VALID
	cmp	r0, #0
	bne	.L13
.L4:
	ldr	r3, .L17+8
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L17+12
	bl	sd_bus_error_setf
.L1:
	ldr	r3, .L17
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L14
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L13:
	mov	r0, r6
	bl	sd_bus_message_get_sender
	mov	r1, r0
	mov	r0, r4
	bl	session_is_controller
	cmp	r0, #0
	beq	.L15
	ldm	sp, {r0, r1}
	bl	makedev
	mov	r3, r0
	add	r1, sp, #8
	ldr	r0, [r4]
	str	r3, [sp, #8]
	bl	hashmap_get
	cmp	r0, #0
	beq	.L16
	bl	session_device_complete_pause
	mov	r0, r6
	mov	r1, #0
	bl	sd_bus_reply_method_return
	b	.L1
.L15:
	ldr	r3, .L17+16
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L17+20
	bl	sd_bus_error_setf
	b	.L1
.L16:
	ldr	r3, .L17+24
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L17+28
	bl	sd_bus_error_setf
	b	.L1
.L14:
	bl	__stack_chk_fail
.L18:
	.align	2
.L17:
	.word	.LC4
	.word	.LC0
	.word	SD_BUS_ERROR_INVALID_ARGS
	.word	.LC1
	.word	BUS_ERROR_NOT_IN_CONTROL
	.word	.LC2
	.word	BUS_ERROR_DEVICE_NOT_TAKEN
	.word	.LC3
	.size	method_pause_device_complete, .-method_pause_device_complete
	.comm	SD_BUS_ERROR_INVALID_ARGS,4,4
	.comm	BUS_ERROR_NOT_IN_CONTROL,4,4
	.comm	BUS_ERROR_DEVICE_NOT_TAKEN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
