	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	$-1, %r12d
	movl	$37, -80(%rbp)                  ## 4-byte Folded Spill
	leaq	L_.str(%rip), %r14
	leaq	LJTI0_0(%rip), %r13
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%r15d, %edi
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%edi, %r15d
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_getopt
                                        ## kill: def $eax killed $eax def $rax
	incl	%eax
	cmpl	$101, %eax
	ja	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r13,%rax,4), %rax
	addq	%r13, %rax
	jmpq	*%rax
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %r12d
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optopt@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	addl	$-48, %r12d
	jmp	LBB0_2
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movzbl	(%rcx), %eax
	testb	%al, %al
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$0, 1(%rcx)
	je	LBB0_8
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_errx
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movzbl	(%rax), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movsbl	%al, %eax
	movl	%eax, -80(%rbp)                 ## 4-byte Spill
	jmp	LBB0_2
LBB0_1:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_2
LBB0_13:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%r15d, %ecx
	subl	%eax, %ecx
	leaq	(%rbx,%rax,8), %r15
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	cmpl	$1, %ecx
	jg	LBB0_15
## %bb.14:
	xorl	%eax, %eax
	callq	_usage
LBB0_15:
	movq	(%r15), %rbx
	xorl	%r13d, %r13d
	cmpb	$0, (%rbx)
	jne	LBB0_16
