	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_createleaves                   ## -- Begin function createleaves
	.p2align	4, 0x90
_createleaves:                          ## @createleaves
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_command@GOTPCREL(%rip), %rax
	cmpb	$82, (%rax)
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	callq	_vprintf
	jmp	LBB0_3
LBB0_2:
	leaq	L_.str.1(%rip), %rsi
	callq	_vprintf
	movq	_volno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rdi
	callq	_dumpsymtable
LBB0_3:
	movq	_UFS_ROOTINO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_lowerbnd
	movq	%rax, %r14
	movq	_curfile@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	_maxino@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_21
## %bb.4:
	movq	_volno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movq	_EXTRACT@GOTPCREL(%rip), %r12
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%rbx, %rdi
	callq	_myname
	movl	%r13d, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %eax
	movq	_NEW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, (%rbx)
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	_lowerbnd
	movq	%rax, %r14
	movq	(%r15), %rcx
	cmpq	%rcx, %rax
	jge	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_lookupino
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.2(%rip), %rdi
	movl	%r14d, %esi
	xorl	%eax, %eax
	callq	_panic
	jmp	LBB0_8
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rcx, %r14
	jne	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r14, %rdi
	callq	_lookupino
	movq	%rax, %r13
	testq	%rax, %rax
	jne	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_panic
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	(%r13), %eax
	movl	(%r12), %ecx
	movq	_NEW@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	testl	%eax, %edx
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_5 Depth=1
	testl	%eax, %ecx
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_removeleaf
	movq	_REMOVED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r13)
LBB0_17:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	callq	_myname
	movq	%rax, %rdi
	callq	_extractfile
	movl	(%r12), %eax
	movq	_NEW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, (%r13)
	jmp	LBB0_18
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movslq	%r14d, %rdx
	leaq	L_.str.4(%rip), %rsi
                                        ## kill: def $ecx killed $ecx killed $rcx
	xorl	%eax, %eax
	callq	_fprintf
	xorl	%eax, %eax
	callq	_skipfile
LBB0_18:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_volno@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	cmpq	%rsi, -48(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_dumpsymtable
	xorl	%eax, %eax
	callq	_skipmaps
	movq	_volno@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
LBB0_20:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%r15), %rax
	movq	_maxino@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_5
	jmp	LBB0_21
LBB0_14:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	callq	_badentry
	movl	(%r13), %eax
	movl	(%r12), %ecx
	testl	%eax, %ecx
	jne	LBB0_16
	jmp	LBB0_17
LBB0_21:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_command,1,0                    ## @command
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Continue extraction of new leaves\n"

L_.str.1:                               ## @.str.1
	.asciz	"Extract new leaves.\n"

	.comm	_volno,8,3                      ## @volno
	.comm	_UFS_ROOTINO,8,3                ## @UFS_ROOTINO
	.comm	_curfile,8,3                    ## @curfile
	.comm	_maxino,8,3                     ## @maxino
L_.str.2:                               ## @.str.2
	.asciz	"%ju: bad first\n"

	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"%s: not found on tape\n"

	.comm	_NEW,4,2                        ## @NEW
	.comm	_EXTRACT,4,2                    ## @EXTRACT
L_.str.4:                               ## @.str.4
	.asciz	"expected next file %ju, got %ju\n"

L_.str.5:                               ## @.str.5
	.asciz	"unknown file on tape\n"

L_.str.6:                               ## @.str.6
	.asciz	"unexpected file on tape"

	.comm	_REMOVED,4,2                    ## @REMOVED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_createleaves                   ; -- Begin function createleaves
	.p2align	2
_createleaves:                          ; @createleaves
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x27, x0
Lloh0:
	adrp	x8, _command@GOTPAGE
Lloh1:
	ldr	x8, [x8, _command@GOTPAGEOFF]
	ldrb	w8, [x8]
Lloh2:
	adrp	x9, _stdout@GOTPAGE
Lloh3:
	ldr	x9, [x9, _stdout@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x9]
Lloh5:
	adrp	x28, _volno@GOTPAGE
Lloh6:
	ldr	x28, [x28, _volno@GOTPAGEOFF]
	cmp	w8, #82
	b.ne	LBB0_2
; %bb.1:
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vprintf
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_vprintf
	ldr	x1, [x28]
	mov	x0, x27
	bl	_dumpsymtable
LBB0_3:
Lloh11:
	adrp	x8, _UFS_ROOTINO@GOTPAGE
