	.file	"extr_helper.c_rofi_force_utf8.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"\357\277\275"
	.text
	.p2align 4
	.globl	rofi_force_utf8
	.type	rofi_force_utf8, @function
rofi_force_utf8:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	test	rdi, rdi
	je	.L7
	mov	rbx, rsp
	mov	rbp, rdi
	mov	r12d, esi
	mov	rdx, rbx
	call	g_utf8_validate@PLT
	test	rax, rax
	jne	.L15
	lea	edi, 16[r12]
	lea	r13, .LC0[rip]
	call	g_string_sized_new@PLT
	mov	r14, rax
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rdx, QWORD PTR [rsp]
	mov	rsi, rbp
	mov	rdi, r14
	sub	r12d, 1
	sub	rdx, rbp
	call	g_string_append_len@PLT
	mov	rsi, r13
	mov	rdi, r14
	call	g_string_append@PLT
	mov	rax, QWORD PTR [rsp]
	mov	rdx, rax
	sub	rdx, rbp
	lea	rbp, 1[rax]
	sub	r12d, edx
	mov	rdi, rbp
	mov	rdx, rbx
	mov	esi, r12d
	call	g_utf8_validate@PLT
	test	rax, rax
	je	.L4
	test	r12d, r12d
	jne	.L16
.L5:
	mov	esi, DWORD PTR FALSE[rip]
	mov	rdi, r14
	call	g_string_free@PLT
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L17
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L15:
	.cfi_restore_state
	lea	esi, 1[r12]
	mov	rdi, rbp
	call	g_memdup@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, r12d
	mov	rsi, rbp
	mov	rdi, r14
	call	g_string_append_len@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L7:
	xor	eax, eax
	jmp	.L1
.L17:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	rofi_force_utf8, .-rofi_force_utf8
	.comm	FALSE,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_helper.c_rofi_force_utf8.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\357\277\275\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	rofi_force_utf8
	.syntax unified
	.arm
	.fpu softvfp
	.type	rofi_force_utf8, %function
rofi_force_utf8:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L18
	sub	sp, sp, #12
	subs	r4, r0, #0
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	moveq	r0, r4
	beq	.L1
	mov	r2, sp
	mov	r5, r1
	bl	g_utf8_validate
	cmp	r0, #0
	bne	.L15
	add	r0, r5, #16
	bl	g_string_sized_new
	mov	r6, r0
	ldr	r7, .L18+4
.L4:
	ldr	r2, [sp]
	mov	r1, r4
	sub	r2, r2, r4
	mov	r0, r6
	bl	g_string_append_len
	mov	r1, r7
	mov	r0, r6
	bl	g_string_append
	ldr	r3, [sp]
	mov	r2, sp
	sub	r4, r3, r4
	add	r4, r4, #1
	sub	r5, r5, r4
	add	r4, r3, #1
	mov	r1, r5
	mov	r0, r4
	bl	g_utf8_validate
	cmp	r0, #0
	beq	.L4
	cmp	r5, #0
	bne	.L16
.L5:
	ldr	r3, .L18+8
	mov	r0, r6
	ldr	r1, [r3]
	bl	g_string_free
.L1:
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L15:
	mov	r0, r4
	add	r1, r5, #1
	bl	g_memdup
	b	.L1
.L16:
	mov	r2, r5
	mov	r1, r4
	mov	r0, r6
	bl	g_string_append_len
	b	.L5
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC1
	.word	.LC0
	.word	FALSE
	.size	rofi_force_utf8, .-rofi_force_utf8
	.comm	FALSE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