LBB0_20:
	leaq	L_.str.3(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	jne	LBB0_21
## %bb.22:
	movq	__PATH_BSHELL@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	jmp	LBB0_23
LBB0_16:
	xorl	%r13d, %r13d
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpb	$0, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_20
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_ISMAGICNO
	testq	%rax, %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movsbl	1(%rbx), %eax
	incq	%rbx
	addl	$-48, %eax
	cmpl	%r13d, %eax
	cmovgl	%eax, %r13d
	jmp	LBB0_19
LBB0_21:
	movq	%rax, %rdi
LBB0_23:
	callq	_strdup
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_25
## %bb.24:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_25:
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	leaq	1(%rax), %rcx
	testq	%rax, %rax
	cmoveq	%rbx, %rcx
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	(%r15), %rdi
	testl	%r13d, %r13d
	movq	%rbx, -96(%rbp)                 ## 8-byte Spill
	jne	LBB0_32
## %bb.26:
	callq	_strlen
	movslq	%eax, %r14
	addq	$28, %r14
	movq	%r14, %rdi
	callq	_malloc
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_28
## %bb.27:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_28:
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	callq	_strlcpy
	cmpl	$-1, %r12d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %ebx
	cmovel	%ebx, %r12d
	movl	%r12d, -56(%rbp)                ## 4-byte Spill
	testl	%r12d, %r12d
	movl	-80(%rbp), %r12d                ## 4-byte Reload
	movq	%r14, -88(%rbp)                 ## 8-byte Spill
	jle	LBB0_31
## %bb.29:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %r14d
	negl	%r14d
	leaq	-108(%rbp), %r13
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	$4, %esi
	leaq	L_.str.5(%rip), %rdx
	movl	%r12d, %ecx
	movl	%ebx, %r8d
	callq	_snprintf
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	movq	-88(%rbp), %rdx                 ## 8-byte Reload
	callq	_strlcat
	leal	(%r14,%rbx), %eax
	incl	%eax
	movl	%ebx, %ecx
	incl	%ecx
	movl	%ecx, %ebx
	cmpl	$1, %eax
	jne	LBB0_30
LBB0_31:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movl	$1, %r13d
	cmovnel	%eax, %r13d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_35
LBB0_32:
	callq	_strdup
	testq	%rax, %rax
	jne	LBB0_33
## %bb.34:
	xorl	%ebx, %ebx
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
	jmp	LBB0_35
LBB0_33:
	movq	%rax, %rcx
	movq	%rax, %rbx
LBB0_35:
	movq	_SBUF_AUTOEXTEND@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_sbuf_new
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_37
## %bb.36:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_err
LBB0_37:
	movq	__SC_ARG_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_sysconf
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	%r13d, %ecx
	movl	%r13d, -88(%rbp)                ## 4-byte Spill
	jle	LBB0_53
## %bb.38:
	movq	%rax, %r12
	movslq	%r13d, %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_E2BIG@GOTPCREL(%rip), %r13
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_39
	.p2align	4, 0x90
LBB0_51:                                ##   in Loop: Header=BB0_39 Depth=1
	movq	%rax, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	callq	_exec_shell
	testq	%rax, %rax
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, %ecx
	cmovnel	%ecx, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
LBB0_52:                                ##   in Loop: Header=BB0_39 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movl	-88(%rbp), %eax                 ## 4-byte Reload
	subl	%eax, %ecx
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	leaq	(%r15,%rdx,8), %r15
	cmpl	%eax, %ecx
	jle	LBB0_53
LBB0_39:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_41 Depth 2
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%r14, %rdi
	callq	_sbuf_clear
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_sbuf_cat
	cmpb	$0, (%rbx)
	je	LBB0_49
## %bb.40:                              ##   in Loop: Header=BB0_39 Depth=1
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_48:                                ##   in Loop: Header=BB0_41 Depth=2
	cmpb	$0, 1(%rbx)
	leaq	1(%rbx), %rbx
	je	LBB0_49
LBB0_41:                                ##   Parent Loop BB0_39 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_ISMAGICNO
	testq	%rax, %rax
	je	LBB0_43
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=2
	movsbq	1(%rbx), %rax
	incq	%rbx
	movq	-384(%r15,%rax,8), %rsi
	movq	%r14, %rdi
	callq	_sbuf_cat
	cmpl	$-1, %eax
	jne	LBB0_46
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=2
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, %edi
	leaq	L_.str.7(%rip), %rdx
	callq	_errc
LBB0_46:                                ##   in Loop: Header=BB0_41 Depth=2
	movq	%r14, %rdi
	callq	_sbuf_len
	cmpq	%r12, %rax
	jle	LBB0_48
## %bb.47:                              ##   in Loop: Header=BB0_41 Depth=2
	movl	(%r13), %esi
	movl	$1, %edi
	xorl	%edx, %edx
	callq	_errc
	jmp	LBB0_48
	.p2align	4, 0x90
LBB0_43:                                ##   in Loop: Header=BB0_41 Depth=2
	movsbl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_sbuf_putc
	cmpl	$-1, %eax
	jne	LBB0_46
	jmp	LBB0_45
	.p2align	4, 0x90
LBB0_49:                                ##   in Loop: Header=BB0_39 Depth=1
	movq	%r14, %rdi
	callq	_sbuf_finish
	movq	%r14, %rdi
	callq	_sbuf_data
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_51
## %bb.50:                              ##   in Loop: Header=BB0_39 Depth=1
	leaq	L_.str.8(%rip), %rdi
	movq	%rax, %rsi
	callq	_printf
	jmp	LBB0_52
LBB0_53:
	cmpl	$1, %ecx
	je	LBB0_55
## %bb.54:
	cmpl	-88(%rbp), %ecx                 ## 4-byte Folded Reload
	leaq	L_.str.11(%rip), %rax
	leaq	L_.str.10(%rip), %rdx
	cmoveq	%rax, %rdx
	movslq	%ecx, %rax
	movq	-8(%r15,%rax,8), %rcx
	leaq	L_.str.9(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_55:
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_sbuf_delete
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
LJTI0_0:
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_5
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_1
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"a:d0123456789"

	.comm	_optarg,8,3                     ## @optarg
L_.str.1:                               ## @.str.1
	.asciz	"illegal magic character specification"

L_.str.2:                               ## @.str.2
	.asciz	"only one -# argument may be specified"

	.comm	_optopt,4,2                     ## @optopt
	.comm	_optind,8,3                     ## @optind
L_.str.3:                               ## @.str.3
	.asciz	"SHELL"

	.comm	__PATH_BSHELL,8,3               ## @_PATH_BSHELL
L_.str.4:                               ## @.str.4
	.asciz	"strdup() failed"

L_.str.5:                               ## @.str.5
	.asciz	" %c%d"

	.comm	_SBUF_AUTOEXTEND,4,2            ## @SBUF_AUTOEXTEND
	.comm	__SC_ARG_MAX,4,2                ## @_SC_ARG_MAX
L_.str.6:                               ## @.str.6
	.asciz	"exec "

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.7:                               ## @.str.7
	.asciz	"sbuf"

	.comm	_E2BIG,4,2                      ## @E2BIG
L_.str.8:                               ## @.str.8
	.asciz	"%s\n"

L_.str.9:                               ## @.str.9
	.asciz	"expecting additional argument%s after \"%s\""

L_.str.10:                              ## @.str.10
	.asciz	"s"

L_.str.11:                              ## @.str.11
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x1
	mov	x20, x0
	str	wzr, [sp, #56]                  ; 4-byte Folded Spill
	mov	w27, #-1
	mov	w22, #37
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
Lloh2:
	adrp	x25, lJTI0_0@PAGE
Lloh3:
	add	x25, x25, lJTI0_0@PAGEOFF
Lloh4:
	adrp	x26, _optopt@GOTPAGE
Lloh5:
	ldr	x26, [x26, _optopt@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str.2@PAGE
Lloh7:
	add	x23, x23, l_.str.2@PAGEOFF
Lloh8:
	adrp	x28, _optarg@GOTPAGE
Lloh9:
	ldr	x28, [x28, _optarg@GOTPAGEOFF]
Lloh10:
	adrp	x24, l_.str.1@PAGE
Lloh11:
	add	x24, x24, l_.str.1@PAGEOFF
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	bl	_usage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	add	w8, w0, #1
	cmp	w8, #101
	b.hi	LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	adr	x9, LBB0_1
	ldrb	w10, [x25, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	cmn	w27, #1
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	mov	x1, x23
	bl	_errx
LBB0_6:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x26]
	sub	w27, w8, #48
	b	LBB0_2
LBB0_7:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	x9, [x28]
	ldrb	w8, [x9]
	cbz	w8, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w9, [x9, #1]
	cbz	w9, LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_2 Depth=1
	mov	w0, #1
	mov	x1, x24
	bl	_errx
	ldr	x8, [x28]
	ldrb	w8, [x8]
LBB0_10:                                ;   in Loop: Header=BB0_2 Depth=1
	sxtb	w22, w8
	b	LBB0_2
LBB0_11:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	w8, #1
	str	w8, [sp, #56]                   ; 4-byte Folded Spill
	b	LBB0_2
LBB0_12:
Lloh12:
	adrp	x8, _optind@GOTPAGE
Lloh13:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	sub	w26, w20, w8
	add	x20, x19, x8, lsl #3
	cmp	w26, #1
	b.gt	LBB0_14
; %bb.13:
	bl	_usage
LBB0_14:
	ldr	x19, [x20]
	ldrb	w8, [x19]
	cbnz	w8, LBB0_27
; %bb.15:
	mov	w25, #0
LBB0_16:
Lloh15:
	adrp	x0, l_.str.3@PAGE
Lloh16:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_getenv
	cbnz	x0, LBB0_18
; %bb.17:
Lloh17:
	adrp	x8, __PATH_BSHELL@GOTPAGE
Lloh18:
	ldr	x8, [x8, __PATH_BSHELL@GOTPAGEOFF]
Lloh19:
	ldr	x0, [x8]
LBB0_18:
	bl	_strdup
	mov	x19, x0
	cbnz	x0, LBB0_20
; %bb.19:
Lloh20:
	adrp	x1, l_.str.4@PAGE
Lloh21:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_20:
	mov	x0, x19
	mov	w1, #47
	bl	_strrchr
	cmp	x0, #0
	csinc	x8, x19, x0, eq
	stp	x8, x19, [sp, #24]              ; 16-byte Folded Spill
	ldr	x0, [x20]
	cbnz	w25, LBB0_31
; %bb.21:
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	add	x23, x8, #28
	mov	x0, x23
	bl	_malloc
	mov	x21, x0
	cbnz	x0, LBB0_23
; %bb.22:
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_23:
	ldr	x1, [x20]
	mov	x0, x21
	mov	x2, x23
	bl	_strlcpy
	cmn	w27, #1
	csinc	w19, w27, wzr, ne
	cmp	w19, #1
	b.lt	LBB0_26
; %bb.24:
	mov	w24, #0
Lloh22:
	adrp	x25, l_.str.5@PAGE
Lloh23:
	add	x25, x25, l_.str.5@PAGEOFF
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	add	w24, w24, #1
	add	x0, sp, #60
	mov	w1, #4
	mov	x2, x25
	mov	x3, x22
	mov	x4, x24
	bl	_snprintf
	add	x1, sp, #60
	mov	x0, x21
	mov	x2, x23
	bl	_strlcat
	cmp	w19, w24
	b.ne	LBB0_25
LBB0_26:
	cmp	w19, #0
	csinc	w25, w19, wzr, ne
	b	LBB0_33
LBB0_27:
	mov	w25, #0
	b	LBB0_29
LBB0_28:                                ;   in Loop: Header=BB0_29 Depth=1
	ldrb	w8, [x19, #1]!
	cbz	w8, LBB0_16
LBB0_29:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_ISMAGICNO
	cbz	x0, LBB0_28
; %bb.30:                               ;   in Loop: Header=BB0_29 Depth=1
	ldrsb	w8, [x19, #1]!
	sub	w8, w8, #48
	cmp	w8, w25
	csel	w25, w8, w25, gt
	b	LBB0_28
LBB0_31:
	bl	_strdup
	mov	x21, x0
	cbnz	x0, LBB0_33
; %bb.32:
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_33:
Lloh24:
	adrp	x8, _SBUF_AUTOEXTEND@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SBUF_AUTOEXTEND@GOTPAGEOFF]
Lloh26:
	ldr	w3, [x8]
	mov	x0, #0
	mov	x1, #0
	mov	w2, #1024
	bl	_sbuf_new
	mov	x22, x0
	cbnz	x0, LBB0_35
; %bb.34:
	mov	w0, #1
	mov	x1, #0
	bl	_err
LBB0_35:
Lloh27:
	adrp	x8, __SC_ARG_MAX@GOTPAGE
Lloh28:
	ldr	x8, [x8, __SC_ARG_MAX@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	bl	_sysconf
	cmp	w26, w25
	b.le	LBB0_50
; %bb.36:
	mov	x24, x0
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
	sxtw	x8, w25
	str	x8, [sp, #48]                   ; 8-byte Folded Spill
Lloh30:
	adrp	x23, _ENOMEM@GOTPAGE
Lloh31:
	ldr	x23, [x23, _ENOMEM@GOTPAGEOFF]
Lloh32:
	adrp	x19, _E2BIG@GOTPAGE
Lloh33:
	ldr	x19, [x19, _E2BIG@GOTPAGEOFF]
Lloh34:
	adrp	x27, l_.str.7@PAGE
Lloh35:
	add	x27, x27, l_.str.7@PAGEOFF
	b	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_39 Depth=1
	mov	x0, x1
	ldp	x2, x1, [sp, #24]               ; 16-byte Folded Reload
	bl	_exec_shell
	cmp	x0, #0
	ldr	w8, [sp, #44]                   ; 4-byte Folded Reload
	csinc	w8, w8, wzr, eq
	str	w8, [sp, #44]                   ; 4-byte Folded Spill
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=1
	ldr	x8, [sp, #48]                   ; 8-byte Folded Reload
	add	x20, x20, x8, lsl #3
	sub	w26, w26, w25
	cmp	w26, w25
	b.le	LBB0_51
LBB0_39:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_42 Depth 2
	mov	x0, x22
	bl	_sbuf_clear
	mov	x0, x22
Lloh36:
	adrp	x1, l_.str.6@PAGE
Lloh37:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_sbuf_cat
	ldrb	w8, [x21]
	cbz	w8, LBB0_48
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=1
	mov	x28, x21
	b	LBB0_42
LBB0_41:                                ;   in Loop: Header=BB0_42 Depth=2
	ldrb	w8, [x28, #1]!
	cbz	w8, LBB0_48
LBB0_42:                                ;   Parent Loop BB0_39 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x28
	bl	_ISMAGICNO
	cbz	x0, LBB0_47
; %bb.43:                               ;   in Loop: Header=BB0_42 Depth=2
	ldrsb	x8, [x28, #1]!
	add	x8, x20, x8, lsl #3
	sub	x8, x8, #384
	ldr	x1, [x8]
	mov	x0, x22
	bl	_sbuf_cat
	cmn	w0, #1
	b.ne	LBB0_45
LBB0_44:                                ;   in Loop: Header=BB0_42 Depth=2
	ldr	w1, [x23]
	mov	w0, #1
	mov	x2, x27
	bl	_errc
LBB0_45:                                ;   in Loop: Header=BB0_42 Depth=2
	mov	x0, x22
	bl	_sbuf_len
	cmp	x0, x24
	b.le	LBB0_41
; %bb.46:                               ;   in Loop: Header=BB0_42 Depth=2
	ldr	w1, [x19]
	mov	w0, #1
	mov	x2, #0
	bl	_errc
	b	LBB0_41
LBB0_47:                                ;   in Loop: Header=BB0_42 Depth=2
	ldrsb	w1, [x28]
	mov	x0, x22
	bl	_sbuf_putc
	cmn	w0, #1
	b.ne	LBB0_45
	b	LBB0_44
LBB0_48:                                ;   in Loop: Header=BB0_39 Depth=1
	mov	x0, x22
	bl	_sbuf_finish
	mov	x0, x22
	bl	_sbuf_data
	mov	x1, x0
	ldr	w8, [sp, #56]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_37
; %bb.49:                               ;   in Loop: Header=BB0_39 Depth=1
Lloh38:
	adrp	x0, l_.str.8@PAGE
Lloh39:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_printf
	b	LBB0_38
LBB0_50:
	str	wzr, [sp, #44]                  ; 4-byte Folded Spill
LBB0_51:
	subs	w8, w26, #1
	b.eq	LBB0_53
; %bb.52:
Lloh40:
	adrp	x9, l_.str.10@PAGE
Lloh41:
	add	x9, x9, l_.str.10@PAGEOFF
Lloh42:
	adrp	x10, l_.str.11@PAGE
Lloh43:
	add	x10, x10, l_.str.11@PAGEOFF
	cmp	w26, w25
	csel	x9, x10, x9, eq
	ldr	x8, [x20, w8, sxtw #3]
	stp	x9, x8, [sp]
Lloh44:
	adrp	x1, l_.str.9@PAGE
Lloh45:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_53:
	mov	x0, x21
	bl	_free
	mov	x0, x22
	bl	_sbuf_delete
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	bl	_free
	ldr	w0, [sp, #44]                   ; 4-byte Folded Reload
	bl	_exit
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_4-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"a:d0123456789"

	.comm	_optarg,8,3                     ; @optarg
l_.str.1:                               ; @.str.1
	.asciz	"illegal magic character specification"

l_.str.2:                               ; @.str.2
	.asciz	"only one -# argument may be specified"

	.comm	_optopt,4,2                     ; @optopt
	.comm	_optind,8,3                     ; @optind
l_.str.3:                               ; @.str.3
	.asciz	"SHELL"

	.comm	__PATH_BSHELL,8,3               ; @_PATH_BSHELL
l_.str.4:                               ; @.str.4
	.asciz	"strdup() failed"

l_.str.5:                               ; @.str.5
	.asciz	" %c%d"

	.comm	_SBUF_AUTOEXTEND,4,2            ; @SBUF_AUTOEXTEND
	.comm	__SC_ARG_MAX,4,2                ; @_SC_ARG_MAX
l_.str.6:                               ; @.str.6
	.asciz	"exec "

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.7:                               ; @.str.7
	.asciz	"sbuf"

	.comm	_E2BIG,4,2                      ; @E2BIG
l_.str.8:                               ; @.str.8
	.asciz	"%s\n"

l_.str.9:                               ; @.str.9
	.asciz	"expecting additional argument%s after \"%s\""

l_.str.10:                              ; @.str.10
	.asciz	"s"

l_.str.11:                              ; @.str.11
	.space	1

.subsections_via_symbols
