	.file	"756150.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"\342"
.LC1:
	.string	"the_stack_data/756150.c"
	.align 8
.LC2:
	.string	"mbrtowc (&wc, \"\\xE2\", 1, &s) == (size_t) -2"
.LC3:
	.string	"\211"
	.align 8
.LC4:
	.string	"mbrtowc (&wc, \"\\x89\", 1, &s) == (size_t) -2"
.LC5:
	.string	"wc == 42"
.LC6:
	.string	"\240"
	.align 8
.LC7:
	.string	"mbrtowc (&wc, \"\\xA0\", 1, &s) == 1"
.LC8:
	.string	"wc == 0x2260"
.LC9:
	.string	""
.LC10:
	.string	"mbrtowc (&wc, \"\", 1, &s) == 0"
.LC11:
	.string	"wc == 0"
	.align 8
.LC12:
	.string	"mbrtowc (&wc, str, 1, &s) == -2"
	.align 8
.LC13:
	.string	"mbrtowc (&wc, str + 1, 2, &s) == 2"
.LC14:
	.string	"wc == 0x800"
	.align 8
.LC15:
	.string	"mbrtowc (&wc, str, 3, &s) == 3"
	.text
	.type	utf8_test_1, @function
utf8_test_1:
.LFB6:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 42
	lea	rax, -20[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L2
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 42
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L2:
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L3
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 43
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L3:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 42
	je	.L4
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 44
	lea	rsi, .LC1[rip]
	lea	rdi, .LC5[rip]
	call	__assert_fail@PLT
.L4:
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, 1
	je	.L5
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 45
	lea	rsi, .LC1[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L5:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 8800
	je	.L6
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 46
	lea	rsi, .LC1[rip]
	lea	rdi, .LC8[rip]
	call	__assert_fail@PLT
.L6:
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC9[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	test	rax, rax
	je	.L7
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 47
	lea	rsi, .LC1[rip]
	lea	rdi, .LC10[rip]
	call	__assert_fail@PLT
.L7:
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	je	.L8
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 48
	lea	rsi, .LC1[rip]
	lea	rdi, .LC11[rip]
	call	__assert_fail@PLT
.L8:
	mov	DWORD PTR -12[rbp], 8429792
	mov	DWORD PTR -24[rbp], 42
	lea	rax, -20[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -20[rbp]
	lea	rsi, -12[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	mov	edx, 1
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L9
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 55
	lea	rsi, .LC1[rip]
	lea	rdi, .LC12[rip]
	call	__assert_fail@PLT
.L9:
	lea	rax, -12[rbp]
	add	rax, 1
	lea	rdx, -20[rbp]
	lea	rdi, -24[rbp]
	mov	rcx, rdx
	mov	edx, 2
	mov	rsi, rax
	call	mbrtowc@PLT
	cmp	rax, 2
	je	.L10
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 56
	lea	rsi, .LC1[rip]
	lea	rdi, .LC13[rip]
	call	__assert_fail@PLT
.L10:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 2048
	je	.L11
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 57
	lea	rsi, .LC1[rip]
	lea	rdi, .LC14[rip]
	call	__assert_fail@PLT
.L11:
	mov	DWORD PTR -24[rbp], 42
	lea	rax, -20[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -20[rbp]
	lea	rsi, -12[rbp]
	lea	rax, -24[rbp]
	mov	rcx, rdx
	mov	edx, 3
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, 3
	je	.L12
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 61
	lea	rsi, .LC1[rip]
	lea	rdi, .LC15[rip]
	call	__assert_fail@PLT
.L12:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 2048
	je	.L13
	lea	rcx, __PRETTY_FUNCTION__.2[rip]
	mov	edx, 62
	lea	rsi, .LC1[rip]
	lea	rdi, .LC14[rip]
	call	__assert_fail@PLT
.L13:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	utf8_test_1, .-utf8_test_1
	.section	.rodata
	.align 8
.LC16:
	.string	"mbrtowc (NULL, \"\", 1, &s) == 0"
.LC17:
	.string	"mbsinit (&s)"
	.align 8
.LC18:
	.string	"mbrtowc (NULL, \"\", 1, &s) == (size_t) -1"
	.text
	.type	utf8_test_2, @function
utf8_test_2:
.LFB7:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 42
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	lea	rsi, .LC9[rip]
	mov	edi, 0
	call	mbrtowc@PLT
	test	rax, rax
	je	.L17
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 76
	lea	rsi, .LC1[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L17:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	mbsinit@PLT
	test	eax, eax
	jne	.L18
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 77
	lea	rsi, .LC1[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L18:
	mov	DWORD PTR -20[rbp], 42
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L19
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 81
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L19:
	lea	rax, -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	lea	rsi, .LC9[rip]
	mov	edi, 0
	call	mbrtowc@PLT
	cmp	rax, -1
	je	.L20
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 82
	lea	rsi, .LC1[rip]
	lea	rdi, .LC18[rip]
	call	__assert_fail@PLT
.L20:
	mov	DWORD PTR -20[rbp], 42
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L21
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 86
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L21:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L22
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 87
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L22:
	lea	rax, -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	lea	rsi, .LC9[rip]
	mov	edi, 0
	call	mbrtowc@PLT
	cmp	rax, -1
	je	.L23
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 88
	lea	rsi, .LC1[rip]
	lea	rdi, .LC18[rip]
	call	__assert_fail@PLT
.L23:
	mov	DWORD PTR -20[rbp], 42
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L24
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 92
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L24:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L25
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 93
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L25:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, 1
	je	.L26
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 94
	lea	rsi, .LC1[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L26:
	lea	rax, -16[rbp]
	mov	rcx, rax
	mov	edx, 1
	lea	rsi, .LC9[rip]
	mov	edi, 0
	call	mbrtowc@PLT
	test	rax, rax
	je	.L27
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 95
	lea	rsi, .LC1[rip]
	lea	rdi, .LC16[rip]
	call	__assert_fail@PLT
.L27:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	mbsinit@PLT
	test	eax, eax
	jne	.L28
	lea	rcx, __PRETTY_FUNCTION__.1[rip]
	mov	edx, 96
	lea	rsi, .LC1[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L28:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L30
	call	__stack_chk_fail@PLT
.L30:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	utf8_test_2, .-utf8_test_2
	.section	.rodata
	.align 8
.LC19:
	.string	"mbrtowc (NULL, NULL, 0, &s) == 0"
	.align 8
.LC20:
	.string	"mbrtowc (NULL, NULL, 0, &s) == (size_t) -1"
	.text
	.type	utf8_test_3, @function
utf8_test_3:
.LFB8:
	.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	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -20[rbp], 42
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rax, -16[rbp]
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	mbrtowc@PLT
	test	rax, rax
	je	.L32
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 110
	lea	rsi, .LC1[rip]
	lea	rdi, .LC19[rip]
	call	__assert_fail@PLT
.L32:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	mbsinit@PLT
	test	eax, eax
	jne	.L33
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 111
	lea	rsi, .LC1[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L33:
	mov	DWORD PTR -20[rbp], 42
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L34
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 115
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L34:
	lea	rax, -16[rbp]
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	mbrtowc@PLT
	cmp	rax, -1
	je	.L35
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 116
	lea	rsi, .LC1[rip]
	lea	rdi, .LC20[rip]
	call	__assert_fail@PLT
.L35:
	mov	DWORD PTR -20[rbp], 42
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L36
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 120
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L36:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L37
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 121
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L37:
	lea	rax, -16[rbp]
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	mbrtowc@PLT
	cmp	rax, -1
	je	.L38
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 122
	lea	rsi, .LC1[rip]
	lea	rdi, .LC20[rip]
	call	__assert_fail@PLT
.L38:
	mov	DWORD PTR -20[rbp], 42
	lea	rax, -16[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC0[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L39
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 126
	lea	rsi, .LC1[rip]
	lea	rdi, .LC2[rip]
	call	__assert_fail@PLT
.L39:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC3[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, -2
	je	.L40
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 127
	lea	rsi, .LC1[rip]
	lea	rdi, .LC4[rip]
	call	__assert_fail@PLT
.L40:
	lea	rdx, -16[rbp]
	lea	rax, -20[rbp]
	mov	rcx, rdx
	mov	edx, 1
	lea	rsi, .LC6[rip]
	mov	rdi, rax
	call	mbrtowc@PLT
	cmp	rax, 1
	je	.L41
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 128
	lea	rsi, .LC1[rip]
	lea	rdi, .LC7[rip]
	call	__assert_fail@PLT
.L41:
	lea	rax, -16[rbp]
	mov	rcx, rax
	mov	edx, 0
	mov	esi, 0
	mov	edi, 0
	call	mbrtowc@PLT
	test	rax, rax
	je	.L42
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 129
	lea	rsi, .LC1[rip]
	lea	rdi, .LC19[rip]
	call	__assert_fail@PLT
.L42:
	lea	rax, -16[rbp]
	mov	rdi, rax
	call	mbsinit@PLT
	test	eax, eax
	jne	.L43
	lea	rcx, __PRETTY_FUNCTION__.0[rip]
	mov	edx, 130
	lea	rsi, .LC1[rip]
	lea	rdi, .LC17[rip]
	call	__assert_fail@PLT
.L43:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L45
	call	__stack_chk_fail@PLT
.L45:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	utf8_test_3, .-utf8_test_3
	.section	.rodata
.LC21:
	.string	"de_DE.UTF-8"
.LC22:
	.string	"locale '%s' not available!\n"
	.text
	.type	utf8_test, @function
utf8_test:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	lea	rax, .LC21[rip]
	mov	QWORD PTR -8[rbp], rax
	mov	DWORD PTR -12[rbp], 0
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	setlocale@PLT
	test	rax, rax
	jne	.L47
	mov	rax, QWORD PTR stderr[rip]
	mov	rdx, QWORD PTR -8[rbp]
	lea	rsi, .LC22[rip]
	mov	rdi, rax
	mov	eax, 0
	call	fprintf@PLT
	mov	edi, 1
	call	exit@PLT
.L47:
	call	utf8_test_1
	or	DWORD PTR -12[rbp], eax
	call	utf8_test_2
	or	DWORD PTR -12[rbp], eax
	call	utf8_test_3
	or	DWORD PTR -12[rbp], eax
	mov	eax, DWORD PTR -12[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	utf8_test, .-utf8_test
	.section	.rodata
.LC23:
	.string	"C"
.LC24:
	.string	"ja_JP.EUC-JP"
	.text
	.globl	main
	.type	main, @function
main:
.LFB10:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	DWORD PTR -4[rbp], 0
	lea	rsi, .LC23[rip]
	mov	edi, 6
	call	setlocale@PLT
	mov	esi, 0
	mov	edi, 6
	call	setlocale@PLT
	mov	rdi, rax
	call	check_ascii
	or	DWORD PTR -4[rbp], eax
	lea	rsi, .LC21[rip]
	mov	edi, 6
	call	setlocale@PLT
	mov	esi, 0
	mov	edi, 6
	call	setlocale@PLT
	mov	rdi, rax
	call	check_ascii
	or	DWORD PTR -4[rbp], eax
	call	utf8_test
	or	DWORD PTR -4[rbp], eax
	lea	rsi, .LC24[rip]
	mov	edi, 6
	call	setlocale@PLT
	mov	esi, 0
	mov	edi, 6
	call	setlocale@PLT
	mov	rdi, rax
	call	check_ascii
	or	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -4[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	main, .-main
	.section	.rodata
.LC25:
	.string	"Testing locale \"%s\":\n"
.LC26:
	.string	"%s: '\\x%x': encoding error\n"
	.align 8
.LC27:
	.string	"%s: '\\x%x': incomplete character\n"
.LC28:
	.string	"%s: '\\x%x': 0 returned\n"
.LC29:
	.string	"%s: '\\x%x': not 0 returned\n"
.LC30:
	.string	"%s: '\\x%x': not 1 returned\n"
.LC31:
	.string	"%s: '\\x%x': wc != L'\\x%x'\n"
.LC32:
	.string	"%d error\n"
.LC33:
	.string	"%d errors\n"
	.text
	.type	check_ascii, @function
check_ascii:
.LFB11:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 88
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -120[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -104[rbp], 0
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC25[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -100[rbp], 0
	jmp	.L52
.L64:
	mov	rax, rsp
	mov	rbx, rax
	call	__ctype_get_mb_cur_max@PLT
	mov	rdx, rax
	sub	rdx, 1
	mov	QWORD PTR -88[rbp], rdx
	mov	r12, rax
	mov	r13d, 0
	mov	r14, rax
	mov	r15d, 0
	mov	edx, 16
	sub	rdx, 1
	add	rax, rdx
	mov	ecx, 16
	mov	edx, 0
	div	rcx
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L53:
	cmp	rsp, rdx
	je	.L54
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L53
.L54:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L55
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L55:
	mov	rax, rsp
	add	rax, 0
	mov	QWORD PTR -80[rbp], rax
	mov	DWORD PTR -108[rbp], -1
	mov	QWORD PTR -96[rbp], 0
	jmp	.L56
.L57:
	mov	eax, DWORD PTR -100[rbp]
	mov	edx, eax
	mov	rax, QWORD PTR -96[rbp]
	add	eax, edx
	mov	edx, eax
	mov	rcx, QWORD PTR -80[rbp]
	mov	rax, QWORD PTR -96[rbp]
	add	rax, rcx
	mov	BYTE PTR [rax], dl
	add	QWORD PTR -96[rbp], 1
.L56:
	call	__ctype_get_mb_cur_max@PLT
	cmp	QWORD PTR -96[rbp], rax
	jb	.L57
	lea	rax, -64[rbp]
	mov	edx, 8
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	call	__ctype_get_mb_cur_max@PLT
	mov	rdi, rax
	lea	rdx, -64[rbp]
	mov	rsi, QWORD PTR -80[rbp]
	lea	rax, -108[rbp]
	mov	rcx, rdx
	mov	rdx, rdi
	mov	rdi, rax
	call	mbrtowc@PLT
	mov	QWORD PTR -72[rbp], rax
	cmp	QWORD PTR -72[rbp], -1
	jne	.L58
	mov	edx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC26[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
	jmp	.L59
.L58:
	cmp	QWORD PTR -72[rbp], -2
	jne	.L60
	mov	edx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC27[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
	jmp	.L59
.L60:
	cmp	QWORD PTR -72[rbp], 0
	jne	.L61
	cmp	DWORD PTR -100[rbp], 0
	je	.L61
	mov	edx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC28[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
	jmp	.L59
.L61:
	cmp	QWORD PTR -72[rbp], 0
	je	.L62
	cmp	DWORD PTR -100[rbp], 0
	jne	.L62
	mov	edx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC29[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
	jmp	.L59
.L62:
	cmp	DWORD PTR -100[rbp], 0
	je	.L63
	cmp	QWORD PTR -72[rbp], 1
	je	.L63
	mov	edx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC30[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
	jmp	.L59
.L63:
	mov	eax, DWORD PTR -108[rbp]
	cmp	DWORD PTR -100[rbp], eax
	je	.L59
	mov	ecx, DWORD PTR -100[rbp]
	mov	edx, DWORD PTR -100[rbp]
	mov	rax, QWORD PTR -120[rbp]
	mov	rsi, rax
	lea	rdi, .LC31[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -104[rbp], 1
.L59:
	mov	rsp, rbx
	add	DWORD PTR -100[rbp], 1
.L52:
	cmp	DWORD PTR -100[rbp], 127
	jle	.L64
	cmp	DWORD PTR -104[rbp], 1
	jne	.L65
	lea	rax, .LC32[rip]
	jmp	.L66
.L65:
	lea	rax, .LC33[rip]
.L66:
	mov	edx, DWORD PTR -104[rbp]
	mov	esi, edx
	mov	rdi, rax
	mov	eax, 0
	call	printf@PLT
	cmp	DWORD PTR -104[rbp], 0
	setne	al
	movzx	eax, al
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L68
	call	__stack_chk_fail@PLT
.L68:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE11:
	.size	check_ascii, .-check_ascii
	.section	.rodata
	.align 8
	.type	__PRETTY_FUNCTION__.2, @object
	.size	__PRETTY_FUNCTION__.2, 12
__PRETTY_FUNCTION__.2:
	.string	"utf8_test_1"
	.align 8
	.type	__PRETTY_FUNCTION__.1, @object
	.size	__PRETTY_FUNCTION__.1, 12
__PRETTY_FUNCTION__.1:
	.string	"utf8_test_2"
	.align 8
	.type	__PRETTY_FUNCTION__.0, @object
	.size	__PRETTY_FUNCTION__.0, 12
__PRETTY_FUNCTION__.0:
	.string	"utf8_test_3"
	.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	"756150.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\342\000"
	.align	2
.LC1:
	.ascii	"the_stack_data/756150.c\000"
	.align	2
.LC2:
	.ascii	"mbrtowc (&wc, \"\\xE2\", 1, &s) == (size_t) -2\000"
	.align	2
.LC3:
	.ascii	"\211\000"
	.align	2
.LC4:
	.ascii	"mbrtowc (&wc, \"\\x89\", 1, &s) == (size_t) -2\000"
	.align	2
.LC5:
	.ascii	"wc == 42\000"
	.align	2
.LC6:
	.ascii	"\240\000"
	.align	2
.LC7:
	.ascii	"mbrtowc (&wc, \"\\xA0\", 1, &s) == 1\000"
	.align	2
.LC8:
	.ascii	"wc == 0x2260\000"
	.align	2
.LC9:
	.ascii	"\000"
	.align	2
.LC10:
	.ascii	"mbrtowc (&wc, \"\", 1, &s) == 0\000"
	.align	2
.LC11:
	.ascii	"wc == 0\000"
	.align	2
.LC12:
	.ascii	"mbrtowc (&wc, str, 1, &s) == -2\000"
	.align	2
.LC13:
	.ascii	"mbrtowc (&wc, str + 1, 2, &s) == 2\000"
	.align	2
.LC14:
	.ascii	"wc == 0x800\000"
	.align	2
.LC15:
	.ascii	"mbrtowc (&wc, str, 3, &s) == 3\000"
	.align	2
.LC16:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	utf8_test_1, %function
utf8_test_1:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L16
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #42
	str	r3, [fp, #-24]
	sub	r3, fp, #20
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #20
	sub	r0, fp, #24
	mov	r2, #1
	ldr	r1, .L16+4
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L2
	ldr	r3, .L16+8
	mov	r2, #42
	ldr	r1, .L16+12
	ldr	r0, .L16+16
	bl	__assert_fail
.L2:
	sub	r3, fp, #20
	sub	r0, fp, #24
	mov	r2, #1
	ldr	r1, .L16+20
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L3
	ldr	r3, .L16+8
	mov	r2, #43
	ldr	r1, .L16+12
	ldr	r0, .L16+24
	bl	__assert_fail
.L3:
	ldr	r3, [fp, #-24]
	cmp	r3, #42
	beq	.L4
	ldr	r3, .L16+8
	mov	r2, #44
	ldr	r1, .L16+12
	ldr	r0, .L16+28
	bl	__assert_fail
.L4:
	sub	r3, fp, #20
	sub	r0, fp, #24
	mov	r2, #1
	ldr	r1, .L16+32
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #1
	beq	.L5
	ldr	r3, .L16+8
	mov	r2, #45
	ldr	r1, .L16+12
	ldr	r0, .L16+36
	bl	__assert_fail
.L5:
	ldr	r3, [fp, #-24]
	ldr	r2, .L16+40
	cmp	r3, r2
	beq	.L6
	ldr	r3, .L16+8
	mov	r2, #46
	ldr	r1, .L16+12
	ldr	r0, .L16+44
	bl	__assert_fail
.L6:
	sub	r3, fp, #20
	sub	r0, fp, #24
	mov	r2, #1
	ldr	r1, .L16+48
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #0
	beq	.L7
	ldr	r3, .L16+8
	mov	r2, #47
	ldr	r1, .L16+12
	ldr	r0, .L16+52
	bl	__assert_fail
.L7:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	beq	.L8
	ldr	r3, .L16+8
	mov	r2, #48
	ldr	r1, .L16+12
	ldr	r0, .L16+56
	bl	__assert_fail
.L8:
	ldr	r3, .L16+60
	str	r3, [fp, #-12]
	mov	r3, #42
	str	r3, [fp, #-24]
	sub	r3, fp, #20
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #20
	sub	r1, fp, #12
	sub	r0, fp, #24
	mov	r2, #1
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L9
	ldr	r3, .L16+8
	mov	r2, #55
	ldr	r1, .L16+12
	ldr	r0, .L16+64
	bl	__assert_fail
.L9:
	sub	r1, fp, #12
	add	r1, r1, #1
	sub	r3, fp, #20
	sub	r0, fp, #24
	mov	r2, #2
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #2
	beq	.L10
	ldr	r3, .L16+8
	mov	r2, #56
	ldr	r1, .L16+12
	ldr	r0, .L16+68
	bl	__assert_fail
.L10:
	ldr	r3, [fp, #-24]
	cmp	r3, #2048
	beq	.L11
	ldr	r3, .L16+8
	mov	r2, #57
	ldr	r1, .L16+12
	ldr	r0, .L16+72
	bl	__assert_fail
.L11:
	mov	r3, #42
	str	r3, [fp, #-24]
	sub	r3, fp, #20
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #20
	sub	r1, fp, #12
	sub	r0, fp, #24
	mov	r2, #3
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #3
	beq	.L12
	ldr	r3, .L16+8
	mov	r2, #61
	ldr	r1, .L16+12
	ldr	r0, .L16+76
	bl	__assert_fail
.L12:
	ldr	r3, [fp, #-24]
	cmp	r3, #2048
	beq	.L13
	ldr	r3, .L16+8
	mov	r2, #62
	ldr	r1, .L16+12
	ldr	r0, .L16+72
	bl	__assert_fail
.L13:
	mov	r3, #0
	ldr	r2, .L16
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L17:
	.align	2
.L16:
	.word	.LC16
	.word	.LC0
	.word	__PRETTY_FUNCTION__.5645
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	8800
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	8429792
	.word	.LC12
	.word	.LC13
	.word	.LC14
	.word	.LC15
	.size	utf8_test_1, .-utf8_test_1
	.section	.rodata
	.align	2
.LC17:
	.ascii	"mbrtowc (NULL, \"\", 1, &s) == 0\000"
	.align	2
.LC18:
	.ascii	"mbsinit (&s)\000"
	.align	2
.LC19:
	.ascii	"mbrtowc (NULL, \"\", 1, &s) == (size_t) -1\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	utf8_test_2, %function
utf8_test_2:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L33
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #42
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	mov	r2, #1
	ldr	r1, .L33+4
	mov	r0, #0
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L33+8
	mov	r2, #76
	ldr	r1, .L33+12
	ldr	r0, .L33+16
	bl	__assert_fail
.L19:
	sub	r3, fp, #16
	mov	r0, r3
	bl	mbsinit
	mov	r3, r0
	cmp	r3, #0
	bne	.L20
	ldr	r3, .L33+8
	mov	r2, #77
	ldr	r1, .L33+12
	ldr	r0, .L33+20
	bl	__assert_fail
.L20:
	mov	r3, #42
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L33+24
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L21
	ldr	r3, .L33+8
	mov	r2, #81
	ldr	r1, .L33+12
	ldr	r0, .L33+28
	bl	__assert_fail
.L21:
	sub	r3, fp, #16
	mov	r2, #1
	ldr	r1, .L33+4
	mov	r0, #0
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #1
	beq	.L22
	ldr	r3, .L33+8
	mov	r2, #82
	ldr	r1, .L33+12
	ldr	r0, .L33+32
	bl	__assert_fail
.L22:
	mov	r3, #42
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L33+24
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L23
	ldr	r3, .L33+8
	mov	r2, #86
	ldr	r1, .L33+12
	ldr	r0, .L33+28
	bl	__assert_fail
.L23:
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L33+36
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L24
	ldr	r3, .L33+8
	mov	r2, #87
	ldr	r1, .L33+12
	ldr	r0, .L33+40
	bl	__assert_fail
.L24:
	sub	r3, fp, #16
	mov	r2, #1
	ldr	r1, .L33+4
	mov	r0, #0
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #1
	beq	.L25
	ldr	r3, .L33+8
	mov	r2, #88
	ldr	r1, .L33+12
	ldr	r0, .L33+32
	bl	__assert_fail
.L25:
	mov	r3, #42
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L33+24
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L26
	ldr	r3, .L33+8
	mov	r2, #92
	ldr	r1, .L33+12
	ldr	r0, .L33+28
	bl	__assert_fail
.L26:
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L33+36
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L27
	ldr	r3, .L33+8
	mov	r2, #93
	ldr	r1, .L33+12
	ldr	r0, .L33+40
	bl	__assert_fail
.L27:
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L33+44
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #1
	beq	.L28
	ldr	r3, .L33+8
	mov	r2, #94
	ldr	r1, .L33+12
	ldr	r0, .L33+48
	bl	__assert_fail
.L28:
	sub	r3, fp, #16
	mov	r2, #1
	ldr	r1, .L33+4
	mov	r0, #0
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #0
	beq	.L29
	ldr	r3, .L33+8
	mov	r2, #95
	ldr	r1, .L33+12
	ldr	r0, .L33+16
	bl	__assert_fail
.L29:
	sub	r3, fp, #16
	mov	r0, r3
	bl	mbsinit
	mov	r3, r0
	cmp	r3, #0
	bne	.L30
	ldr	r3, .L33+8
	mov	r2, #96
	ldr	r1, .L33+12
	ldr	r0, .L33+20
	bl	__assert_fail
.L30:
	mov	r3, #0
	ldr	r2, .L33
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L32
	bl	__stack_chk_fail
.L32:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L34:
	.align	2
.L33:
	.word	.LC20
	.word	.LC9
	.word	__PRETTY_FUNCTION__.5652
	.word	.LC1
	.word	.LC17
	.word	.LC18
	.word	.LC0
	.word	.LC2
	.word	.LC19
	.word	.LC3
	.word	.LC4
	.word	.LC6
	.word	.LC7
	.size	utf8_test_2, .-utf8_test_2
	.section	.rodata
	.align	2
.LC21:
	.ascii	"mbrtowc (NULL, NULL, 0, &s) == 0\000"
	.align	2
.LC22:
	.ascii	"mbrtowc (NULL, NULL, 0, &s) == (size_t) -1\000"
	.align	2
.LC23:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	utf8_test_3, %function
utf8_test_3:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r3, .L50
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #42
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #0
	beq	.L36
	ldr	r3, .L50+4
	mov	r2, #110
	ldr	r1, .L50+8
	ldr	r0, .L50+12
	bl	__assert_fail
.L36:
	sub	r3, fp, #16
	mov	r0, r3
	bl	mbsinit
	mov	r3, r0
	cmp	r3, #0
	bne	.L37
	ldr	r3, .L50+4
	mov	r2, #111
	ldr	r1, .L50+8
	ldr	r0, .L50+16
	bl	__assert_fail
.L37:
	mov	r3, #42
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L50+20
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L38
	ldr	r3, .L50+4
	mov	r2, #115
	ldr	r1, .L50+8
	ldr	r0, .L50+24
	bl	__assert_fail
.L38:
	sub	r3, fp, #16
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #1
	beq	.L39
	ldr	r3, .L50+4
	mov	r2, #116
	ldr	r1, .L50+8
	ldr	r0, .L50+28
	bl	__assert_fail
.L39:
	mov	r3, #42
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L50+20
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L40
	ldr	r3, .L50+4
	mov	r2, #120
	ldr	r1, .L50+8
	ldr	r0, .L50+24
	bl	__assert_fail
.L40:
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L50+32
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L41
	ldr	r3, .L50+4
	mov	r2, #121
	ldr	r1, .L50+8
	ldr	r0, .L50+36
	bl	__assert_fail
.L41:
	sub	r3, fp, #16
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #1
	beq	.L42
	ldr	r3, .L50+4
	mov	r2, #122
	ldr	r1, .L50+8
	ldr	r0, .L50+28
	bl	__assert_fail
.L42:
	mov	r3, #42
	str	r3, [fp, #-20]
	sub	r3, fp, #16
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L50+20
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L43
	ldr	r3, .L50+4
	mov	r2, #126
	ldr	r1, .L50+8
	ldr	r0, .L50+24
	bl	__assert_fail
.L43:
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L50+32
	bl	mbrtowc
	mov	r3, r0
	cmn	r3, #2
	beq	.L44
	ldr	r3, .L50+4
	mov	r2, #127
	ldr	r1, .L50+8
	ldr	r0, .L50+36
	bl	__assert_fail
.L44:
	sub	r3, fp, #16
	sub	r0, fp, #20
	mov	r2, #1
	ldr	r1, .L50+40
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #1
	beq	.L45
	ldr	r3, .L50+4
	mov	r2, #128
	ldr	r1, .L50+8
	ldr	r0, .L50+44
	bl	__assert_fail
.L45:
	sub	r3, fp, #16
	mov	r2, #0
	mov	r1, #0
	mov	r0, #0
	bl	mbrtowc
	mov	r3, r0
	cmp	r3, #0
	beq	.L46
	ldr	r3, .L50+4
	mov	r2, #129
	ldr	r1, .L50+8
	ldr	r0, .L50+12
	bl	__assert_fail
.L46:
	sub	r3, fp, #16
	mov	r0, r3
	bl	mbsinit
	mov	r3, r0
	cmp	r3, #0
	bne	.L47
	ldr	r3, .L50+4
	mov	r2, #130
	ldr	r1, .L50+8
	ldr	r0, .L50+16
	bl	__assert_fail
.L47:
	mov	r3, #0
	ldr	r2, .L50
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L49
	bl	__stack_chk_fail
.L49:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L51:
	.align	2
.L50:
	.word	.LC23
	.word	__PRETTY_FUNCTION__.5658
	.word	.LC1
	.word	.LC21
	.word	.LC18
	.word	.LC0
	.word	.LC2
	.word	.LC22
	.word	.LC3
	.word	.LC4
	.word	.LC6
	.word	.LC7
	.size	utf8_test_3, .-utf8_test_3
	.section	.rodata
	.align	2
.LC24:
	.ascii	"de_DE.UTF-8\000"
	.align	2
.LC25:
	.ascii	"locale '%s' not available!\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	utf8_test, %function
utf8_test:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r3, .L55
	str	r3, [fp, #-12]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r0, #0
	bl	setlocale
	mov	r3, r0
	cmp	r3, #0
	bne	.L53
	ldr	r3, .L55+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	ldr	r1, .L55+8
	mov	r0, r3
	bl	fprintf
	mov	r0, #1
	bl	exit
.L53:
	bl	utf8_test_1
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	bl	utf8_test_2
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	bl	utf8_test_3
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L56:
	.align	2
.L55:
	.word	.LC24
	.word	stderr
	.word	.LC25
	.size	utf8_test, .-utf8_test
	.section	.rodata
	.align	2
.LC26:
	.ascii	"C\000"
	.align	2
.LC27:
	.ascii	"ja_JP.EUC-JP\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r1, .L59
	mov	r0, #6
	bl	setlocale
	mov	r1, #0
	mov	r0, #6
	bl	setlocale
	mov	r3, r0
	mov	r0, r3
	bl	check_ascii
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r1, .L59+4
	mov	r0, #6
	bl	setlocale
	mov	r1, #0
	mov	r0, #6
	bl	setlocale
	mov	r3, r0
	mov	r0, r3
	bl	check_ascii
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	bl	utf8_test
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r1, .L59+8
	mov	r0, #6
	bl	setlocale
	mov	r1, #0
	mov	r0, #6
	bl	setlocale
	mov	r3, r0
	mov	r0, r3
	bl	check_ascii
	mov	r2, r0
	ldr	r3, [fp, #-8]
	orr	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L60:
	.align	2
.L59:
	.word	.LC26
	.word	.LC24
	.word	.LC27
	.size	main, .-main
	.section	.rodata
	.align	2
.LC28:
	.ascii	"Testing locale \"%s\":\012\000"
	.align	2
.LC29:
	.ascii	"%s: '\\x%x': encoding error\012\000"
	.align	2
.LC30:
	.ascii	"%s: '\\x%x': incomplete character\012\000"
	.align	2
.LC31:
	.ascii	"%s: '\\x%x': 0 returned\012\000"
	.align	2
.LC32:
	.ascii	"%s: '\\x%x': not 0 returned\012\000"
	.align	2
.LC33:
	.ascii	"%s: '\\x%x': not 1 returned\012\000"
	.align	2
.LC34:
	.ascii	"%s: '\\x%x': wc != L'\\x%x'\012\000"
	.align	2
.LC35:
	.ascii	"%d error\012\000"
	.align	2
.LC36:
	.ascii	"%d errors\012\000"
	.align	2
.LC37:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	check_ascii, %function
check_ascii:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	str	r0, [fp, #-56]
	ldr	r3, .L76
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r1, [fp, #-56]
	ldr	r0, .L76+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-44]
	b	.L62
.L71:
	mov	r3, sp
	mov	r4, r3
	bl	__ctype_get_mb_cur_max
	mov	ip, r0
	mov	r3, ip
	sub	r3, r3, #1
	str	r3, [fp, #-36]
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	mov	r0, ip
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #3
	orr	r3, r3, r0, lsr #29
	lsl	r2, r0, #3
	add	r3, ip, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #0
	str	r3, [fp, #-32]
	mvn	r3, #0
	str	r3, [fp, #-52]
	mov	r3, #0
	str	r3, [fp, #-40]
	b	.L63
.L64:
	ldr	r3, [fp, #-44]
	and	r2, r3, #255
	ldr	r3, [fp, #-40]
	and	r3, r3, #255
	add	r3, r2, r3
	and	r1, r3, #255
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	mov	r2, r1
	strb	r2, [r3]
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	str	r3, [fp, #-40]
.L63:
	bl	__ctype_get_mb_cur_max
	mov	r2, r0
	ldr	r3, [fp, #-40]
	cmp	r3, r2
	bcc	.L64
	sub	r3, fp, #24
	mov	r2, #8
	mov	r1, #0
	mov	r0, r3
	bl	memset
	bl	__ctype_get_mb_cur_max
	mov	r2, r0
	sub	r3, fp, #24
	sub	r0, fp, #52
	ldr	r1, [fp, #-32]
	bl	mbrtowc
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	cmn	r3, #1
	bne	.L65
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-56]
	ldr	r0, .L76+8
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L66
.L65:
	ldr	r3, [fp, #-28]
	cmn	r3, #2
	bne	.L67
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-56]
	ldr	r0, .L76+12
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L66
.L67:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	bne	.L68
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L68
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-56]
	ldr	r0, .L76+16
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L66
.L68:
	ldr	r3, [fp, #-28]
	cmp	r3, #0
	beq	.L69
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	bne	.L69
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-56]
	ldr	r0, .L76+20
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L66
.L69:
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L70
	ldr	r3, [fp, #-28]
	cmp	r3, #1
	beq	.L70
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-56]
	ldr	r0, .L76+24
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
	b	.L66
.L70:
	ldr	r2, [fp, #-52]
	ldr	r3, [fp, #-44]
	cmp	r2, r3
	beq	.L66
	ldr	r3, [fp, #-44]
	ldr	r2, [fp, #-44]
	ldr	r1, [fp, #-56]
	ldr	r0, .L76+28
	bl	printf
	ldr	r3, [fp, #-48]
	add	r3, r3, #1
	str	r3, [fp, #-48]
.L66:
	mov	sp, r4
	ldr	r3, [fp, #-44]
	add	r3, r3, #1
	str	r3, [fp, #-44]
.L62:
	ldr	r3, [fp, #-44]
	cmp	r3, #127
	ble	.L71
	ldr	r3, [fp, #-48]
	cmp	r3, #1
	bne	.L72
	ldr	r3, .L76+32
	b	.L73
.L72:
	ldr	r3, .L76+36
.L73:
	ldr	r1, [fp, #-48]
	mov	r0, r3
	bl	printf
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	ldr	r2, .L76
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L75
	bl	__stack_chk_fail
.L75:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L77:
	.align	2
.L76:
	.word	.LC37
	.word	.LC28
	.word	.LC29
	.word	.LC30
	.word	.LC31
	.word	.LC32
	.word	.LC33
	.word	.LC34
	.word	.LC35
	.word	.LC36
	.size	check_ascii, .-check_ascii
	.section	.rodata
	.align	2
	.type	__PRETTY_FUNCTION__.5645, %object
	.size	__PRETTY_FUNCTION__.5645, 12
__PRETTY_FUNCTION__.5645:
	.ascii	"utf8_test_1\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5652, %object
	.size	__PRETTY_FUNCTION__.5652, 12
__PRETTY_FUNCTION__.5652:
	.ascii	"utf8_test_2\000"
	.align	2
	.type	__PRETTY_FUNCTION__.5658, %object
	.size	__PRETTY_FUNCTION__.5658, 12
__PRETTY_FUNCTION__.5658:
	.ascii	"utf8_test_3\000"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
