	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flushtape
_flushtape:                             ## @flushtape
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_nextblock@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_slp@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	56(%rax), %rdx
	subl	%edx, %ebx
	movq	_trecno@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	$0, (%rdx,%rcx,8)
	movq	_write@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	48(%rax), %esi
	movl	%ebx, %ecx
	callq	_atomic
	cmpl	%ebx, %eax
	je	LBB0_2
## %bb.1:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_quit
LBB0_2:
	movq	(%r15), %rax
	movl	$1, (%rax)
	movq	8(%rax), %r12
	addq	$64, %rax
	movq	_slaves@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	movq	_SLAVES@GOTPCREL(%rip), %r14
	movq	(%r14), %rdx
	shlq	$6, %rdx
	addq	%rcx, %rdx
	cmpq	%rdx, %rax
	cmovaeq	%rcx, %rax
	movq	%rax, (%r15)
	cmpl	$0, (%rax)
	je	LBB0_12
## %bb.3:
	movq	_read@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	48(%rax), %esi
	leaq	-44(%rbp), %rdx
	movl	$4, %ecx
	callq	_atomic
	cmpl	$4, %eax
	jne	LBB0_36
LBB0_4:
	movq	(%r15), %rax
	movl	$0, (%rax)
	movl	-44(%rbp), %eax
	movq	_writesize@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_12
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	callq	_msg
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:
	movq	(%r13), %rcx
	xorl	%ebx, %ebx
	leaq	-44(%rbp), %r12
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_9 Depth=1
	movq	(%r13), %rcx
	movl	$0, (%rcx,%rbx)
	movq	(%r14), %rax
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	addq	$64, %rbx
	cmpq	%r15, %rax
	jbe	LBB0_18
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, (%rcx,%rbx)
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	_read@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	48(%rcx,%rbx), %esi
	movq	%r12, %rdx
	movl	$4, %ecx
	callq	_atomic
	cmpl	$4, %eax
	je	LBB0_7
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	callq	_flushtape.cold.1
	jmp	LBB0_7
LBB0_12:
	movq	_spcl@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	_TS_END@GOTPCREL(%rip), %rcx
	movl	$1, %ebx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.13:
	movq	_TS_CLRI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.14:
	movq	_TS_BITS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	_trecno@GOTPCREL(%rip), %r14
	je	LBB0_20
## %bb.15:
	movl	8(%r13), %eax
	movq	_TP_NINDIR@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpl	(%rcx), %eax
	setle	%dil
	callq	_assert
	movl	8(%r13), %eax
	testl	%eax, %eax
	movq	_nextblock@GOTPCREL(%rip), %r8
	jle	LBB0_29
## %bb.16:
	movq	16(%r13), %rcx
	cmpl	$4, %eax
	jae	LBB0_21
## %bb.17:
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_18:
	xorl	%eax, %eax
	callq	_close_rewind
	xorl	%eax, %eax
	callq	_rollforward
	jmp	LBB0_34
LBB0_19:
	movq	_trecno@GOTPCREL(%rip), %r14
LBB0_20:
	movq	_nextblock@GOTPCREL(%rip), %r8
	jmp	LBB0_29
LBB0_21:
	movl	%eax, %edx
	andl	$-4, %edx
	leaq	-4(%rdx), %rsi
	movq	%rsi, %rbx
	shrq	$2, %rbx
	incq	%rbx
	testq	%rsi, %rsi
	je	LBB0_37
## %bb.22:
	movq	%rbx, %rsi
	andq	$-2, %rsi
	pxor	%xmm2, %xmm2
	xorl	%edi, %edi
	pcmpeqd	%xmm3, %xmm3
	pxor	%xmm0, %xmm0
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm4
	movdqu	16(%rcx,%rdi,8), %xmm5
	movdqu	32(%rcx,%rdi,8), %xmm6
	movdqu	48(%rcx,%rdi,8), %xmm7
	pcmpeqq	%xmm2, %xmm4
	pshufd	$232, %xmm4, %xmm4              ## xmm4 = xmm4[0,2,2,3]
	paddd	%xmm0, %xmm4
	pcmpeqq	%xmm2, %xmm5
	pshufd	$232, %xmm5, %xmm5              ## xmm5 = xmm5[0,2,2,3]
	paddd	%xmm1, %xmm5
	pcmpeqq	%xmm2, %xmm6
	pshufd	$232, %xmm6, %xmm0              ## xmm0 = xmm6[0,2,2,3]
	paddd	%xmm4, %xmm0
	pcmpeqq	%xmm2, %xmm7
	pshufd	$232, %xmm7, %xmm1              ## xmm1 = xmm7[0,2,2,3]
	paddd	%xmm5, %xmm1
	psubd	%xmm3, %xmm0
	psubd	%xmm3, %xmm0
	psubd	%xmm3, %xmm1
	psubd	%xmm3, %xmm1
	addq	$8, %rdi
	addq	$-2, %rsi
	jne	LBB0_23
