	.file	"extr_regproc.c_getArg.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	getArg
	.type	getArg, @function
getArg:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	test	rdi, rdi
	je	.L5
	mov	rbp, rdi
	call	_tcslen@PLT
	mov	edi, 34
	cdqe
	lea	r12, -8[rbp+rax*8]
	mov	rbx, QWORD PTR [r12]
	call	_T@PLT
	cmp	rbx, rax
	je	.L8
.L3:
	mov	edi, 34
	mov	r12, QWORD PTR 0[rbp]
	call	_T@PLT
	mov	r8, rax
	lea	rax, 8[rbp]
	cmp	r12, r8
	cmove	rbp, rax
	mov	rdi, rbp
	call	_tcslen@PLT
	mov	r12d, eax
	xor	eax, eax
	call	GetProcessHeap@PLT
	lea	edx, 4[0+r12*4]
	xor	esi, esi
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	rsi, rbp
	mov	r12, rax
	mov	rdi, rax
	call	_tcscpy@PLT
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	xor	edi, edi
	call	_T@PLT
	mov	QWORD PTR [r12], rax
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L5:
	xor	r12d, r12d
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	mov	rax, r12
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	getArg, .-getArg
	.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_regproc.c_getArg.c"
	.text
	.align	2
	.global	getArg
	.syntax unified
	.arm
	.fpu softvfp
	.type	getArg, %function
getArg:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	subs	r4, r0, #0
	beq	.L1
	bl	_tcslen
	mov	r5, r0
	mov	r0, #34
	sub	r5, r5, #-1073741823
	ldr	r6, [r4, r5, lsl #2]
	bl	_T
	cmp	r6, r0
	beq	.L8
.L3:
	mov	r0, #34
	ldr	r5, [r4]
	bl	_T
	cmp	r5, r0
	addeq	r4, r4, #4
	bl	GetProcessHeap
	mov	r5, r0
	mov	r0, r4
	bl	_tcslen
	add	r2, r0, #1
	mov	r1, #0
	mov	r0, r5
	lsl	r2, r2, #2
	bl	HeapAlloc
	mov	r1, r4
	mov	r4, r0
	bl	_tcscpy
.L1:
	mov	r0, r4
	pop	{r4, r5, r6, pc}
.L8:
	mov	r0, #0
	bl	_T
	str	r0, [r4, r5, lsl #2]
	b	.L3
	.size	getArg, .-getArg
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
