	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	cmpl	$2, %edi
	jne	LBB0_3
## %bb.1:
	movq	%rsi, %rbx
	xorl	%eax, %eax
	callq	_initEditor
	movq	8(%rbx), %rdi
	callq	_editorSelectSyntaxHighlight
	movq	8(%rbx), %rdi
	callq	_editorOpen
	movq	_STDIN_FILENO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_enableRawMode
	leaq	L_.str.1(%rip), %rdi
	callq	_editorSetStatusMessage
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_editorRefreshScreen
	movl	(%rbx), %edi
	callq	_editorProcessKeypress
	jmp	LBB0_2
LBB0_3:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Usage: kilo <filename>\n"

	.comm	_STDIN_FILENO,4,2               ## @STDIN_FILENO
L_.str.1:                               ## @.str.1
	.asciz	"HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find"

.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
	cmp	w0, #2
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x1
	bl	_initEditor
	ldr	x0, [x19, #8]
	bl	_editorSelectSyntaxHighlight
	ldr	x0, [x19, #8]
	bl	_editorOpen
Lloh0:
	adrp	x19, _STDIN_FILENO@GOTPAGE
Lloh1:
	ldr	x19, [x19, _STDIN_FILENO@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_enableRawMode
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_editorSetStatusMessage
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	bl	_editorRefreshScreen
	ldr	w0, [x19]
	bl	_editorProcessKeypress
	b	LBB0_2
LBB0_3:
Lloh4:
	adrp	x8, _stderr@GOTPAGE
Lloh5:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_exit
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Usage: kilo <filename>\n"

	.comm	_STDIN_FILENO,4,2               ; @STDIN_FILENO
l_.str.1:                               ; @.str.1
	.asciz	"HELP: Ctrl-S = save | Ctrl-Q = quit | Ctrl-F = find"

.subsections_via_symbols
