	.file	"591797.c"
	.intel_syntax noprefix
	.text
	.globl	c_get_window_size
	.type	c_get_window_size, @function
c_get_window_size:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 21523
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	js	.L2
	movzx	eax, WORD PTR -16[rbp]
	movzx	eax, ax
	sal	eax, 16
	mov	edx, eax
	movzx	eax, WORD PTR -14[rbp]
	movzx	eax, ax
	add	eax, edx
	cdqe
	jmp	.L4
.L2:
	mov	eax, 1638480
.L4:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L5
	call	__stack_chk_fail@PLT
.L5:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	c_get_window_size, .-c_get_window_size
	.globl	c_set_window_size
	.type	c_set_window_size, @function
c_set_window_size:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	DWORD PTR -20[rbp], edi
	mov	ecx, esi
	mov	eax, edx
	mov	edx, ecx
	mov	WORD PTR -24[rbp], dx
	mov	WORD PTR -28[rbp], ax
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 21523
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
	test	eax, eax
	js	.L9
	movzx	eax, WORD PTR -24[rbp]
	mov	WORD PTR -16[rbp], ax
	movzx	eax, WORD PTR -28[rbp]
	mov	WORD PTR -14[rbp], ax
	lea	rdx, -16[rbp]
	mov	eax, DWORD PTR -20[rbp]
	mov	esi, 21524
	mov	edi, eax
	mov	eax, 0
	call	ioctl@PLT
.L9:
	nop
	mov	rax, QWORD PTR -8[rbp]
	sub	rax, QWORD PTR fs:40
	je	.L8
	call	__stack_chk_fail@PLT
.L8:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	c_set_window_size, .-c_set_window_size
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"591797.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	c_get_window_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	c_get_window_size, %function
c_get_window_size:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	ldr	r3, .L6
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L6+4
	ldr	r0, [fp, #-24]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	blt	.L2
	ldrh	r3, [fp, #-16]
	lsl	r3, r3, #16
	ldrh	r2, [fp, #-14]
	add	r3, r3, r2
	b	.L4
.L2:
	ldr	r3, .L6+8
.L4:
	ldr	r2, .L6
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L5
	bl	__stack_chk_fail
.L5:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	21523
	.word	1638480
	.size	c_get_window_size, .-c_get_window_size
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	c_set_window_size
	.syntax unified
	.arm
	.fpu softvfp
	.type	c_set_window_size, %function
c_set_window_size:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	mov	r3, r1
	strh	r3, [fp, #-26]	@ movhi
	mov	r3, r2	@ movhi
	strh	r3, [fp, #-28]	@ movhi
	ldr	r3, .L12
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L12+4
	ldr	r0, [fp, #-24]
	bl	ioctl
	mov	r3, r0
	cmp	r3, #0
	blt	.L11
	ldrh	r3, [fp, #-26]	@ movhi
	strh	r3, [fp, #-16]	@ movhi
	ldrh	r3, [fp, #-28]	@ movhi
	strh	r3, [fp, #-14]	@ movhi
	sub	r3, fp, #16
	mov	r2, r3
	ldr	r1, .L12+8
	ldr	r0, [fp, #-24]
	bl	ioctl
.L11:
	nop
	ldr	r3, .L12
	ldr	r2, [r3]
	ldr	r3, [fp, #-8]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L10
	bl	__stack_chk_fail
.L10:
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC1
	.word	21523
	.word	21524
	.size	c_set_window_size, .-c_set_window_size
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
