	.file	"737854.c"
	.intel_syntax noprefix
	.text
	.globl	wcstombs
	.type	wcstombs, @function
wcstombs:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	.cfi_offset 3, -24
	mov	rcx, rdi
	mov	QWORD PTR -16[rbp], rdx
	mov	rax, QWORD PTR -16[rbp]
	mov	ebx, eax
	jmp	.L2
.L4:
	mov	rax, rsi
	lea	rsi, 4[rax]
	mov	edx, DWORD PTR [rax]
	mov	rax, rcx
	lea	rcx, 1[rax]
	mov	BYTE PTR [rax], dl
	movzx	eax, BYTE PTR [rax]
	test	al, al
	je	.L6
.L2:
	sub	ebx, 1
	test	ebx, ebx
	jns	.L4
	jmp	.L3
.L6:
	nop
.L3:
	movsx	rdx, ebx
	mov	rax, QWORD PTR -16[rbp]
	sub	rax, rdx
	sub	rax, 1
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	wcstombs, .-wcstombs
	.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	"737854.c"
	.text
	.align	2
	.global	wcstombs
	.syntax unified
	.arm
	.fpu softvfp
	.type	wcstombs, %function
wcstombs:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	push	{r4, fp}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r2, [fp, #-8]
	ldr	r4, [fp, #-8]
	b	.L2
.L4:
	mov	r3, r1
	add	r1, r3, #4
	ldr	r2, [r3]
	mov	r3, r0
	add	r0, r3, #1
	and	r2, r2, #255
	strb	r2, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L6
.L2:
	sub	r4, r4, #1
	cmp	r4, #0
	bge	.L4
	b	.L3
.L6:
	nop
.L3:
	mov	r2, r4
	ldr	r3, [fp, #-8]
	sub	r3, r3, r2
	sub	r3, r3, #1
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{r4, fp}
	bx	lr
	.size	wcstombs, .-wcstombs
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
