	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_makeargv                       ## -- Begin function makeargv
	.p2align	4, 0x90
_makeargv:                              ## @makeargv
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_margv@GOTPCREL(%rip), %r13
	movq	(%r13), %rbx
	movq	_line@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_stringbase@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_argbuf@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_argbase@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_slrflag@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_margc@GOTPCREL(%rip), %r15
	movq	_margvlen@GOTPCREL(%rip), %r12
	leaq	L_.str(%rip), %r14
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_8 Depth 2
	movl	%eax, (%r15)
	cmpl	(%r12), %eax
	jne	LBB0_10
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rdi
	leal	160(,%rax,8), %esi
	callq	_realloc
	jmp	LBB0_5
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	$160, %edi
	callq	_malloc
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, (%r13)
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	$1, %edi
	movq	%r14, %rsi
	callq	_errx
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r12), %rcx
	leaq	20(%rcx), %rax
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13), %rdx
	movq	$0, (%rdx,%rcx,8)
	incq	%rcx
	cmpq	%rax, %rcx
	jl	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	%eax, (%r12)
	movslq	(%r15), %rbx
	shlq	$3, %rbx
	addq	(%r13), %rbx
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_slurpstring
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	addq	$8, %rbx
	movl	(%r15), %eax
	incl	%eax
	jmp	LBB0_1
LBB0_12:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_margv,8,3                      ## @margv
	.comm	_line,4,2                       ## @line
	.comm	_stringbase,4,2                 ## @stringbase
	.comm	_argbuf,4,2                     ## @argbuf
	.comm	_argbase,4,2                    ## @argbase
	.comm	_slrflag,8,3                    ## @slrflag
	.comm	_margc,4,2                      ## @margc
	.comm	_margvlen,4,2                   ## @margvlen
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"cannot realloc argv array"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_makeargv                       ; -- Begin function makeargv
	.p2align	2
_makeargv:                              ; @makeargv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	w8, #0
Lloh0:
	adrp	x20, _margv@GOTPAGE
Lloh1:
	ldr	x20, [x20, _margv@GOTPAGEOFF]
	ldr	x23, [x20]
Lloh2:
	adrp	x9, _line@GOTPAGE
Lloh3:
	ldr	x9, [x9, _line@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	adrp	x10, _stringbase@GOTPAGE
Lloh6:
	ldr	x10, [x10, _stringbase@GOTPAGEOFF]
Lloh7:
	str	w9, [x10]
Lloh8:
	adrp	x9, _argbuf@GOTPAGE
Lloh9:
	ldr	x9, [x9, _argbuf@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, _argbase@GOTPAGE
Lloh12:
	ldr	x10, [x10, _argbase@GOTPAGEOFF]
Lloh13:
	str	w9, [x10]
Lloh14:
	adrp	x9, _slrflag@GOTPAGE
Lloh15:
	ldr	x9, [x9, _slrflag@GOTPAGEOFF]
Lloh16:
	str	xzr, [x9]
Lloh17:
	adrp	x21, _margc@GOTPAGE
Lloh18:
	ldr	x21, [x21, _margc@GOTPAGEOFF]
Lloh19:
	adrp	x22, _margvlen@GOTPAGE
Lloh20:
	ldr	x22, [x22, _margvlen@GOTPAGEOFF]
Lloh21:
	adrp	x19, l_.str@PAGE
Lloh22:
	add	x19, x19, l_.str@PAGEOFF
LBB0_1:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	str	w8, [x21]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	cbz	w8, LBB0_10
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x0, [x20]
	lsl	w8, w8, #3
	add	w1, w8, #160
	bl	_realloc
	str	x0, [x20]
	cbnz	x0, LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #1
	mov	x1, x19
	bl	_errx
LBB0_5:                                 ;   in Loop: Header=BB0_1 Depth=1
	ldrsw	x9, [x22]
	add	x8, x9, #20
LBB0_6:                                 ;   Parent Loop BB0_1 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x10, [x20]
	str	xzr, [x10, x9, lsl #3]
	add	x9, x9, #1
	cmp	x9, x8
	b.lt	LBB0_6
; %bb.7:                                ;   in Loop: Header=BB0_1 Depth=1
	str	w8, [x22]
	ldr	x8, [x20]
	ldrsw	x9, [x21]
	add	x23, x8, x9, lsl #3
LBB0_8:                                 ;   in Loop: Header=BB0_1 Depth=1
	bl	_slurpstring
	str	x0, [x23]
	cbz	x0, LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_1 Depth=1
	add	x23, x23, #8
	ldr	w8, [x21]
	add	w8, w8, #1
	b	LBB0_1
LBB0_10:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	w0, #160
	bl	_malloc
	str	x0, [x20]
	cbnz	x0, LBB0_5
	b	LBB0_4
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotStr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotStr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_margv,8,3                      ; @margv
	.comm	_line,4,2                       ; @line
	.comm	_stringbase,4,2                 ; @stringbase
	.comm	_argbuf,4,2                     ; @argbuf
	.comm	_argbase,4,2                    ; @argbase
	.comm	_slrflag,8,3                    ; @slrflag
	.comm	_margc,4,2                      ; @margc
	.comm	_margvlen,4,2                   ; @margvlen
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"cannot realloc argv array"

.subsections_via_symbols
