	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	cmpl	$3, %edi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_error
LBB0_2:
	movq	8(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_fopen
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	8(%r14), %r15
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_error
LBB0_4:
	movq	%rbx, %rdi
	callq	_readline
	testq	%rax, %rax
	jne	LBB0_5
LBB0_12:
	movq	%rbx, %rdi
	callq	_fclose
	movq	16(%r14), %rdi
	callq	_output
	xorl	%edi, %edi
	callq	_exit
LBB0_5:
	movq	_line@GOTPCREL(%rip), %r15
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_parsefield
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%rbx, %rdi
	callq	_readline
	testq	%rax, %rax
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	je	LBB0_11
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$32, %al
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$9, %al
	je	LBB0_9
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=1
	xorl	%eax, %eax
	callq	_parsenode
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"usage: mknodes file"

L_.str.1:                               ## @.str.1
	.asciz	"r"

L_.str.2:                               ## @.str.2
	.asciz	"Can't open %s: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_line,8,3                       ## @line
.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, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cmp	w0, #3
	b.eq	LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
LBB0_2:
	ldr	x0, [x19, #8]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fopen
	mov	x20, x0
	cbnz	x0, LBB0_4
; %bb.3:
	ldr	x21, [x19, #8]
Lloh4:
	adrp	x8, _errno@GOTPAGE
Lloh5:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	bl	_strerror
	stp	x21, x0, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_error
LBB0_4:
	mov	x0, x20
	bl	_readline
	cbnz	x0, LBB0_6
LBB0_5:
	mov	x0, x20
	bl	_fclose
	ldr	x0, [x19, #16]
	bl	_output
	mov	w0, #0
	bl	_exit
LBB0_6:
Lloh9:
	adrp	x21, _line@GOTPAGE
Lloh10:
	ldr	x21, [x21, _line@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	bl	_parsenode
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
	bl	_readline
	cbz	x0, LBB0_5
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21]
	ldrb	w8, [x8]
	cbz	w8, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	cmp	w8, #32
	ccmp	w8, #9, #4, ne
	b.ne	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_parsefield
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"usage: mknodes file"

l_.str.1:                               ; @.str.1
	.asciz	"r"

l_.str.2:                               ; @.str.2
	.asciz	"Can't open %s: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_line,8,3                       ; @line
.subsections_via_symbols
