	.file	"extr_string.c_test_ismbckata.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"expected 0, got %d for %04x\n"
.LC1:
	.string	"expected %d, got %d for %04x\n"
	.text
	.p2align 4
	.type	test_ismbckata, @function
test_ismbckata:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	xor	eax, eax
	lea	r13, tests.1937[rip]
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	call	_getmbcp@PLT
	mov	edi, DWORD PTR _MB_CP_SBCS[rip]
	mov	ebp, eax
	call	_setmbcp@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	mov	r12d, DWORD PTR 0[r13+rbx*8]
	mov	edi, r12d
	call	_ismbckata@PLT
	xor	edi, edi
	mov	ecx, r12d
	lea	rsi, .LC0[rip]
	test	eax, eax
	mov	edx, eax
	sete	dil
	xor	eax, eax
	add	rbx, 1
	call	ok@PLT
.L2:
	mov	rdi, r13
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	ja	.L3
	mov	edi, 932
	xor	ebx, ebx
	lea	r13, tests.1937[rip+4]
	call	_setmbcp@PLT
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rax, tests.1937[rip]
	mov	r12d, DWORD PTR [rax+rbx*8]
	mov	edi, r12d
	call	_ismbckata@PLT
	mov	edx, DWORD PTR 0[r13+rbx*8]
	xor	ecx, ecx
	mov	r8d, r12d
	test	eax, eax
	lea	rsi, .LC1[rip]
	setne	cl
	xor	edi, edi
	cmp	ecx, edx
	sete	dil
	xor	eax, eax
	add	rbx, 1
	call	ok@PLT
.L4:
	lea	rdi, tests.1937[rip]
	call	ARRAY_SIZE@PLT
	cmp	eax, ebx
	ja	.L5
	add	rsp, 8
	.cfi_def_cfa_offset 40
	mov	edi, ebp
	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
	jmp	_setmbcp@PLT
	.cfi_endproc
.LFE0:
	.size	test_ismbckata, .-test_ismbckata
	.section	.rodata
	.align 32
	.type	tests.1937, @object
	.size	tests.1937, 120
tests.1937:
	.long	33106
	.long	129
	.long	33107
	.long	129
	.long	33108
	.long	129
	.long	33109
	.long	129
	.long	33440
	.long	129
	.long	33599
	.long	129
	.long	33600
	.long	128
	.long	33662
	.long	128
	.long	33663
	.long	129
	.long	33664
	.long	128
	.long	33686
	.long	128
	.long	33687
	.long	129
	.long	165
	.long	129
	.long	176
	.long	129
	.long	221
	.long	129
	.comm	_MB_CP_SBCS,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_string.c_test_ismbckata.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"expected 0, got %d for %04x\012\000"
	.align	2
.LC1:
	.ascii	"expected %d, got %d for %04x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	test_ismbckata, %function
test_ismbckata:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, lr}
	sub	sp, sp, #12
	bl	_getmbcp
	ldr	r3, .L8
	ldr	r8, .L8+4
	mov	r6, r0
	ldr	r0, [r3]
	mov	r7, r8
	bl	_setmbcp
	mov	r5, #0
	ldr	r9, .L8+8
	b	.L2
.L3:
	ldr	r4, [r8, r5, lsl #3]
	add	r5, r5, #1
	mov	r0, r4
	bl	_ismbckata
	mov	r2, r0
	clz	r0, r0
	mov	r3, r4
	mov	r1, r9
	lsr	r0, r0, #5
	bl	ok
.L2:
	mov	r0, r7
	bl	ARRAY_SIZE
	cmp	r0, r5
	bhi	.L3
	ldr	r4, .L8+4
	mov	r0, #932
	mov	r7, r4
	bl	_setmbcp
	mov	r5, #0
	ldr	r8, .L8+12
	b	.L4
.L5:
	ldr	r9, [r4, #-8]
	add	r5, r5, #1
	mov	r0, r9
	bl	_ismbckata
	subs	r3, r0, #0
	movne	r3, #1
	ldr	r2, [r4, #-4]
	mov	r1, r8
	sub	r0, r3, r2
	clz	r0, r0
	str	r9, [sp]
	lsr	r0, r0, #5
	bl	ok
.L4:
	mov	r0, r7
	bl	ARRAY_SIZE
	cmp	r0, r5
	add	r4, r4, #8
	bhi	.L5
	mov	r0, r6
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, lr}
	b	_setmbcp
.L9:
	.align	2
.L8:
	.word	_MB_CP_SBCS
	.word	.LANCHOR0
	.word	.LC0
	.word	.LC1
	.size	test_ismbckata, .-test_ismbckata
	.comm	_MB_CP_SBCS,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
	.type	tests.4221, %object
	.size	tests.4221, 120
tests.4221:
	.word	33106
	.word	129
	.word	33107
	.word	129
	.word	33108
	.word	129
	.word	33109
	.word	129
	.word	33440
	.word	129
	.word	33599
	.word	129
	.word	33600
	.word	128
	.word	33662
	.word	128
	.word	33663
	.word	129
	.word	33664
	.word	128
	.word	33686
	.word	128
	.word	33687
	.word	129
	.word	165
	.word	129
	.word	176
	.word	129
	.word	221
	.word	129
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
