	.file	"extr_portabled-bus.c_method_set_pool_limit.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"t"
.LC1:
	.string	"New limit out of range"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"org.freedesktop.portable1.manage-images"
	.section	.rodata.str1.1
.LC3:
	.string	"/var/lib/portables"
	.section	.rodata.str1.8
	.align 8
.LC4:
	.string	"Quota is only supported on btrfs."
	.align 8
.LC5:
	.string	"Failed to adjust quota limit: %m"
	.text
	.p2align 4
	.type	method_set_pool_limit, @function
method_set_pool_limit:
.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
	lea	rdx, 4[rsp]
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	sd_bus_message_read@PLT
	test	eax, eax
	js	.L1
	mov	edi, DWORD PTR 4[rsp]
	call	FILE_SIZE_VALID_OR_INFINITY@PLT
	test	eax, eax
	je	.L10
	push	r12
	.cfi_def_cfa_offset 56
	mov	r9d, DWORD PTR UID_INVALID[rip]
	xor	ecx, ecx
	xor	r8d, r8d
	push	rbx
	.cfi_def_cfa_offset 64
	mov	esi, DWORD PTR CAP_SYS_ADMIN[rip]
	lea	rdx, .LC2[rip]
	mov	rdi, rbp
	call	bus_verify_polkit_async@PLT
	pop	rdx
	.cfi_def_cfa_offset 56
	pop	rcx
	.cfi_def_cfa_offset 48
	test	eax, eax
	js	.L1
	mov	eax, 1
	jne	.L11
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L12
	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
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR SD_BUS_ERROR_INVALID_ARGS[rip]
	lea	rdx, .LC1[rip]
	mov	rdi, r12
	call	sd_bus_error_setf@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	edx, DWORD PTR 4[rsp]
	xor	esi, esi
	lea	rdi, .LC3[rip]
	call	btrfs_qgroup_set_limit@PLT
	mov	edx, DWORD PTR 4[rsp]
	xor	esi, esi
	lea	rdi, .LC3[rip]
	call	btrfs_subvol_set_subtree_quota_limit@PLT
	mov	ecx, eax
	add	ecx, DWORD PTR ENOTTY[rip]
	je	.L13
	test	eax, eax
	js	.L14
	xor	esi, esi
	mov	rdi, rbp
	call	sd_bus_reply_method_return@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L14:
	lea	rdx, .LC5[rip]
	mov	esi, eax
	mov	rdi, r12
	call	sd_bus_error_set_errnof@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L13:
	mov	esi, DWORD PTR SD_BUS_ERROR_NOT_SUPPORTED[rip]
	lea	rdx, .LC4[rip]
	mov	rdi, r12
	call	sd_bus_error_setf@PLT
	jmp	.L1
.L12:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	method_set_pool_limit, .-method_set_pool_limit
	.comm	UID_INVALID,4,4
	.comm	SD_BUS_ERROR_NOT_SUPPORTED,4,4
	.comm	SD_BUS_ERROR_INVALID_ARGS,4,4
	.comm	ENOTTY,4,4
	.comm	CAP_SYS_ADMIN,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_portabled-bus.c_method_set_pool_limit.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"t\000"
	.align	2
.LC1:
	.ascii	"New limit out of range\000"
	.align	2
.LC2:
	.ascii	"org.freedesktop.portable1.manage-images\000"
	.align	2
.LC3:
	.ascii	"/var/lib/portables\000"
	.align	2
.LC4:
	.ascii	"Quota is only supported on btrfs.\000"
	.align	2
.LC5:
	.ascii	"Failed to adjust quota limit: %m\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	method_set_pool_limit, %function
method_set_pool_limit:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r0
	ldr	r3, .L15
	sub	sp, sp, #28
	mov	r6, r1
	mov	r5, r2
	ldr	r3, [r3]
	str	r3, [sp, #20]
	mov	r3,#0
	bl	assert
	mov	r0, r4
	ldr	r1, .L15+4
	add	r2, sp, #16
	bl	sd_bus_message_read
	cmp	r0, #0
	blt	.L1
	ldr	r0, [sp, #16]
	bl	FILE_SIZE_VALID_OR_INFINITY
	cmp	r0, #0
	beq	.L10
	mov	r7, #0
	ldr	r3, .L15+8
	ldr	r2, .L15+12
	ldr	r3, [r3]
	str	r5, [sp, #12]
	stmib	sp, {r3, r6}
	str	r7, [sp]
	ldr	r1, [r2]
	mov	r3, r7
	mov	r0, r4
	ldr	r2, .L15+16
	bl	bus_verify_polkit_async
	cmp	r0, #0
	blt	.L1
	moveq	r0, #1
	bne	.L11
.L1:
	ldr	r3, .L15
	ldr	r2, [r3]
	ldr	r3, [sp, #20]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L12
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L10:
	ldr	r3, .L15+20
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L15+24
	bl	sd_bus_error_setf
	b	.L1
.L11:
	mov	r1, r7
	ldr	r2, [sp, #16]
	ldr	r0, .L15+28
	bl	btrfs_qgroup_set_limit
	mov	r1, r7
	ldr	r2, [sp, #16]
	ldr	r0, .L15+28
	bl	btrfs_subvol_set_subtree_quota_limit
	ldr	r3, .L15+32
	ldr	r3, [r3]
	cmn	r0, r3
	beq	.L13
	cmp	r0, #0
	blt	.L14
	mov	r1, r7
	mov	r0, r4
	bl	sd_bus_reply_method_return
	b	.L1
.L14:
	mov	r1, r0
	ldr	r2, .L15+36
	mov	r0, r5
	bl	sd_bus_error_set_errnof
	b	.L1
.L13:
	ldr	r3, .L15+40
	mov	r0, r5
	ldr	r1, [r3]
	ldr	r2, .L15+44
	bl	sd_bus_error_setf
	b	.L1
.L12:
	bl	__stack_chk_fail
.L16:
	.align	2
.L15:
	.word	.LC6
	.word	.LC0
	.word	UID_INVALID
	.word	CAP_SYS_ADMIN
	.word	.LC2
	.word	SD_BUS_ERROR_INVALID_ARGS
	.word	.LC1
	.word	.LC3
	.word	ENOTTY
	.word	.LC5
	.word	SD_BUS_ERROR_NOT_SUPPORTED
	.word	.LC4
	.size	method_set_pool_limit, .-method_set_pool_limit
	.comm	UID_INVALID,4,4
	.comm	SD_BUS_ERROR_NOT_SUPPORTED,4,4
	.comm	SD_BUS_ERROR_INVALID_ARGS,4,4
	.comm	ENOTTY,4,4
	.comm	CAP_SYS_ADMIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
