	.file	"extr_refresh.c_re_addc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	re_addc, @function
re_addc:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r14
	push	r13
	.cfi_offset 14, -24
	.cfi_offset 13, -32
	movsx	r13d, sil
	push	r12
	.cfi_offset 12, -40
	mov	r12, rdi
	mov	edi, r13d
	push	rbx
	sub	rsp, 16
	.cfi_offset 3, -48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -40[rbp], rax
	xor	eax, eax
	call	ct_chr_class@PLT
	cmp	eax, 129
	je	.L2
	cmp	eax, 130
	je	.L3
	cmp	eax, 128
	je	.L5
	movsx	rax, DWORD PTR VISUAL_WIDTH_MAX[rip]
	mov	rcx, rsp
	mov	r14, rsp
	mov	rsi, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L9
.L24:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L24
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, 1
	mov	esi, 32
	mov	rdi, r12
	call	re_putc@PLT
	test	BYTE PTR [r12], 7
	jne	.L5
.L1:
	mov	rax, QWORD PTR -40[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L25
	lea	rsp, -32[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r12
	mov	ebx, DWORD PTR 4[r12]
	call	re_putc@PLT
	cmp	DWORD PTR 4[r12], ebx
	jne	.L1
	mov	rdi, r12
	call	re_nextline@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L2:
	mov	edx, 1
	mov	esi, r13d
	mov	rdi, r12
	call	re_putc@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L9:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L26
.L10:
	mov	edx, r13d
	mov	rdi, rsp
	call	ct_visual_char@PLT
	mov	r13, rax
	test	rax, rax
	je	.L11
	mov	rbx, rsp
	add	r13, rsp
	.p2align 4,,10
	.p2align 3
.L12:
	movsx	esi, BYTE PTR [rbx]
	mov	edx, 1
	mov	rdi, r12
	add	rbx, 1
	call	re_putc@PLT
	cmp	rbx, r13
	jne	.L12
.L11:
	mov	rsp, r14
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L26:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L10
.L25:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	re_addc, .-re_addc
	.comm	VISUAL_WIDTH_MAX,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_refresh.c_re_addc.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	re_addc, %function
re_addc:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #8
	ldr	r3, .L19
	mov	r4, r0
	mov	r0, r1
	mov	r5, r1
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	bl	ct_chr_class
	cmp	r0, #129
	beq	.L2
	cmp	r0, #130
	beq	.L3
	cmp	r0, #128
	beq	.L5
	ldr	r3, .L19+4
	mov	r7, sp
	ldr	r1, [r3]
	mov	r2, r5
	add	r3, r1, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	mov	r0, sp
	bl	ct_visual_char
	cmp	r0, #0
	sub	r0, r0, #1
	beq	.L8
	add	r6, sp, r0
	sub	r5, sp, #1
.L9:
	ldrb	r1, [r5, #1]!	@ zero_extendqisi2
	mov	r2, #1
	mov	r0, r4
	bl	re_putc
	cmp	r5, r6
	bne	.L9
.L8:
	mov	sp, r7
.L1:
	ldr	r3, .L19
	ldr	r2, [r3]
	ldr	r3, [fp, #-24]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L5:
	mov	r2, #1
	mov	r1, #32
	mov	r0, r4
	bl	re_putc
	ldr	r3, [r4]
	tst	r3, #7
	bne	.L5
	b	.L1
.L3:
	mov	r2, #0
	mov	r0, r4
	mov	r1, r2
	ldr	r5, [r4, #4]
	bl	re_putc
	ldr	r3, [r4, #4]
	cmp	r3, r5
	bne	.L1
	mov	r0, r4
	bl	re_nextline
	b	.L1
.L2:
	mov	r1, r5
	mov	r0, r4
	mov	r2, #1
	bl	re_putc
	b	.L1
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	.LC0
	.word	VISUAL_WIDTH_MAX
	.size	re_addc, .-re_addc
	.comm	VISUAL_WIDTH_MAX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