## %bb.24:
	testb	$1, %bl
	je	LBB0_26
LBB0_25:
	movdqu	(%rcx,%rdi,8), %xmm2
	movdqu	16(%rcx,%rdi,8), %xmm3
	pxor	%xmm4, %xmm4
	pcmpeqq	%xmm4, %xmm2
	pshufd	$232, %xmm2, %xmm2              ## xmm2 = xmm2[0,2,2,3]
	paddd	%xmm2, %xmm0
	pcmpeqq	%xmm4, %xmm3
	pshufd	$232, %xmm3, %xmm2              ## xmm2 = xmm3[0,2,2,3]
	paddd	%xmm2, %xmm1
	pcmpeqd	%xmm2, %xmm2
	psubd	%xmm2, %xmm0
	psubd	%xmm2, %xmm1
LBB0_26:
	paddd	%xmm1, %xmm0
	pshufd	$85, %xmm0, %xmm1               ## xmm1 = xmm0[1,1,1,1]
	paddd	%xmm0, %xmm1
	movd	%xmm1, %ebx
	cmpq	%rax, %rdx
	je	LBB0_28
	.p2align	4, 0x90
LBB0_27:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$1, (%rcx,%rdx,8)
	sbbl	$-1, %ebx
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_27
LBB0_28:
	incl	%ebx
LBB0_29:
	movq	_lastspclrec@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	24(%r13), %rax
	subq	%rax, %rbx
	movq	_slp@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rbx, 40(%rcx)
	movq	%rax, 32(%rcx)
	movq	_ntrec@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	%rax, %r12
	movq	%r12, 8(%rcx)
	movq	_curino@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, 24(%rcx)
	movq	16(%rcx), %rcx
	movq	%rcx, (%r8)
	movq	$0, (%r14)
	movq	_tenths@GOTPCREL(%rip), %rdx
	movq	_asize@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rcx
	addq	(%rdx), %rcx
	movq	%rcx, (%rsi)
	movq	_blockswritten@GOTPCREL(%rip), %rdx
	addl	%eax, (%rdx)
	movq	_blocksthisvol@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rax
	movq	%rax, (%rdx)
	movq	_pipeout@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_unlimited@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	jne	LBB0_33
## %bb.30:
	movq	_blocksperfile@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	testq	%rdx, %rdx
	je	LBB0_35
## %bb.31:
	cmpq	%rdx, %rax
	jl	LBB0_33
LBB0_32:
	xorl	%eax, %eax
	callq	_close_rewind
	xorl	%edi, %edi
	callq	_startnewtape
LBB0_33:
	xorl	%eax, %eax
	callq	_timeest
LBB0_34:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_35:
	movq	_tsize@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jg	LBB0_32
	jmp	LBB0_33
LBB0_36:
	callq	_flushtape.cold.2
	jmp	LBB0_4
LBB0_37:
	pxor	%xmm0, %xmm0
	xorl	%edi, %edi
	pxor	%xmm1, %xmm1
	testb	$1, %bl
	jne	LBB0_25
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function flushtape.cold.1
_flushtape.cold.1:                      ## @flushtape.cold.1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	xorl	%edi, %edi
	callq	_dumpabort
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.p2align	4, 0x90                         ## -- Begin function flushtape.cold.2
_flushtape.cold.2:                      ## @flushtape.cold.2
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	L_.str.1(%rip), %rdi
	callq	_perror
	xorl	%edi, %edi
	callq	_dumpabort
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nextblock,8,3                  ## @nextblock
	.comm	_slp,8,3                        ## @slp
	.comm	_trecno,8,3                     ## @trecno
	.comm	_write,4,2                      ## @write
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"error writing command pipe: %s\n"

	.comm	_errno,4,2                      ## @errno
	.comm	_slaves,8,3                     ## @slaves
	.comm	_SLAVES,8,3                     ## @SLAVES
	.comm	_read,4,2                       ## @read
