	.file	"extr_resize.c_cmd_resize_set.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"resize"
.LC1:
	.string	"width"
.LC2:
	.string	"height"
	.text
	.p2align 4
	.type	cmd_resize_set, @function
cmd_resize_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	ecx, 1
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	lea	rsi, .LC0[rip]
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	mov	ebx, edi
	sub	rsp, 248
	.cfi_def_cfa_offset 288
	mov	edx, DWORD PTR EXPECTED_AT_LEAST[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 232[rsp], rax
	xor	eax, eax
	call	checkarg@PLT
	test	rax, rax
	je	.L36
.L1:
	mov	rcx, QWORD PTR 232[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L37
	add	rsp, 248
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L36:
	.cfi_restore_state
	movdqa	xmm0, XMMWORD PTR .LC3[rip]
	mov	rdi, QWORD PTR 0[rbp]
	movabs	rax, 8102112586362462270
	mov	DWORD PTR 216[rsp], 2579828
	mov	QWORD PTR 208[rsp], rax
	movaps	XMMWORD PTR 64[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC4[rip]
	mov	QWORD PTR 16[rsp], 0
	movaps	XMMWORD PTR 80[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC5[rip]
	movaps	XMMWORD PTR 96[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC6[rip]
	movaps	XMMWORD PTR 112[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC7[rip]
	movaps	XMMWORD PTR 128[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC8[rip]
	movaps	XMMWORD PTR 144[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC9[rip]
	movaps	XMMWORD PTR 160[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC10[rip]
	movaps	XMMWORD PTR 176[rsp], xmm0
	movdqa	xmm0, XMMWORD PTR .LC11[rip]
	movaps	XMMWORD PTR 192[rsp], xmm0
	pxor	xmm0, xmm0
	movaps	XMMWORD PTR [rsp], xmm0
	cmp	ebx, 1
	jg	.L38
	lea	rsi, .LC2[rip]
	call	strcmp@PLT
	pxor	xmm0, xmm0
	test	rax, rax
	jne	.L5
	mov	QWORD PTR 48[rsp], 0
	mov	r13, rsp
	movaps	XMMWORD PTR 32[rsp], xmm0
	test	ebx, ebx
	jne	.L10
.L9:
	mov	rax, QWORD PTR config[rip]
	cmp	QWORD PTR 8[rsp], 0
	lea	r12, 32[rsp]
	mov	rbp, QWORD PTR [rax]
	jle	.L39
.L21:
	mov	rax, QWORD PTR 8[rbp]
	mov	QWORD PTR 40[rsp], rax
.L14:
	mov	rdi, rbp
	call	container_is_floating@PLT
	mov	rdx, r12
	mov	rsi, r13
	mov	rdi, rbp
	test	rax, rax
	jne	.L40
	call	resize_set_tiled@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L42:
	mov	rbp, r12
	.p2align 4,,10
	.p2align 3
.L5:
	mov	r13, rsp
	mov	rsi, rbp
	mov	edi, ebx
	mov	rdx, r13
	call	parse_resize_amount@PLT
	sub	ebx, eax
	cdqe
	lea	rbp, 0[rbp+rax*8]
	mov	rax, QWORD PTR RESIZE_UNIT_INVALID[rip]
	cmp	QWORD PTR [rsp], rax
	je	.L12
	mov	QWORD PTR 48[rsp], 0
	pxor	xmm0, xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
	test	ebx, ebx
	je	.L9
.L16:
	cmp	ebx, 1
	jg	.L17
.L10:
	lea	r12, 32[rsp]
	mov	rsi, rbp
	mov	edi, ebx
	mov	rdx, r12
	call	parse_resize_amount@PLT
	cmp	ebx, eax
	jg	.L12
	mov	rax, QWORD PTR RESIZE_UNIT_INVALID[rip]
	cmp	QWORD PTR [rsp], rax
	je	.L12
	mov	rdx, QWORD PTR config[rip]
	cmp	QWORD PTR 8[rsp], 0
	mov	r13, rsp
	mov	rax, QWORD PTR 40[rsp]
	mov	rbp, QWORD PTR [rdx]
	jle	.L20
.L13:
	test	rax, rax
	jg	.L14
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L38:
	lea	rsi, .LC1[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L41
.L4:
	mov	rdi, QWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L5
	mov	QWORD PTR 48[rsp], 0
	pxor	xmm0, xmm0
	movaps	XMMWORD PTR 32[rsp], xmm0
.L17:
	mov	rdi, QWORD PTR 0[rbp]
	lea	rsi, .LC2[rip]
	call	strcmp@PLT
	test	rax, rax
	jne	.L10
	sub	ebx, 1
	add	rbp, 8
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L39:
	xor	eax, eax
	lea	r12, 32[rsp]
.L20:
	mov	rdx, QWORD PTR 0[rbp]
	mov	QWORD PTR 8[rsp], rdx
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L40:
	call	resize_set_floating@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L12:
	mov	edi, DWORD PTR CMD_INVALID[rip]
	lea	rsi, 64[rsp]
	call	cmd_results_new@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L41:
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, .LC2[rip]
	call	strcmp@PLT
	test	rax, rax
	je	.L4
	mov	rdi, QWORD PTR 8[rbp]
	lea	rsi, .LC2[rip]
	sub	ebx, 1
	lea	r12, 8[rbp]
	call	strcmp@PLT
	pxor	xmm0, xmm0
	test	rax, rax
	jne	.L42
	mov	QWORD PTR 48[rsp], 0
	mov	rbp, r12
	movaps	XMMWORD PTR 32[rsp], xmm0
	jmp	.L16
.L37:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	cmd_resize_set, .-cmd_resize_set
	.comm	config,8,8
	.comm	RESIZE_UNIT_INVALID,8,8
	.comm	EXPECTED_AT_LEAST,4,4
	.comm	CMD_INVALID,4,4
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC3:
	.quad	7234316346693023813
	.quad	7312272889333557024
	.align 16
.LC4:
	.quad	7599643091160888096
	.quad	7599609005914748004
	.align 16
.LC5:
	.quad	8678536675987059812
	.quad	8007443419803709564
	.align 16
.LC6:
	.quad	8820708224725885042
	.quad	7307126079698968677
	.align 16
.LC7:
	.quad	7307156505498249065
	.quad	8096100207741658985
	.align 16
.LC8:
	.quad	2316923287989419128
	.quad	7598528537261273711
	.align 16
.LC9:
	.quad	6566376235778205050
	.quad	4332565544741136759
	.align 16
.LC10:
	.quad	6566316875056441719
	.quad	2332148208320149616
	.align 16
.LC11:
	.quad	6734122136184907867
	.quad	8388068008348105760
	.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_resize.c_cmd_resize_set.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"resize\000"
	.align	2
.LC2:
	.ascii	"width\000"
	.align	2
.LC3:
	.ascii	"height\000"
	.align	2
.LC1:
	.ascii	"Expected 'resize set [width] <width> [px|ppt]' or '"
	.ascii	"resize set height <height> [px|ppt]' or 'resize set"
	.ascii	" [width] <width> [px|ppt] [height] <height> [px|ppt"
	.ascii	"]'\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmd_resize_set, %function
cmd_resize_set:
	@ args = 0, pretend = 0, frame = 184
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	ldr	r2, .L35
	ldr	ip, .L35+4
	sub	sp, sp, #184
	mov	r6, r1
	mov	r3, #1
	ldr	r2, [r2]
	ldr	r1, .L35+8
	ldr	ip, [ip]
	str	ip, [sp, #180]
	mov	ip,#0
	mov	r5, r0
	bl	checkarg
	subs	r4, r0, #0
	beq	.L30
.L1:
	ldr	r3, .L35+4
	ldr	r2, [r3]
	ldr	r3, [sp, #180]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L31
	mov	r0, r4
	add	sp, sp, #184
	@ sp needed
	pop	{r4, r5, r6, pc}
.L30:
	mov	r2, #156
	ldr	r1, .L35+12
	add	r0, sp, #24
	bl	memcpy
	cmp	r5, #1
	str	r4, [sp]
	str	r4, [sp, #4]
	str	r4, [sp, #8]
	ldr	r4, [r6]
	ble	.L3
	mov	r0, r4
	ldr	r1, .L35+16
	bl	strcmp
	cmp	r0, #0
	bne	.L4
	ldr	r0, [r6, #4]
	ldr	r1, .L35+20
	bl	strcmp
	cmp	r0, #0
	subne	r5, r5, #1
	addne	r6, r6, #4
	beq	.L4
.L5:
	mov	r2, sp
	mov	r1, r6
	mov	r0, r5
	bl	parse_resize_amount
	ldr	r3, .L35+24
	ldr	r2, [sp]
	ldr	r3, [r3]
	sub	r5, r5, r0
	cmp	r2, r3
	add	r6, r6, r0, lsl #2
	beq	.L11
	mov	r3, #0
	cmp	r5, r3
	add	r4, sp, #12
	str	r3, [sp, #12]
	str	r3, [r4, #4]
	str	r3, [r4, #8]
	bne	.L32
.L8:
	ldr	r3, .L35+28
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	cmp	r2, #0
	ldr	r5, [r3]
	ble	.L33
.L18:
	ldr	r3, [r5, #4]
	str	r3, [sp, #16]
	b	.L13
.L4:
	mov	r0, r4
	ldr	r1, .L35+20
	bl	strcmp
	cmp	r0, #0
	bne	.L5
	add	r4, sp, #12
	str	r0, [sp, #12]
	str	r0, [r4, #4]
	str	r0, [r4, #8]
.L15:
	ldr	r0, [r6]
	ldr	r1, .L35+20
	bl	strcmp
	cmp	r0, #0
	subeq	r5, r5, #1
	addeq	r6, r6, #4
.L9:
	mov	r1, r6
	mov	r2, r4
	mov	r0, r5
	bl	parse_resize_amount
	cmp	r5, r0
	bgt	.L11
	ldr	r3, .L35+24
	ldr	r2, [sp]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L11
	ldr	r3, .L35+28
	ldr	r2, [sp, #4]
	ldr	r3, [r3]
	cmp	r2, #0
	ldr	r5, [r3]
	ldr	r3, [sp, #16]
	ble	.L17
.L12:
	cmp	r3, #0
	ble	.L18
.L13:
	mov	r0, r5
	bl	container_is_floating
	cmp	r0, #0
	mov	r2, r4
	mov	r1, sp
	mov	r0, r5
	bne	.L34
	bl	resize_set_tiled
	mov	r4, r0
	b	.L1
.L3:
	mov	r0, r4
	ldr	r1, .L35+20
	bl	strcmp
	cmp	r0, #0
	bne	.L5
	cmp	r5, #0
	add	r4, sp, #12
	str	r0, [sp, #12]
	str	r0, [r4, #4]
	str	r0, [r4, #8]
	beq	.L8
	b	.L9
.L33:
	mov	r3, #0
.L17:
	ldr	r2, [r5]
	str	r2, [sp, #4]
	b	.L12
.L34:
	bl	resize_set_floating
	mov	r4, r0
	b	.L1
.L11:
	ldr	r3, .L35+32
	add	r1, sp, #24
	ldr	r0, [r3]
	bl	cmd_results_new
	mov	r4, r0
	b	.L1
.L32:
	cmp	r5, #1
	ble	.L9
	b	.L15
.L31:
	bl	__stack_chk_fail
.L36:
	.align	2
.L35:
	.word	EXPECTED_AT_LEAST
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	RESIZE_UNIT_INVALID
	.word	config
	.word	CMD_INVALID
	.size	cmd_resize_set, .-cmd_resize_set
	.comm	config,4,4
	.comm	RESIZE_UNIT_INVALID,4,4
	.comm	EXPECTED_AT_LEAST,4,4
	.comm	CMD_INVALID,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
