	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_construct_inferior_arguments   ## -- Begin function construct_inferior_arguments
	.p2align	4, 0x90
_construct_inferior_arguments:          ## @construct_inferior_arguments
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	_STARTUP_WITH_SHELL@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_3
## %bb.1:
	testl	%esi, %esi
	jle	LBB0_2
## %bb.13:
	movl	%esi, %r13d
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%rbx,8), %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	(%r15,%rbx,8), %rcx
	xorl	%edx, %edx
	cmpb	$0, (%rcx)
	sete	%dl
	leal	(%r14,%rax,2), %eax
	leal	(%rax,%rdx,2), %r14d
	incl	%r14d
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_14
## %bb.15:
	movl	%r14d, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	xorl	%r14d, %r14d
	leaq	L_.str(%rip), %r12
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_16 Depth=1
	movw	$10023, (%rbx)                  ## imm = 0x2727
	addq	$2, %rbx
LBB0_23:                                ##   in Loop: Header=BB0_16 Depth=1
	incq	%r14
	cmpq	-48(%rbp), %r14                 ## 8-byte Folded Reload
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_24
LBB0_16:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_20 Depth 2
	testq	%r14, %r14
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	movb	$32, (%rbx)
	incq	%rbx
LBB0_18:                                ##   in Loop: Header=BB0_16 Depth=1
	movq	(%r15,%r14,8), %r13
	movb	(%r13), %r15b
	testb	%r15b, %r15b
	je	LBB0_27
## %bb.19:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%r13
	jmp	LBB0_20
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_20 Depth=2
	movb	%r15b, (%rbx)
	incq	%rbx
	movzbl	(%r13), %r15d
	incq	%r13
	testb	%r15b, %r15b
	je	LBB0_23
LBB0_20:                                ##   Parent Loop BB0_16 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movsbl	%r15b, %esi
	movq	%r12, %rdi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movb	$92, (%rbx)
	incq	%rbx
	movzbl	-1(%r13), %r15d
	jmp	LBB0_22
LBB0_24:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_25
LBB0_3:
	testl	%esi, %esi
	jle	LBB0_2
## %bb.4:
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	xorl	%r14d, %r14d
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15,%r14,8), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$9, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_error
	movq	(%r15,%r14,8), %rbx
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	addl	%eax, %r13d
	incl	%r13d
	incq	%r14
	cmpq	%r14, %r12
	jne	LBB0_5
## %bb.10:
	movl	%r13d, %edi
	callq	_xmalloc
	movq	%rax, %r13
	movb	$0, (%rax)
	movq	(%r15), %rsi
	movq	%rax, %rdi
	callq	_strcat
	cmpl	$1, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
## %bb.11:
	movl	$1, %ebx
	leaq	L_.str.2(%rip), %r14
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_strcat
	movq	(%r15,%rbx,8), %rsi
	movq	%r13, %rdi
	callq	_strcat
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_12
	jmp	LBB0_26
LBB0_2:
	xorl	%edi, %edi
	callq	_xmalloc
	movq	%rax, %rbx
	movq	%rax, %r13
LBB0_25:
	movb	$0, (%rbx)
LBB0_26:
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STARTUP_WITH_SHELL,8,3         ## @STARTUP_WITH_SHELL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\"!#$&*()\\|[]{}<>?'\"`~^; \t\n"

L_.str.1:                               ## @.str.1
	.asciz	"can't handle command-line argument containing whitespace"

L_.str.2:                               ## @.str.2
	.asciz	" "

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_construct_inferior_arguments   ; -- Begin function construct_inferior_arguments
	.p2align	2
_construct_inferior_arguments:          ; @construct_inferior_arguments
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x8, _STARTUP_WITH_SHELL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STARTUP_WITH_SHELL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_14
; %bb.1:
	cmp	w21, #0
	b.le	LBB0_24
; %bb.2:
	mov	w20, #0
	mov	w23, w21
	mov	x21, x23
	mov	x22, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	bl	_strlen
	ldr	x8, [x22], #8
	ldrb	w8, [x8]
	cmp	w8, #0
	cset	w8, eq
	add	w9, w20, w0, lsl #1
	add	w8, w9, w8, lsl #1
	add	w20, w8, #1
	subs	x21, x21, #1
	b.ne	LBB0_3
; %bb.4:
	mov	x0, x20
	bl	_xmalloc
	mov	x20, x0
	mov	x24, #0
Lloh3:
	adrp	x22, l_.str@PAGE
Lloh4:
	add	x22, x22, l_.str@PAGEOFF
	mov	w26, #92
	mov	w27, #32
	mov	x21, x0
	b	LBB0_7
LBB0_5:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, #10023
	strh	w8, [x21], #2
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	cmp	x24, x23
	b.eq	LBB0_25
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
	cbz	x24, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	strb	w27, [x21], #1
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x19, x24, lsl #3]
	ldrb	w25, [x8]
	cbz	w25, LBB0_5
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	add	x28, x8, #1
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	strb	w25, [x21], #1
	ldrb	w25, [x28], #1
	cbz	w25, LBB0_6
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	sxtb	w1, w25
	mov	x0, x22
	bl	_strchr
	cbz	x0, LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	strb	w26, [x21], #1
	ldurb	w25, [x28, #-1]
	b	LBB0_11
LBB0_14:
	cmp	w21, #0
	b.le	LBB0_24
; %bb.15:
	mov	x25, #0
	mov	w20, #0
	mov	w24, w21
	lsl	x26, x24, #3
Lloh5:
	adrp	x22, l_.str.1@PAGE
Lloh6:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x23, [x19, x25]
	mov	x0, x23
	mov	w1, #32
	bl	_strchr
	cbnz	x0, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x23
	mov	w1, #9
	bl	_strchr
	cbnz	x0, LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x23
	mov	w1, #10
	bl	_strchr
	cbz	x0, LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x22
	bl	_error
	ldr	x23, [x19, x25]
LBB0_20:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	x0, x23
	bl	_strlen
	add	w8, w20, w0
	add	w20, w8, #1
	add	x25, x25, #8
	cmp	x26, x25
	b.ne	LBB0_16
; %bb.21:
	mov	x0, x20
	bl	_xmalloc
	mov	x20, x0
	strb	wzr, [x0]
	ldr	x1, [x19]
	bl	_strcat
	cmp	w21, #1
	b.eq	LBB0_26
; %bb.22:
	add	x21, x19, #8
	sub	x22, x24, #1
Lloh7:
	adrp	x19, l_.str.2@PAGE
Lloh8:
	add	x19, x19, l_.str.2@PAGEOFF
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	bl	_strcat
	ldr	x1, [x21], #8
	mov	x0, x20
	bl	_strcat
	subs	x22, x22, #1
	b.ne	LBB0_23
	b	LBB0_26
LBB0_24:
	mov	w0, #0
	bl	_xmalloc
	mov	x21, x0
	mov	x20, x0
LBB0_25:
	strb	wzr, [x21]
LBB0_26:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STARTUP_WITH_SHELL,8,3         ; @STARTUP_WITH_SHELL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\"!#$&*()\\|[]{}<>?'\"`~^; \t\n"

l_.str.1:                               ; @.str.1
	.asciz	"can't handle command-line argument containing whitespace"

l_.str.2:                               ; @.str.2
	.asciz	" "

.subsections_via_symbols
