	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_file_parms
_get_file_parms:                        ## @get_file_parms
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	leaq	-8(%rbp), %rsi
	callq	_fstat
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movl	$4, %edi
	callq	_err
LBB0_2:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-8(%rbp), %eax
	movq	_S_IFREG@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.3:
	movq	_S_IFLNK@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.4:
	movq	_specname@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movl	$4, %edi
	callq	_errx
LBB0_5:
	movq	_DEV_BSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_secsize@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	-4(%rbp), %eax
	movq	_mediasize@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fstat failed"

	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_S_IFLNK,4,2                    ## @S_IFLNK
L_.str.1:                               ## @.str.1
	.asciz	"%s is not a valid file or link"

	.comm	_specname,4,2                   ## @specname
	.comm	_DEV_BSIZE,4,2                  ## @DEV_BSIZE
	.comm	_secsize,4,2                    ## @secsize
	.comm	_mediasize,4,2                  ## @mediasize
	.no_dead_strip	_get_file_parms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_file_parms
_get_file_parms:                        ; @get_file_parms
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	add	x1, sp, #8
	bl	_fstat
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #4
	bl	_err
LBB0_2:
	ldr	w8, [sp, #8]
Lloh2:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh5:
	adrp	x9, _S_IFREG@GOTPAGE
Lloh6:
	ldr	x9, [x9, _S_IFREG@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _S_IFLNK@GOTPAGE
Lloh9:
	ldr	x10, [x10, _S_IFLNK@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w8, w9
	ccmp	w8, w10, #4, ne
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _specname@GOTPAGE
Lloh12:
	ldr	x8, [x8, _specname@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #4
	bl	_errx
LBB0_4:
Lloh16:
	adrp	x8, _DEV_BSIZE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _DEV_BSIZE@GOTPAGEOFF]
Lloh18:
	adrp	x9, _secsize@GOTPAGE
Lloh19:
	ldr	x9, [x9, _secsize@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	str	w8, [x9]
	ldr	w8, [sp, #12]
Lloh22:
	adrp	x9, _mediasize@GOTPAGE
Lloh23:
	ldr	x9, [x9, _mediasize@GOTPAGEOFF]
Lloh24:
	str	w8, [x9]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotStr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fstat failed"

	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_S_IFLNK,4,2                    ; @S_IFLNK
l_.str.1:                               ; @.str.1
	.asciz	"%s is not a valid file or link"

	.comm	_specname,4,2                   ; @specname
	.comm	_DEV_BSIZE,4,2                  ; @DEV_BSIZE
	.comm	_secsize,4,2                    ; @secsize
	.comm	_mediasize,4,2                  ; @mediasize
	.no_dead_strip	_get_file_parms
.subsections_via_symbols
