	.file	"extr_msiexec.c_process_args.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	process_args, @function
process_args:
.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
	mov	r14, rsi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	mov	DWORD PTR [rsi], 0
	xor	esi, esi
	mov	QWORD PTR [rdx], 0
	mov	QWORD PTR 8[rsp], rdx
	call	chomp@PLT
	mov	rdi, rbp
	mov	ebx, eax
	call	lstrlenW@PLT
	mov	r12d, eax
	xor	eax, eax
	call	GetProcessHeap@PLT
	lea	edx, 1[r12+rbx]
	xor	esi, esi
	sal	edx, 2
	mov	edi, eax
	call	HeapAlloc@PLT
	test	rax, rax
	je	.L1
	mov	rdi, rbp
	mov	rsi, rax
	mov	r15, rax
	call	chomp@PLT
	mov	ebp, eax
	xor	eax, eax
	call	GetProcessHeap@PLT
	lea	edx, 8[0+rbp*8]
	xor	esi, esi
	mov	edi, eax
	call	HeapAlloc@PLT
	mov	r12, rax
	test	rax, rax
	je	.L3
	test	ebp, ebp
	jle	.L5
	mov	r13, rax
	lea	eax, -1[rbp]
	lea	rbx, 8[r12+rax*8]
	.p2align 4,,10
	.p2align 3
.L6:
	mov	QWORD PTR 0[r13], r15
	mov	rdi, r15
	add	r13, 8
	call	lstrlenW@PLT
	add	eax, 1
	cdqe
	lea	r15, [r15+rax*4]
	cmp	r13, rbx
	jne	.L6
	movsx	rax, ebp
	lea	rax, [r12+rax*8]
.L5:
	mov	QWORD PTR [rax], 0
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR [r14], ebp
	mov	QWORD PTR [rax], r12
.L1:
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L3:
	.cfi_restore_state
	xor	eax, eax
	call	GetProcessHeap@PLT
	add	rsp, 24
	.cfi_def_cfa_offset 56
	mov	rdx, r15
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 48
	mov	edi, eax
	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	HeapFree@PLT
	.cfi_endproc
.LFE0:
	.size	process_args, .-process_args
	.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_msiexec.c_process_args.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_args, %function
process_args:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r6, #0
	mov	r9, r1
	str	r6, [r1]
	mov	r1, r6
	str	r6, [r2]
	mov	r8, r2
	mov	r5, r0
	bl	chomp
	mov	r7, r0
	bl	GetProcessHeap
	mov	r4, r0
	mov	r0, r5
	bl	lstrlenW
	add	r2, r0, r7
	add	r2, r2, #1
	mov	r0, r4
	mov	r1, r6
	lsl	r2, r2, #2
	bl	HeapAlloc
	subs	r4, r0, #0
	popeq	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
	mov	r1, r4
	mov	r0, r5
	bl	chomp
	mov	r10, r0
	add	r5, r10, #1
	lsl	r5, r5, #2
	bl	GetProcessHeap
	mov	r1, r6
	mov	r2, r5
	bl	HeapAlloc
	subs	r7, r0, #0
	beq	.L3
	cmp	r10, r6
	movle	r5, r7
	ble	.L5
	sub	r5, r5, #4
	sub	fp, r7, #4
	add	r6, fp, r5
.L6:
	str	r4, [fp, #4]!
	mov	r0, r4
	bl	lstrlenW
	cmp	fp, r6
	add	r0, r0, #1
	add	r4, r4, r0, lsl #2
	bne	.L6
	add	r5, r7, r5
.L5:
	mov	r3, #0
	str	r3, [r5]
	str	r10, [r9]
	str	r7, [r8]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L3:
	bl	GetProcessHeap
	mov	r2, r4
	mov	r1, r7
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	b	HeapFree
	.size	process_args, .-process_args
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
