	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_createfiles                    ## -- Begin function createfiles
	.p2align	4, 0x90
_createfiles:                           ## @createfiles
	.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	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_vprintf
	movq	_SKIP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_curfile@GOTPCREL(%rip), %r12
	movq	%rax, 8(%r12)
	movl	$1, %edi
	callq	_getvol
	xorl	%eax, %eax
	callq	_skipmaps
	xorl	%eax, %eax
	callq	_skipdirs
	movq	_UFS_ROOTINO@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_lowerbnd
	movq	%rax, %r15
	movq	_maxino@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	decq	%rdi
	callq	_upperbnd
	movq	%rax, %rbx
	movq	_volno@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	movq	%rax, %r15
	callq	_lowerbnd
	movq	%rbx, %rdi
	movq	%rax, %rbx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_skipfile
LBB0_7:                                 ##   in Loop: Header=BB0_1 Depth=1
	movl	(%r15), %r14d
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_lowerbnd
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_15 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	callq	_upperbnd
	cmpq	%rax, %rbx
	jg	LBB0_8
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_Dflag@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	movq	(%r12), %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpq	(%r13), %rdi
	je	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_lookupino
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	movq	_EXTRACT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_NEW@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	testl	%eax, (%rbx)
	jne	LBB0_28
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %rcx
	cmpq	%rax, %rdi
	jle	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rcx, %rdi
	jge	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	$2, (%r15)
	jl	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_SKIP@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%r12)
	xorl	%edi, %edi
	callq	_getvol
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rcx, %rdi
	jge	LBB0_20
## %bb.14:                              ##   in Loop: Header=BB0_1 Depth=1
	callq	_lowerbnd
	movq	%rax, %rbx
	.p2align	4, 0x90
LBB0_15:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r12), %rdi
	movl	(%r15), %ecx
	cmpl	%r14d, %ecx
	sete	%al
	cmpq	%rdi, %rbx
	jle	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=2
	cmpl	%r14d, %ecx
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=2
	xorl	%eax, %eax
	callq	_skipfile
	jmp	LBB0_15
LBB0_18:                                ##   in Loop: Header=BB0_1 Depth=1
	testb	%al, %al
	je	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rdi, %rbx
	jl	LBB0_21
LBB0_24:                                ##   in Loop: Header=BB0_1 Depth=1
	cmpq	%rdi, %rbx
	movq	_maxino@GOTPCREL(%rip), %r13
	movq	_volno@GOTPCREL(%rip), %r15
	jne	LBB0_7
## %bb.25:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpq	-48(%rbp), %rbx                 ## 8-byte Folded Reload
	jg	LBB0_7
## %bb.26:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_lookupino
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_1 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rbx, %rdi
	callq	_myname
	movq	%rax, %rdi
	callq	_extractfile
	movq	_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%rbx)
	cmpl	%r14d, (%r15)
	je	LBB0_7
## %bb.29:                              ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_skipmaps
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=2
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_myname
	movl	%r12d, %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdx
	callq	_fprintf
	movq	_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
	movq	%rbx, %rdi
	callq	_lowerbnd
	movq	%rax, %rbx
	movq	%r13, %r12
	movq	(%r13), %rdi
	cmpq	%rdi, %rax
	jge	LBB0_24
LBB0_21:                                ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %r13
	movq	%rbx, %rdi
	callq	_lookupino
	movq	%rax, %r15
	testq	%rax, %rax
	jne	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=2
	leaq	L_.str.1(%rip), %rdi
	callq	_panic
	jmp	LBB0_23
LBB0_19:                                ##   in Loop: Header=BB0_1 Depth=1
	xorl	%eax, %eax
	callq	_skipmaps
	xorl	%eax, %eax
	callq	_skipdirs
	jmp	LBB0_7
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stdout,4,2                     ## @stdout
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Extract requested files\n"

	.comm	_SKIP,8,3                       ## @SKIP
	.comm	_curfile,16,3                   ## @curfile
	.comm	_UFS_ROOTINO,8,3                ## @UFS_ROOTINO
	.comm	_maxino,8,3                     ## @maxino
	.comm	_volno,4,2                      ## @volno
	.comm	_Dflag,8,3                      ## @Dflag
	.comm	_NEW,4,2                        ## @NEW
	.comm	_EXTRACT,4,2                    ## @EXTRACT
L_.str.1:                               ## @.str.1
	.asciz	"corrupted symbol table\n"

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

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_createfiles                    ; -- Begin function createfiles
	.p2align	2
_createfiles:                           ; @createfiles
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
Lloh0:
	adrp	x8, _stdout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_vprintf
Lloh5:
	adrp	x8, _SKIP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SKIP@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x27, _curfile@GOTPAGE
