	.file	"extr_wmain.c_main.c"
	.intel_syntax noprefix
	.text
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.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
	movsx	r14, edi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	lea	edi, 0[0+r14*8]
	mov	r13, r14
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	xor	esi, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	GlobalAlloc@PLT
	mov	rbp, rax
	test	r14d, r14d
	jle	.L2
	lea	eax, -1[r14]
	mov	r15, rbp
	lea	r12, 8[rbx+rax*8]
	sub	r15, rbx
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, QWORD PTR [rbx]
	call	lstrlenA@PLT
	xor	esi, esi
	lea	edi, 4[0+rax*4]
	call	GlobalAlloc@PLT
	mov	rdi, QWORD PTR [rbx]
	mov	QWORD PTR [r15+rbx], rax
	mov	rsi, rax
	add	rbx, 8
	call	a2w@PLT
	cmp	rbx, r12
	jne	.L3
	lea	rax, 0[rbp+r14*8]
.L2:
	mov	QWORD PTR [rax], 0
	mov	rsi, rbp
	mov	edi, r13d
	add	rbp, 8
	call	wmain@PLT
	mov	rdi, QWORD PTR -8[rbp]
	mov	r12d, eax
	test	rdi, rdi
	je	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	call	GlobalFree@PLT
	mov	rdi, QWORD PTR 0[rbp]
	add	rbp, 8
	test	rdi, rdi
	jne	.L5
.L1:
	add	rsp, 8
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.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_wmain.c_main.c"
	.text
	.section	.text.startup,"ax",%progbits
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	lsl	r9, r0, #2
	mov	r8, r0
	mov	r6, r1
	mov	r0, r9
	mov	r1, #0
	bl	GlobalAlloc
	cmp	r8, #0
	mov	r5, r0
	ble	.L7
	sub	r4, r6, #4
	add	r7, r4, r9
.L3:
	ldr	r0, [r4, #4]!
	bl	lstrlenA
	add	r0, r0, #1
	mov	r1, #0
	lsl	r0, r0, #2
	bl	GlobalAlloc
	sub	r3, r4, r6
	mov	r1, r0
	str	r0, [r3, r5]
	ldr	r0, [r4]
	bl	a2w
	cmp	r4, r7
	bne	.L3
	add	r9, r5, r9
.L2:
	mov	r3, #0
	mov	r0, r8
	mov	r1, r5
	str	r3, [r9]
	bl	wmain
	mov	r4, r0
	ldr	r0, [r5]
	cmp	r0, #0
	beq	.L1
	add	r5, r5, #4
.L5:
	bl	GlobalFree
	ldr	r0, [r5], #4
	cmp	r0, #0
	bne	.L5
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L7:
	mov	r9, r0
	b	.L2
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
