	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_phys
_get_phys:                              ## @get_phys
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsp, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXBLK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	%r14, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movq	_lstrval@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	cmpl	$1, (%rax)
	jne	LBB0_4
## %bb.1:
	xorl	%ecx, %ecx
	movq	_arfd@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %ebx
	movl	(%r15), %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_read
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rbx), %ecx
	testl	%eax, %eax
	jg	LBB0_2
## %bb.3:
	js	LBB0_16
LBB0_4:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	movq	_MTBSF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movl	$1, -72(%rbp)
	movq	_arfd@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movq	_MTIOCTOP@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	leaq	-72(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_14
## %bb.5:
	movq	_MTBSR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movl	$1, -72(%rbp)
	movl	(%r13), %edi
	movl	(%r15), %esi
	leaq	-72(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_15
## %bb.6:
	movl	(%r13), %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_read
	testl	%eax, %eax
	jle	LBB0_18
## %bb.7:
	movl	%eax, %r15d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %edi
	movq	%r12, %rsi
	movl	%r14d, %edx
	callq	_read
	testl	%eax, %eax
	jg	LBB0_8
## %bb.9:
	js	LBB0_19
## %bb.10:
	movq	_MTBSF@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movl	$1, -72(%rbp)
	movl	(%r13), %edi
	movq	_MTIOCTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	js	LBB0_14
## %bb.11:
	movq	_lstrval@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	testl	%ebx, %ebx
	je	LBB0_22
## %bb.12:
	movl	%ebx, %eax
	cltd
	idivl	%r15d
	testl	%edx, %edx
	je	LBB0_26
## %bb.13:
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	callq	_paxwarn
	jmp	LBB0_21
LBB0_14:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
	jmp	LBB0_20
LBB0_15:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_20
LBB0_16:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_syswarn
LBB0_17:
	movl	$-1, %r15d
	jmp	LBB0_23
LBB0_18:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.3(%rip), %rdx
	jmp	LBB0_20
LBB0_19:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
LBB0_20:
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_syswarn
LBB0_21:
	movl	$-1, %r15d
LBB0_22:
	movq	-56(%rbp), %r13                 ## 8-byte Reload
LBB0_23:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_28
## %bb.24:
	movl	%r15d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_26:
	movq	_MTBSR@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -64(%rbp)
	movl	%eax, -72(%rbp)
	movl	(%r13), %edi
	movq	_MTIOCTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-72(%rbp), %rdx
	callq	_ioctl
	testq	%rax, %rax
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jns	LBB0_23
## %bb.27:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-72(%rbp), %ecx
	leaq	L_.str.5(%rip), %rdx
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_syswarn
	jmp	LBB0_17
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MAXBLK,4,2                     ## @MAXBLK
	.comm	_lstrval,4,2                    ## @lstrval
	.comm	_arfd,4,2                       ## @arfd
	.comm	_errno,4,2                      ## @errno
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unable to locate tape filemark."

	.comm	_MTBSF,8,3                      ## @MTBSF
	.comm	_MTIOCTOP,4,2                   ## @MTIOCTOP
L_.str.1:                               ## @.str.1
	.asciz	"Unable to backspace over tape filemark."

	.comm	_MTBSR,8,3                      ## @MTBSR
L_.str.2:                               ## @.str.2
	.asciz	"Unable to backspace over last tape block."

L_.str.3:                               ## @.str.3
	.asciz	"Cannot determine archive tape blocksize."

L_.str.4:                               ## @.str.4
	.asciz	"Tape drive unable to backspace requested amount"

L_.str.5:                               ## @.str.5
	.asciz	"Unable to backspace tape over %d pad blocks"

	.no_dead_strip	_get_phys
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_phys
_get_phys:                              ; @get_phys
	.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
	sub	sp, sp, #32
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x8, _MAXBLK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXBLK@GOTPAGEOFF]
Lloh5:
	ldr	w19, [x8]
	mov	x9, x19
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x19, #15
	and	x9, x9, #0x1fffffff0
	sub	x21, x8, x9
	mov	sp, x21
Lloh8:
	adrp	x24, _lstrval@GOTPAGE
Lloh9:
	ldr	x24, [x24, _lstrval@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh10:
	adrp	x23, _arfd@GOTPAGE
Lloh11:
	ldr	x23, [x23, _arfd@GOTPAGEOFF]
	cmp	w8, #1
	b.ne	LBB0_4
; %bb.1:
	mov	w8, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x25, x8
	ldr	w0, [x23]
	mov	x1, x21
	mov	x2, x19
	bl	_read
	add	w8, w0, w25
	cmp	w0, #0
	b.gt	LBB0_2
; %bb.3:
	tbz	w0, #31, LBB0_5
	b	LBB0_16
LBB0_4:
	mov	w25, #0
LBB0_5:
Lloh12:
	adrp	x28, _MTBSF@GOTPAGE
Lloh13:
	ldr	x28, [x28, _MTBSF@GOTPAGEOFF]
	ldr	x8, [x28]
	stur	x8, [x29, #-96]
	mov	w20, #1
	stur	w20, [x29, #-104]
	ldr	w0, [x23]
Lloh14:
	adrp	x26, _MTIOCTOP@GOTPAGE
Lloh15:
	ldr	x26, [x26, _MTIOCTOP@GOTPAGEOFF]
	ldr	w1, [x26]
	sub	x2, x29, #104
	bl	_ioctl
	tbnz	x0, #63, LBB0_15
; %bb.6:
Lloh16:
	adrp	x27, _MTBSR@GOTPAGE
Lloh17:
	ldr	x27, [x27, _MTBSR@GOTPAGEOFF]
	ldr	x8, [x27]
	stur	x8, [x29, #-96]
	stur	w20, [x29, #-104]
	ldr	w0, [x23]
	ldr	w1, [x26]
	sub	x2, x29, #104
	bl	_ioctl
	tbnz	x0, #63, LBB0_17
; %bb.7:
	ldr	w0, [x23]
	mov	x1, x21
	mov	x2, x19
	bl	_read
	cmp	w0, #1
	b.lt	LBB0_18
; %bb.8:
	mov	x20, x0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x23]
	mov	x1, x21
	mov	x2, x19
	bl	_read
	cmp	w0, #0
	b.gt	LBB0_9
; %bb.10:
	tbnz	w0, #31, LBB0_16
; %bb.11:
	ldr	x8, [x28]
	stur	x8, [x29, #-96]
	mov	w19, #1
	stur	w19, [x29, #-104]
	ldr	w0, [x23]
	ldr	w1, [x26]
	sub	x2, x29, #104
	bl	_ioctl
	tbnz	x0, #63, LBB0_15
; %bb.12:
	str	w19, [x24]
	cbz	w25, LBB0_21
; %bb.13:
	sdiv	w8, w25, w20
	msub	w9, w8, w20, w25
	cbz	w9, LBB0_23
; %bb.14:
Lloh18:
	adrp	x1, l_.str.4@PAGE
Lloh19:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_paxwarn
	b	LBB0_20
LBB0_15:
Lloh20:
	adrp	x8, _errno@GOTPAGE
Lloh21:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
Lloh23:
	adrp	x2, l_.str.1@PAGE
Lloh24:
	add	x2, x2, l_.str.1@PAGEOFF
	b	LBB0_19
LBB0_16:
Lloh25:
	adrp	x8, _errno@GOTPAGE
Lloh26:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x2, l_.str@PAGE
Lloh29:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_19
LBB0_17:
Lloh30:
	adrp	x8, _errno@GOTPAGE
Lloh31:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
Lloh33:
	adrp	x2, l_.str.2@PAGE
Lloh34:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_19
LBB0_18:
Lloh35:
	adrp	x8, _errno@GOTPAGE
Lloh36:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
Lloh38:
	adrp	x2, l_.str.3@PAGE
Lloh39:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_19:
	mov	w0, #1
	bl	_syswarn
LBB0_20:
	mov	w20, #-1
LBB0_21:
	mov	sp, x22
	ldur	x8, [x29, #-88]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_25
; %bb.22:
	mov	x0, x20
	sub	sp, x29, #80
	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_23:
	ldr	x9, [x27]
	stur	x9, [x29, #-96]
	stur	w8, [x29, #-104]
	ldr	w0, [x23]
	ldr	w1, [x26]
	sub	x2, x29, #104
	bl	_ioctl
	tbz	x0, #63, LBB0_21
; %bb.24:
Lloh43:
	adrp	x8, _errno@GOTPAGE
Lloh44:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh45:
	ldr	w1, [x8]
	ldur	w8, [x29, #-104]
	str	x8, [sp, #-16]!
Lloh46:
	adrp	x2, l_.str.5@PAGE
Lloh47:
	add	x2, x2, l_.str.5@PAGEOFF
	mov	w0, #1
	bl	_syswarn
	add	sp, sp, #16
	b	LBB0_20
LBB0_25:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_MAXBLK,4,2                     ; @MAXBLK
	.comm	_lstrval,4,2                    ; @lstrval
	.comm	_arfd,4,2                       ; @arfd
	.comm	_errno,4,2                      ; @errno
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unable to locate tape filemark."

	.comm	_MTBSF,8,3                      ; @MTBSF
	.comm	_MTIOCTOP,4,2                   ; @MTIOCTOP
l_.str.1:                               ; @.str.1
	.asciz	"Unable to backspace over tape filemark."

	.comm	_MTBSR,8,3                      ; @MTBSR
l_.str.2:                               ; @.str.2
	.asciz	"Unable to backspace over last tape block."

l_.str.3:                               ; @.str.3
	.asciz	"Cannot determine archive tape blocksize."

l_.str.4:                               ; @.str.4
	.asciz	"Tape drive unable to backspace requested amount"

l_.str.5:                               ; @.str.5
	.asciz	"Unable to backspace tape over %d pad blocks"

	.no_dead_strip	_get_phys
.subsections_via_symbols
