	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function findtapeblksize
_findtapeblksize:                       ## @findtapeblksize
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_ntrec@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	_tapebuf@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rdx, %rdx
	jle	LBB0_3
## %bb.1:
	xorl	%eax, %eax
	movq	_TP_BSIZE@GOTPCREL(%rip), %rcx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rdx
	imulq	%rax, %rdx
	movq	$0, (%rsi,%rdx,4)
	incq	%rax
	movq	(%rbx), %rdx
	cmpq	%rdx, %rax
	jl	LBB0_2
LBB0_3:
	movq	_blkcnt@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_mt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TP_BSIZE@GOTPCREL(%rip), %r12
	imulq	(%r12), %rdx
	callq	_read
	movq	%rax, %r15
	testq	%rax, %rax
	jg	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_done
LBB0_5:
	movq	(%r12), %r8
	movq	%r15, %rax
	orq	%r8, %rax
	shrq	$32, %rax
	je	LBB0_6
## %bb.7:
	movq	%r15, %rax
	cqto
	idivq	%r8
	testq	%rdx, %rdx
	je	LBB0_10
LBB0_9:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rcx
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_fprintf
	movl	$1, %edi
	callq	_done
	movq	(%r12), %r8
LBB0_10:
	movq	%r15, %rax
	orq	%r8, %rax
	shrq	$32, %rax
	je	LBB0_11
## %bb.12:
	movq	%r15, %rax
	cqto
	idivq	%r8
	jmp	LBB0_13
LBB0_6:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%r8d
                                        ## kill: def $edx killed $edx def $rdx
	testq	%rdx, %rdx
	jne	LBB0_9
	jmp	LBB0_10
LBB0_11:
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%r8d
                                        ## kill: def $eax killed $eax def $rax
LBB0_13:
	movq	%rax, (%rbx)
	movq	_numtrec@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	_stdout@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vprintf                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ntrec,8,3                      ## @ntrec
	.comm	_tapebuf,8,3                    ## @tapebuf
	.comm	_TP_BSIZE,8,3                   ## @TP_BSIZE
	.comm	_blkcnt,8,3                     ## @blkcnt
	.comm	_mt,4,2                         ## @mt
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"tape read error: %s\n"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"Tape block size (%ld) %s (%d)\n"

L_.str.2:                               ## @.str.2
	.asciz	"is not a multiple of dump block size"

	.comm	_numtrec,8,3                    ## @numtrec
	.comm	_stdout,4,2                     ## @stdout
L_.str.3:                               ## @.str.3
	.asciz	"Tape block size is %ld\n"

	.comm	_host,8,3                       ## @host
	.no_dead_strip	_findtapeblksize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function findtapeblksize
_findtapeblksize:                       ; @findtapeblksize
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
Lloh0:
	adrp	x21, _ntrec@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ntrec@GOTPAGEOFF]
	ldr	x8, [x21]
Lloh2:
	adrp	x9, _tapebuf@GOTPAGE
Lloh3:
	ldr	x9, [x9, _tapebuf@GOTPAGEOFF]
Lloh4:
	ldr	x1, [x9]
Lloh5:
	adrp	x22, _TP_BSIZE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _TP_BSIZE@GOTPAGEOFF]
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x9, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	mul	x8, x8, x9
	lsl	x8, x8, #2
	str	xzr, [x1, x8]
	add	x9, x9, #1
	ldr	x8, [x21]
	cmp	x9, x8
	b.lt	LBB0_2
LBB0_3:
Lloh7:
	adrp	x9, _blkcnt@GOTPAGE
Lloh8:
	ldr	x9, [x9, _blkcnt@GOTPAGEOFF]
Lloh9:
	str	xzr, [x9]
Lloh10:
	adrp	x9, _mt@GOTPAGE
Lloh11:
	ldr	x9, [x9, _mt@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x9]
	ldr	x9, [x22]
	mul	x2, x9, x8
	bl	_read
	mov	x19, x0
Lloh13:
	adrp	x23, _stderr@GOTPAGE
Lloh14:
	ldr	x23, [x23, _stderr@GOTPAGEOFF]
	cmp	x0, #0
	b.gt	LBB0_5
; %bb.4:
	ldr	w20, [x23]
Lloh15:
	adrp	x8, _errno@GOTPAGE
Lloh16:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_strerror
	str	x0, [sp]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_fprintf
	mov	w0, #1
	bl	_done
LBB0_5:
	ldr	x8, [x22]
	sdiv	x9, x19, x8
	msub	x9, x9, x8, x19
	cbz	x9, LBB0_7
; %bb.6:
	ldr	w0, [x23]
	str	x8, [sp, #16]
Lloh20:
	adrp	x8, l_.str.2@PAGE
Lloh21:
	add	x8, x8, l_.str.2@PAGEOFF
	stp	x19, x8, [sp]
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	mov	w0, #1
	bl	_done
	ldr	x8, [x22]
LBB0_7:
	sdiv	x2, x19, x8
	str	x2, [x21]
Lloh24:
	adrp	x8, _numtrec@GOTPAGE
Lloh25:
	ldr	x8, [x8, _numtrec@GOTPAGEOFF]
Lloh26:
	str	x2, [x8]
Lloh27:
	adrp	x8, _stdout@GOTPAGE
Lloh28:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x1, l_.str.3@PAGE
Lloh31:
	add	x1, x1, l_.str.3@PAGEOFF
	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
	add	sp, sp, #96
	b	_vprintf
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotStr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_ntrec,8,3                      ; @ntrec
	.comm	_tapebuf,8,3                    ; @tapebuf
	.comm	_TP_BSIZE,8,3                   ; @TP_BSIZE
	.comm	_blkcnt,8,3                     ; @blkcnt
	.comm	_mt,4,2                         ; @mt
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"tape read error: %s\n"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"Tape block size (%ld) %s (%d)\n"

l_.str.2:                               ; @.str.2
	.asciz	"is not a multiple of dump block size"

	.comm	_numtrec,8,3                    ; @numtrec
	.comm	_stdout,4,2                     ; @stdout
l_.str.3:                               ; @.str.3
	.asciz	"Tape block size is %ld\n"

	.comm	_host,8,3                       ; @host
	.no_dead_strip	_findtapeblksize
.subsections_via_symbols