Lloh12:
	ldr	x8, [x8, _UFS_ROOTINO@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
	bl	_lowerbnd
Lloh14:
	adrp	x23, _curfile@GOTPAGE
Lloh15:
	ldr	x23, [x23, _curfile@GOTPAGEOFF]
	ldr	x8, [x23]
Lloh16:
	adrp	x9, _maxino@GOTPAGE
Lloh17:
	ldr	x9, [x9, _maxino@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_23
; %bb.4:
	mov	x20, x0
	ldr	x8, [x28]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
Lloh19:
	adrp	x21, l_.str.2@PAGE
Lloh20:
	add	x21, x21, l_.str.2@PAGEOFF
Lloh21:
	adrp	x25, _stderr@GOTPAGE
Lloh22:
	ldr	x25, [x25, _stderr@GOTPAGEOFF]
Lloh23:
	adrp	x22, l_.str.3@PAGE
Lloh24:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh25:
	adrp	x19, _NEW@GOTPAGE
Lloh26:
	ldr	x19, [x19, _NEW@GOTPAGEOFF]
Lloh27:
	adrp	x24, _EXTRACT@GOTPAGE
Lloh28:
	ldr	x24, [x24, _EXTRACT@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23]
Lloh29:
	adrp	x9, _maxino@GOTPAGE
Lloh30:
	ldr	x9, [x9, _maxino@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_23
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	mov	x0, x20
	bl	_lowerbnd
	mov	x20, x0
	ldr	x8, [x23]
	cmp	x0, x8
	b.ge	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x28, x27
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=2
	ldr	w27, [x25]
	mov	x0, x26
	bl	_myname
	mov	x2, x0
	mov	x0, x27
	mov	x1, x22
	bl	_fprintf
	ldr	w8, [x19]
	ldr	w9, [x24]
	orr	w8, w9, w8
	ldr	w9, [x26]
	bic	w8, w9, w8
	str	w8, [x26]
	mov	x0, x20
	bl	_lowerbnd
	mov	x20, x0
	ldr	x8, [x23]
	cmp	x0, x8
	b.ge	LBB0_11
LBB0_9:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
	bl	_lookupino
	mov	x26, x0
	cbnz	x0, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	str	x20, [sp]
	mov	x0, x21
	bl	_panic
	b	LBB0_8
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x27, x28
Lloh32:
	adrp	x28, _volno@GOTPAGE
Lloh33:
	ldr	x28, [x28, _volno@GOTPAGEOFF]
LBB0_12:                                ;   in Loop: Header=BB0_6 Depth=1
	cmp	x20, x8
	b.ne	LBB0_19
; %bb.13:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x20
	bl	_lookupino
	mov	x26, x0
	cbnz	x0, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_6 Depth=1
Lloh34:
	adrp	x0, l_.str.5@PAGE
Lloh35:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_panic
LBB0_15:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x26]
	ldr	w10, [x19]
	ldr	w9, [x24]
	orr	w10, w9, w10
	tst	w10, w8
	b.eq	LBB0_22
; %bb.16:                               ;   in Loop: Header=BB0_6 Depth=1
	tst	w9, w8
	b.eq	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_removeleaf
Lloh36:
	adrp	x8, _REMOVED@GOTPAGE
Lloh37:
	ldr	x8, [x8, _REMOVED@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	ldr	w9, [x26]
	bic	w8, w9, w8
	str	w8, [x26]
LBB0_18:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
	bl	_myname
	bl	_extractfile
	ldr	w8, [x19]
	ldr	w9, [x24]
	orr	w8, w9, w8
	ldr	w9, [x26]
	bic	w8, w9, w8
	str	w8, [x26]
	b	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x25]
	sxtw	x2, w20
	str	x8, [sp]
Lloh39:
	adrp	x1, l_.str.4@PAGE
Lloh40:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_fprintf
	bl	_skipfile
LBB0_20:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x1, [x28]
	ldr	x8, [sp, #8]                    ; 8-byte Folded Reload
	cmp	x8, x1
	b.eq	LBB0_5
; %bb.21:                               ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x27
	bl	_dumpsymtable
	bl	_skipmaps
	ldr	x8, [x28]
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	b	LBB0_5
LBB0_22:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x26
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_badentry
	ldr	w8, [x26]
	ldr	w9, [x24]
	tst	w9, w8
	b.ne	LBB0_17
	b	LBB0_18
LBB0_23:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_command,1,0                    ; @command
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Continue extraction of new leaves\n"

l_.str.1:                               ; @.str.1
	.asciz	"Extract new leaves.\n"

	.comm	_volno,8,3                      ; @volno
	.comm	_UFS_ROOTINO,8,3                ; @UFS_ROOTINO
	.comm	_curfile,8,3                    ; @curfile
	.comm	_maxino,8,3                     ; @maxino
l_.str.2:                               ; @.str.2
	.asciz	"%ju: bad first\n"

	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"%s: not found on tape\n"

	.comm	_NEW,4,2                        ; @NEW
	.comm	_EXTRACT,4,2                    ; @EXTRACT
l_.str.4:                               ; @.str.4
	.asciz	"expected next file %ju, got %ju\n"

l_.str.5:                               ; @.str.5
	.asciz	"unknown file on tape\n"

l_.str.6:                               ; @.str.6
	.asciz	"unexpected file on tape"

	.comm	_REMOVED,4,2                    ; @REMOVED
.subsections_via_symbols
