	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rdx
	callq	_getopt
	cmpl	$-1, %eax
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_usage
	movl	%ebx, %edi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_getopt
	cmpl	$-1, %eax
	jne	LBB0_2
LBB0_3:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	subl	%r15d, %ebx
	testl	%ebx, %ebx
	jg	LBB0_5
## %bb.4:
	xorl	%eax, %eax
	callq	_usage
LBB0_5:
	movq	_STDOUT_FILENO@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	callq	_isatty
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	xorl	%eax, %eax
	callq	_dofile
LBB0_7:
	leaq	(%r14,%r15,8), %rbx
	movq	_STDERR_FILENO@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_isatty
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	movl	(%r12), %edi
	movl	(%r14), %esi
	callq	_dup2
	cmpl	$-1, %eax
	jne	LBB0_10
## %bb.9:
	movq	_EXIT_MISC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_err
LBB0_10:
	movq	_SIGHUP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SIG_IGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_signal
	movq	(%rbx), %rdi
	movq	%rbx, %rsi
	callq	_execvp
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.12:
	movq	_EXIT_NOTFOUND@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_11:
	movq	_EXIT_NOEXEC@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edi
	movq	(%rbx), %rdx
	leaq	L_.str.1(%rip), %rsi
	callq	_err
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_optind,8,3                     ## @optind
	.comm	_STDOUT_FILENO,4,2              ## @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ## @STDERR_FILENO
	.comm	_EXIT_MISC,4,2                  ## @EXIT_MISC
L_.str.1:                               ## @.str.1
	.asciz	"%s"

	.comm	_SIGHUP,4,2                     ## @SIGHUP
	.comm	_SIG_IGN,4,2                    ## @SIG_IGN
	.comm	_errno,8,3                      ## @errno
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_EXIT_NOTFOUND,4,2              ## @EXIT_NOTFOUND
	.comm	_EXIT_NOEXEC,4,2                ## @EXIT_NOEXEC
.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:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	bl	_getopt
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
Lloh2:
	adrp	x21, l_.str@PAGE
Lloh3:
	add	x21, x21, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_usage
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	bl	_getopt
	cmn	w0, #1
	b.ne	LBB0_2
LBB0_3:
Lloh4:
	adrp	x8, _optind@GOTPAGE
Lloh5:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh6:
	ldr	x21, [x8]
	sub	w8, w20, w21
	cmp	w8, #0
	b.gt	LBB0_5
; %bb.4:
	bl	_usage
LBB0_5:
	add	x19, x19, x21, lsl #3
Lloh7:
	adrp	x20, _STDOUT_FILENO@GOTPAGE
Lloh8:
	ldr	x20, [x20, _STDOUT_FILENO@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_isatty
	cbz	x0, LBB0_7
; %bb.6:
	bl	_dofile
LBB0_7:
Lloh9:
	adrp	x21, _STDERR_FILENO@GOTPAGE
Lloh10:
	ldr	x21, [x21, _STDERR_FILENO@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_isatty
	cbz	x0, LBB0_10
; %bb.8:
	ldr	w0, [x20]
	ldr	w1, [x21]
	bl	_dup2
	cmn	w0, #1
	b.ne	LBB0_10
; %bb.9:
Lloh11:
	adrp	x8, _EXIT_MISC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EXIT_MISC@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
LBB0_10:
Lloh16:
	adrp	x8, _SIGHUP@GOTPAGE
Lloh17:
	ldr	x8, [x8, _SIGHUP@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
Lloh19:
	adrp	x8, _SIG_IGN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _SIG_IGN@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	bl	_signal
	ldr	x0, [x19]
	mov	x1, x19
	bl	_execvp
Lloh22:
	adrp	x8, _errno@GOTPAGE
Lloh23:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _ENOENT@GOTPAGE
Lloh26:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
Lloh28:
	adrp	x10, _EXIT_NOTFOUND@GOTPAGE
Lloh29:
	ldr	x10, [x10, _EXIT_NOTFOUND@GOTPAGEOFF]
Lloh30:
	adrp	x11, _EXIT_NOEXEC@GOTPAGE
Lloh31:
	ldr	x11, [x11, _EXIT_NOEXEC@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh32:
	adrp	x1, l_.str.1@PAGE
Lloh33:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_err
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_optind,8,3                     ; @optind
	.comm	_STDOUT_FILENO,4,2              ; @STDOUT_FILENO
	.comm	_STDERR_FILENO,4,2              ; @STDERR_FILENO
	.comm	_EXIT_MISC,4,2                  ; @EXIT_MISC
l_.str.1:                               ; @.str.1
	.asciz	"%s"

	.comm	_SIGHUP,4,2                     ; @SIGHUP
	.comm	_SIG_IGN,4,2                    ; @SIG_IGN
	.comm	_errno,8,3                      ; @errno
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_EXIT_NOTFOUND,4,2              ; @EXIT_NOTFOUND
	.comm	_EXIT_NOEXEC,4,2                ; @EXIT_NOEXEC
.subsections_via_symbols
