	.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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rsi), %rax
	movq	_progname@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	cmpl	$2, %edi
	je	LBB0_1
## %bb.4:
	jle	LBB0_8
## %bb.5:
	movl	%edi, %r14d
	movq	8(%rbx), %rax
	movq	_nexus@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movb	1(%rax), %al
	addb	$-48, %al
	movq	_chip_id@GOTPCREL(%rip), %rcx
	movb	%al, (%rcx)
	addl	$-2, %r14d
	addq	$16, %rbx
	cmpl	$1, %r14d
	jne	LBB0_7
## %bb.6:
	movq	(%rbx), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
LBB0_7:
	movl	%r14d, %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_run_cmd                        ## TAILCALL
LBB0_9:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_run_cmd_loop                   ## TAILCALL
LBB0_1:
	movq	8(%rbx), %rbx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	jne	LBB0_8
LBB0_3:
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
	xorl	%edi, %edi
	callq	_exit
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_usage
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_progname,8,3                   ## @progname
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-h"

L_.str.1:                               ## @.str.1
	.asciz	"--help"

	.comm	_stdout,4,2                     ## @stdout
	.comm	_stderr,4,2                     ## @stderr
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_nexus,8,3                      ## @nexus
	.comm	_chip_id,1,0                    ## @chip_id
L_.str.2:                               ## @.str.2
	.asciz	"stdio"

.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	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _progname@GOTPAGE
Lloh1:
	ldr	x9, [x9, _progname@GOTPAGEOFF]
Lloh2:
	str	x8, [x9]
	subs	w19, w0, #2
	b.eq	LBB0_6
; %bb.1:
	b.le	LBB0_9
; %bb.2:
	ldr	x8, [x1, #8]
Lloh3:
	adrp	x9, _nexus@GOTPAGE
Lloh4:
	ldr	x9, [x9, _nexus@GOTPAGEOFF]
Lloh5:
	str	x8, [x9]
	ldrb	w8, [x8, #1]
	sub	w8, w8, #48
Lloh6:
	adrp	x9, _chip_id@GOTPAGE
Lloh7:
	ldr	x9, [x9, _chip_id@GOTPAGEOFF]
Lloh8:
	strb	w8, [x9]
	add	x20, x1, #16
	cmp	w19, #1
	b.ne	LBB0_4
; %bb.3:
	ldr	x0, [x20]
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_5
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_run_cmd
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_run_cmd_loop
LBB0_6:
	ldr	x19, [x1, #8]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.7:
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbnz	w0, LBB0_9
LBB0_8:
Lloh15:
	adrp	x8, _stdout@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_usage
	mov	w0, #0
	bl	_exit
LBB0_9:
Lloh18:
	adrp	x8, _stderr@GOTPAGE
Lloh19:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_usage
Lloh21:
	adrp	x8, _EINVAL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_progname,8,3                   ; @progname
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-h"

l_.str.1:                               ; @.str.1
	.asciz	"--help"

	.comm	_stdout,4,2                     ; @stdout
	.comm	_stderr,4,2                     ; @stderr
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_nexus,8,3                      ; @nexus
	.comm	_chip_id,1,0                    ; @chip_id
l_.str.2:                               ; @.str.2
	.asciz	"stdio"

.subsections_via_symbols