L_.str.1:                               ## @.str.1
	.asciz	"  DUMP: error reading command pipe in master"

	.comm	_writesize,4,2                  ## @writesize
L_.str.2:                               ## @.str.2
	.asciz	"End of tape detected\n"

	.comm	_spcl,32,3                      ## @spcl
	.comm	_TS_END,8,3                     ## @TS_END
	.comm	_TS_CLRI,8,3                    ## @TS_CLRI
	.comm	_TS_BITS,8,3                    ## @TS_BITS
	.comm	_TP_NINDIR,4,2                  ## @TP_NINDIR
	.comm	_lastspclrec,8,3                ## @lastspclrec
	.comm	_ntrec,8,3                      ## @ntrec
	.comm	_curino,4,2                     ## @curino
	.comm	_tenths,8,3                     ## @tenths
	.comm	_asize,8,3                      ## @asize
	.comm	_blockswritten,4,2              ## @blockswritten
	.comm	_blocksthisvol,8,3              ## @blocksthisvol
	.comm	_pipeout,4,2                    ## @pipeout
	.comm	_unlimited,4,2                  ## @unlimited
	.comm	_blocksperfile,8,3              ## @blocksperfile
	.comm	_tsize,8,3                      ## @tsize
	.no_dead_strip	_flushtape
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flushtape
_flushtape:                             ; @flushtape
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x20, _nextblock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _nextblock@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh2:
	adrp	x22, _slp@GOTPAGE
