	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function argv_insert_head__non_empty_argv__head_added
_argv_insert_head__non_empty_argv__head_added: ## @argv_insert_head__non_empty_argv__head_added
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%eax, %eax
	callq	_argv_new
	movl	%eax, -48(%rbp)
	movq	%rdx, -40(%rbp)
	movq	_PATH2@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_argv_printf
	movq	_PATH1@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	%rbx, %rdi
	callq	_argv_insert_head
	movl	%eax, %r14d
	movq	%rdx, %r12
	movl	%eax, -64(%rbp)
	movq	%rdx, -56(%rbp)
	movl	-48(%rbp), %esi
	incl	%esi
	movl	%eax, %edi
	callq	_assert_int_equal
	testl	%r14d, %r14d
	jle	LBB0_4
## %bb.1:
	movl	(%r12), %edi
	movl	(%r15), %esi
	callq	_assert_string_equal
	cmpl	$1, %r14d
	je	LBB0_4
## %bb.2:
	movl	%r14d, %r14d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12,%rbx,4), %edi
	movq	-40(%rbp), %rax
	movl	-4(%rax,%rbx,4), %esi
	callq	_assert_string_equal
	incq	%rbx
	cmpq	%r14, %rbx
	jb	LBB0_3
LBB0_4:
	leaq	-64(%rbp), %rdi
	callq	_argv_reset
	leaq	-48(%rbp), %rdi
	callq	_argv_reset
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_PATH2,4,2                      ## @PATH2
	.comm	_PATH1,4,2                      ## @PATH1
	.no_dead_strip	_argv_insert_head__non_empty_argv__head_added
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function argv_insert_head__non_empty_argv__head_added
_argv_insert_head__non_empty_argv__head_added: ; @argv_insert_head__non_empty_argv__head_added
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	bl	_argv_new
	stp	x0, x1, [sp, #16]
Lloh0:
	adrp	x8, _PATH2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PATH2@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #16
	bl	_argv_printf
Lloh5:
	adrp	x21, _PATH1@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PATH1@GOTPAGEOFF]
	ldr	w1, [x21]
	add	x0, sp, #16
	bl	_argv_insert_head
	mov	x20, x0
	mov	x19, x1
	stp	x0, x1, [sp]
	ldr	w8, [sp, #16]
	add	w1, w8, #1
	bl	_assert_int_equal
	cmp	w20, #1
	b.lt	LBB0_4
; %bb.1:
	ldr	w0, [x19]
	ldr	w1, [x21]
	bl	_assert_string_equal
	mov	x8, #4294967297
	cmp	x8, x20, lsl #32
	b.gt	LBB0_4
; %bb.2:
	mov	x21, #0
	sxtw	x20, w20
	add	x19, x19, #4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x8, x21, #2
	ldr	w0, [x19, x8]
	ldr	x9, [sp, #24]
	ldr	w1, [x9, x8]
	bl	_assert_string_equal
	add	x8, x21, #2
	add	x21, x21, #1
	cmp	x8, x20
	b.lt	LBB0_3
LBB0_4:
	mov	x0, sp
	bl	_argv_reset
	add	x0, sp, #16
	bl	_argv_reset
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_PATH2,4,2                      ; @PATH2
	.comm	_PATH1,4,2                      ; @PATH1
	.no_dead_strip	_argv_insert_head__non_empty_argv__head_added
.subsections_via_symbols