Lloh9:
	ldr	x27, [x27, _curfile@GOTPAGEOFF]
	str	x8, [x27, #8]
	mov	w0, #1
	bl	_getvol
	bl	_skipmaps
	bl	_skipdirs
Lloh10:
	adrp	x8, _UFS_ROOTINO@GOTPAGE
Lloh11:
	ldr	x8, [x8, _UFS_ROOTINO@GOTPAGEOFF]
Lloh12:
	ldr	x0, [x8]
	bl	_lowerbnd
	mov	x19, x0
Lloh13:
	adrp	x24, _maxino@GOTPAGE
Lloh14:
	ldr	x24, [x24, _maxino@GOTPAGEOFF]
	ldr	x8, [x24]
	sub	x0, x8, #1
	bl	_upperbnd
	mov	x20, x0
Lloh15:
	adrp	x26, _volno@GOTPAGE
Lloh16:
	ldr	x26, [x26, _volno@GOTPAGEOFF]
	ldr	w28, [x26]
	mov	x0, x19
	bl	_lowerbnd
	mov	x19, x0
	mov	x0, x20
	bl	_upperbnd
	cmp	x19, x0
	b.le	LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x20, x0
Lloh17:
	adrp	x25, _Dflag@GOTPAGE
Lloh18:
	ldr	x25, [x25, _Dflag@GOTPAGEOFF]
Lloh19:
	adrp	x21, _NEW@GOTPAGE
Lloh20:
	ldr	x21, [x21, _NEW@GOTPAGEOFF]
Lloh21:
	adrp	x22, l_.str.2@PAGE
Lloh22:
	add	x22, x22, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_skipfile
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w28, [x26]
	mov	x0, x19
	bl	_lowerbnd
	mov	x19, x0
	mov	x0, x20
	bl	_upperbnd
	mov	x20, x0
	cmp	x19, x0
	b.gt	LBB0_1
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x8, [x25]
	ldr	x0, [x27]
	cbz	x8, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	cmp	x0, x8
	b.eq	LBB0_1
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_lookupino
	cbz	x0, LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x0
	ldr	w8, [x0]
	ldr	w9, [x21]
Lloh23:
	adrp	x10, _EXTRACT@GOTPAGE
Lloh24:
	ldr	x10, [x10, _EXTRACT@GOTPAGEOFF]
Lloh25:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.ne	LBB0_25
	b	LBB0_3
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	cmp	x0, x20
	b.le	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w9, [x26]
	cmp	x0, x8
	ccmp	w9, #2, #8, lt
	b.ge	LBB0_27
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x0, x8
	b.ge	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_lowerbnd
	mov	x23, x0
LBB0_13:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x0, [x27]
	ldr	w9, [x26]
	cmp	w9, w28
	cset	w8, eq
	cmp	x23, x0
	ccmp	w9, w28, #0, gt
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	bl	_skipfile
	b	LBB0_13
LBB0_15:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x23, x19
	b	LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_5 Depth=1
	tbz	w8, #0, LBB0_28
LBB0_17:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x23, x0
	b.lt	LBB0_19
	b	LBB0_22
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
Lloh26:
	adrp	x8, _stderr@GOTPAGE
Lloh27:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh28:
	ldr	w25, [x8]
	mov	x0, x24
	bl	_myname
	mov	x2, x0
	mov	x0, x25
	mov	x1, x22
	bl	_fprintf
	ldr	w8, [x21]
	ldr	w9, [x24]
	bic	w8, w9, w8
	str	w8, [x24]
	mov	x0, x23
	bl	_lowerbnd
	mov	x23, x0
	ldr	x0, [x27]
	cmp	x23, x0
	b.ge	LBB0_21
LBB0_19:                                ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x23
	bl	_lookupino
	mov	x24, x0
	cbnz	x0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
Lloh29:
	adrp	x0, l_.str.1@PAGE
Lloh30:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
	b	LBB0_18
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh31:
	adrp	x24, _maxino@GOTPAGE
Lloh32:
	ldr	x24, [x24, _maxino@GOTPAGEOFF]
Lloh33:
	adrp	x25, _Dflag@GOTPAGE
Lloh34:
	ldr	x25, [x25, _Dflag@GOTPAGEOFF]
LBB0_22:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x23, x0
	ccmp	x23, x20, #0, eq
	b.gt	LBB0_4
; %bb.23:                               ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_lookupino
	mov	x23, x0
	cbnz	x0, LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh35:
	adrp	x0, l_.str.1@PAGE
Lloh36:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_panic
LBB0_25:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x23
	bl	_myname
	bl	_extractfile
	ldr	w8, [x21]
	ldr	w9, [x23]
	bic	w8, w9, w8
	str	w8, [x23]
	ldr	w8, [x26]
	cmp	w8, w28
	b.eq	LBB0_4
; %bb.26:                               ;   in Loop: Header=BB0_5 Depth=1
	bl	_skipmaps
	b	LBB0_4
LBB0_27:                                ;   in Loop: Header=BB0_5 Depth=1
Lloh37:
	adrp	x8, _SKIP@GOTPAGE
Lloh38:
	ldr	x8, [x8, _SKIP@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	str	x8, [x27, #8]
	mov	x0, #0
	bl	_getvol
LBB0_28:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_skipmaps
	bl	_skipdirs
	b	LBB0_4
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_stdout,4,2                     ; @stdout
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Extract requested files\n"

	.comm	_SKIP,8,3                       ; @SKIP
	.comm	_curfile,16,3                   ; @curfile
	.comm	_UFS_ROOTINO,8,3                ; @UFS_ROOTINO
	.comm	_maxino,8,3                     ; @maxino
	.comm	_volno,4,2                      ; @volno
	.comm	_Dflag,8,3                      ; @Dflag
	.comm	_NEW,4,2                        ; @NEW
	.comm	_EXTRACT,4,2                    ; @EXTRACT
l_.str.1:                               ; @.str.1
	.asciz	"corrupted symbol table\n"

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

.subsections_via_symbols
