	.file	"extr_argv_split.c_argv_split.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	argv_split
	.type	argv_split, @function
argv_split:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14, rdx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, edi
	mov	rdi, rsi
	call	count_argc@PLT
	mov	esi, ebx
	lea	edi, 8[0+rax*8]
	mov	ebp, eax
	call	kzalloc@PLT
	mov	r13, rax
	test	rax, rax
	je	.L1
	test	r14, r14
	je	.L3
	mov	DWORD PTR [r14], ebp
.L3:
	mov	r14, r13
.L4:
	cmp	BYTE PTR [r12], 0
	je	.L5
	mov	rdi, r12
	call	skip_spaces@PLT
	cmp	BYTE PTR [rax], 0
	mov	rbp, rax
	jne	.L16
.L5:
	mov	QWORD PTR [r14], 0
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rax, r13
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rdi, rax
	call	skip_arg@PLT
	mov	edx, ebx
	mov	rdi, rbp
	mov	rsi, rax
	mov	r12, rax
	sub	rsi, rbp
	call	kstrndup@PLT
	test	rax, rax
	je	.L17
	add	r14, 8
	mov	QWORD PTR -8[r14], rax
	jmp	.L4
.L17:
	mov	rdi, r13
	xor	r13d, r13d
	call	argv_free@PLT
	jmp	.L1
	.cfi_endproc
.LFE0:
	.size	argv_split, .-argv_split
	.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_argv_split.c_argv_split.c"
	.text
	.align	2
	.global	argv_split
	.syntax unified
	.arm
	.fpu softvfp
	.type	argv_split, %function
argv_split:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r7, r0
	mov	r0, r1
	mov	r5, r1
	mov	r8, r2
	bl	count_argc
	mov	r4, r0
	add	r0, r0, #1
	mov	r1, r7
	lsl	r0, r0, #2
	bl	kzalloc
	subs	r6, r0, #0
	beq	.L1
	cmp	r8, #0
	strne	r4, [r8]
	mov	r8, r6
.L4:
	ldrb	r3, [r5]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L5
	mov	r0, r5
	bl	skip_spaces
	ldrb	r3, [r0]	@ zero_extendqisi2
	mov	r4, r0
	cmp	r3, #0
	bne	.L19
.L5:
	mov	r3, #0
	str	r3, [r8]
.L1:
	mov	r0, r6
	pop	{r4, r5, r6, r7, r8, pc}
.L19:
	bl	skip_arg
	mov	r5, r0
	mov	r2, r7
	mov	r0, r4
	sub	r1, r5, r4
	bl	kstrndup
	subs	r4, r0, #0
	strne	r4, [r8], #4
	bne	.L4
.L20:
	mov	r0, r6
	bl	argv_free
	mov	r6, r4
	b	.L1
	.size	argv_split, .-argv_split
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