Lloh3:
	ldr	x22, [x22, _slp@GOTPAGEOFF]
	ldr	x9, [x22]
	ldr	x2, [x9, #56]
	sub	w19, w8, w2
Lloh4:
	adrp	x21, _trecno@GOTPAGE
Lloh5:
	ldr	x21, [x21, _trecno@GOTPAGEOFF]
	ldr	x8, [x21]
	str	xzr, [x2, x8, lsl #3]
Lloh6:
	adrp	x8, _write@GOTPAGE
Lloh7:
	ldr	x8, [x8, _write@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldr	w1, [x9, #48]
	mov	x3, x19
	bl	_atomic
	cmp	w0, w19
	b.eq	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _errno@GOTPAGE
Lloh10:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	bl	_strerror
	mov	x1, x0
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_quit
LBB0_2:
	ldr	x8, [x22]
	mov	w9, #1
	str	w9, [x8]
	ldr	x19, [x8, #8]
	add	x8, x8, #64
Lloh14:
	adrp	x23, _slaves@GOTPAGE
Lloh15:
	ldr	x23, [x23, _slaves@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh16:
	adrp	x24, _SLAVES@GOTPAGE
Lloh17:
	ldr	x24, [x24, _SLAVES@GOTPAGEOFF]
	ldr	x10, [x24]
	add	x10, x9, x10, lsl #6
	cmp	x8, x10
	csel	x8, x8, x9, lo
	str	x8, [x22]
	ldr	w9, [x8]
	cbz	w9, LBB0_12
; %bb.3:
Lloh18:
	adrp	x25, _read@GOTPAGE
Lloh19:
	ldr	x25, [x25, _read@GOTPAGEOFF]
	ldr	w0, [x25]
	ldr	w1, [x8, #48]
	add	x2, sp, #12
	mov	w3, #4
	bl	_atomic
	cmp	w0, #4
	b.ne	LBB0_33
LBB0_4:
	ldr	x8, [x22]
	str	wzr, [x8]
	ldr	w8, [sp, #12]
Lloh20:
	adrp	x9, _writesize@GOTPAGE
Lloh21:
	ldr	x9, [x9, _writesize@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_12
; %bb.5:
Lloh23:
	adrp	x0, l_.str.2@PAGE
Lloh24:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_msg
	ldr	x9, [x24]
	cbz	x9, LBB0_18
; %bb.6:
	mov	x19, #0
	mov	x20, #0
	ldr	x8, [x23]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x23]
	str	wzr, [x8, x19]
	ldr	x9, [x24]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x20, x20, #1
	add	x19, x19, #64
	cmp	x9, x20
	b.ls	LBB0_18
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8, x19]
	cbz	w10, LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w0, [x25]
	add	x8, x8, x19
	ldr	w1, [x8, #48]
	add	x2, sp, #12
	mov	w3, #4
	bl	_atomic
	cmp	w0, #4
	b.eq	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	bl	_flushtape.cold.1
	b	LBB0_7
LBB0_12:
Lloh25:
	adrp	x23, _spcl@GOTPAGE
Lloh26:
	ldr	x23, [x23, _spcl@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh27:
	adrp	x8, _TS_END@GOTPAGE
Lloh28:
	ldr	x8, [x8, _TS_END@GOTPAGEOFF]
Lloh29:
	ldr	x10, [x8]
	mov	w8, #1
	cmp	x9, x10
	b.eq	LBB0_26
; %bb.13:
Lloh30:
	adrp	x10, _TS_CLRI@GOTPAGE
Lloh31:
	ldr	x10, [x10, _TS_CLRI@GOTPAGEOFF]
Lloh32:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_26
; %bb.14:
Lloh33:
	adrp	x10, _TS_BITS@GOTPAGE
Lloh34:
	ldr	x10, [x10, _TS_BITS@GOTPAGEOFF]
Lloh35:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_26
; %bb.15:
	ldr	w8, [x23, #8]
Lloh36:
	adrp	x9, _TP_NINDIR@GOTPAGE
Lloh37:
	ldr	x9, [x9, _TP_NINDIR@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	cmp	w8, w9
	cset	w0, le
	bl	_assert
	ldr	w8, [x23, #8]
	cmp	w8, #1
	b.lt	LBB0_19
; %bb.16:
	ldr	x9, [x23, #16]
	cmp	w8, #8
	b.hs	LBB0_20
; %bb.17:
	mov	x10, #0
	mov	w11, #0
	b	LBB0_23
LBB0_18:
	bl	_close_rewind
	bl	_rollforward
	b	LBB0_31
LBB0_19:
	mov	w8, #1
	b	LBB0_26
LBB0_20:
	and	x10, x8, #0xfffffff8
	movi.2d	v0, #0000000000000000
	add	x11, x9, #32
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_21:                                ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	cmtst.2d	v4, v4, v4
	xtn.2s	v4, v4
	cmtst.2d	v5, v5, v5
	xtn.2s	v5, v5
	cmtst.2d	v6, v6, v6
	xtn.2s	v6, v6
	cmtst.2d	v7, v7, v7
	xtn.2s	v7, v7
	sub.2s	v0, v0, v4
	sub.2s	v1, v1, v5
	sub.2s	v2, v2, v6
	sub.2s	v3, v3, v7
	subs	x12, x12, #8
	b.ne	LBB0_21
; %bb.22:
	add.2s	v0, v1, v0
	add.2s	v0, v2, v0
	add.2s	v0, v3, v0
	addp.2s	v0, v0, v0
	fmov	w11, s0
	cmp	x10, x8
	b.eq	LBB0_25
LBB0_23:
	add	x9, x9, x10, lsl #3
	sub	x8, x8, x10
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	cmp	x10, #0
	cinc	w11, w11, ne
	subs	x8, x8, #1
	b.ne	LBB0_24
LBB0_25:
	add	w8, w11, #1
LBB0_26:
Lloh39:
	adrp	x9, _lastspclrec@GOTPAGE
Lloh40:
	ldr	x9, [x9, _lastspclrec@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	ldr	x10, [x23, #24]
	add	x8, x8, x9
	sub	x8, x8, x10
	ldr	x9, [x22]
Lloh42:
	adrp	x11, _ntrec@GOTPAGE
Lloh43:
	ldr	x11, [x11, _ntrec@GOTPAGEOFF]
	stp	x10, x8, [x9, #32]
Lloh44:
	ldr	x10, [x11]
	add	x8, x10, x19
	str	x8, [x9, #8]
Lloh45:
	adrp	x8, _curino@GOTPAGE
Lloh46:
	ldr	x8, [x8, _curino@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	str	w8, [x9, #24]
	ldr	x8, [x9, #16]
	str	x8, [x20]
Lloh48:
	adrp	x8, _tenths@GOTPAGE
Lloh49:
	ldr	x8, [x8, _tenths@GOTPAGEOFF]
	str	xzr, [x21]
Lloh50:
	ldr	x8, [x8]
Lloh51:
	adrp	x9, _asize@GOTPAGE
Lloh52:
	ldr	x9, [x9, _asize@GOTPAGEOFF]
	ldr	x11, [x9]
	add	x8, x11, x8
	str	x8, [x9]
Lloh53:
	adrp	x9, _blockswritten@GOTPAGE
Lloh54:
	ldr	x9, [x9, _blockswritten@GOTPAGEOFF]
	ldr	w11, [x9]
	add	w11, w11, w10
	str	w11, [x9]
Lloh55:
	adrp	x11, _blocksthisvol@GOTPAGE
Lloh56:
	ldr	x11, [x11, _blocksthisvol@GOTPAGEOFF]
	ldr	x9, [x11]
	add	x9, x9, x10
Lloh57:
	adrp	x10, _pipeout@GOTPAGE
Lloh58:
	ldr	x10, [x10, _pipeout@GOTPAGEOFF]
	str	x9, [x11]
Lloh59:
	ldr	w10, [x10]
Lloh60:
	adrp	x11, _unlimited@GOTPAGE
Lloh61:
	ldr	x11, [x11, _unlimited@GOTPAGEOFF]
Lloh62:
	ldr	w11, [x11]
	orr	w10, w10, w11
	cbnz	w10, LBB0_30
; %bb.27:
Lloh63:
	adrp	x10, _blocksperfile@GOTPAGE
Lloh64:
	ldr	x10, [x10, _blocksperfile@GOTPAGEOFF]
Lloh65:
	ldr	x10, [x10]
	cbz	x10, LBB0_32
; %bb.28:
	cmp	x9, x10
	b.lt	LBB0_30
LBB0_29:
	bl	_close_rewind
	mov	w0, #0
	bl	_startnewtape
LBB0_30:
	bl	_timeest
LBB0_31:
	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
	add	sp, sp, #96
	ret
LBB0_32:
Lloh66:
	adrp	x9, _tsize@GOTPAGE
Lloh67:
	ldr	x9, [x9, _tsize@GOTPAGEOFF]
Lloh68:
	ldr	x9, [x9]
	cmp	x8, x9
	b.gt	LBB0_29
	b	LBB0_30
LBB0_33:
	bl	_flushtape.cold.2
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function flushtape.cold.1
_flushtape.cold.1:                      ; @flushtape.cold.1
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh69:
	adrp	x0, l_.str.1@PAGE
Lloh70:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	mov	w0, #0
	bl	_dumpabort
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.p2align	2                               ; -- Begin function flushtape.cold.2
_flushtape.cold.2:                      ; @flushtape.cold.2
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh71:
	adrp	x0, l_.str.1@PAGE
Lloh72:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_perror
	mov	w0, #0
	bl	_dumpabort
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_nextblock,8,3                  ; @nextblock
	.comm	_slp,8,3                        ; @slp
	.comm	_trecno,8,3                     ; @trecno
	.comm	_write,4,2                      ; @write
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"error writing command pipe: %s\n"

	.comm	_errno,4,2                      ; @errno
	.comm	_slaves,8,3                     ; @slaves
	.comm	_SLAVES,8,3                     ; @SLAVES
	.comm	_read,4,2                       ; @read
l_.str.1:                               ; @.str.1
	.asciz	"  DUMP: error reading command pipe in master"

	.comm	_writesize,4,2                  ; @writesize
l_.str.2:                               ; @.str.2
	.asciz	"End of tape detected\n"

	.comm	_spcl,32,3                      ; @spcl
	.comm	_TS_END,8,3                     ; @TS_END
	.comm	_TS_CLRI,8,3                    ; @TS_CLRI
	.comm	_TS_BITS,8,3                    ; @TS_BITS
	.comm	_TP_NINDIR,4,2                  ; @TP_NINDIR
	.comm	_lastspclrec,8,3                ; @lastspclrec
	.comm	_ntrec,8,3                      ; @ntrec
	.comm	_curino,4,2                     ; @curino
	.comm	_tenths,8,3                     ; @tenths
	.comm	_asize,8,3                      ; @asize
	.comm	_blockswritten,4,2              ; @blockswritten
	.comm	_blocksthisvol,8,3              ; @blocksthisvol
	.comm	_pipeout,4,2                    ; @pipeout
	.comm	_unlimited,4,2                  ; @unlimited
	.comm	_blocksperfile,8,3              ; @blocksperfile
	.comm	_tsize,8,3                      ; @tsize
	.no_dead_strip	_flushtape
.subsections_via_symbols
