	.file	"extr_c_locale_glibc2.c__WLocale_strxfrm.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	_WLocale_strxfrm
	.type	_WLocale_strxfrm, @function
_WLocale_strxfrm:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	test	r8, r8
	je	.L12
	cmp	QWORD PTR [rcx+r8*8], 0
	mov	r14, rdi
	mov	r13, rdx
	mov	rbp, rcx
	mov	rbx, r8
	lea	rdi, 0[0+r8*8]
	jne	.L4
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	ecx, r14d
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	jmp	wcsxfrm_l@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	add	rdi, 8
	call	malloc@PLT
	mov	rdx, rbx
	mov	rsi, rbp
	mov	r15, rax
	mov	rdi, rax
	call	wcsncpy@PLT
	mov	rdx, r13
	mov	ecx, r14d
	mov	rsi, r15
	mov	rdi, r12
	mov	QWORD PTR [r15+rbx*8], 0
	call	wcsxfrm_l@PLT
	mov	r13, rax
	test	r15, r15
	je	.L1
	mov	rdi, r15
	call	free@PLT
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	rax, r13
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L12:
	.cfi_restore_state
	xor	r13d, r13d
	test	rsi, rsi
	je	.L1
	mov	QWORD PTR [rsi], 0
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	_WLocale_strxfrm, .-_WLocale_strxfrm
	.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_c_locale_glibc2.c__WLocale_strxfrm.c"
	.text
	.align	2
	.global	_WLocale_strxfrm
	.syntax unified
	.arm
	.fpu softvfp
	.type	_WLocale_strxfrm, %function
_WLocale_strxfrm:
	@ args = 4, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r4, [sp, #24]
	mov	r5, r1
	cmp	r4, #0
	beq	.L11
	mov	r6, r3
	ldr	r3, [r3, r4, lsl #2]
	mov	r8, r0
	cmp	r3, #0
	lsl	r0, r4, #2
	bne	.L4
	mov	r3, r8
	mov	r1, r6
	mov	r0, r5
	pop	{r4, r5, r6, r7, r8, lr}
	b	wcsxfrm_l
.L4:
	add	r0, r0, #4
	mov	r7, r2
	bl	malloc
	mov	r1, r6
	mov	r2, r4
	mov	r6, r0
	bl	wcsncpy
	mov	ip, #0
	mov	r3, r8
	str	ip, [r6, r4, lsl #2]
	mov	r2, r7
	mov	r0, r5
	mov	r1, r6
	bl	wcsxfrm_l
	cmp	r6, #0
	mov	r4, r0
	beq	.L1
	mov	r0, r6
	bl	free
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
.L11:
	cmp	r1, #0
	strne	r4, [r1]
	bne	.L1
	mov	r4, r1
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, pc}
	.size	_WLocale_strxfrm, .-_WLocale_strxfrm
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
