	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_gnu_sparse_name
_build_gnu_sparse_name:                 ## @build_gnu_sparse_name
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	cmpb	$0, (%rsi)
	je	LBB0_2
## %bb.3:
	movq	%rbx, %rdi
	callq	_strlen
	movslq	%eax, %rdx
	testl	%edx, %edx
	jg	LBB0_4
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	-1(%rdx), %rax
	cmpq	$1, %rdx
	movq	%rax, %rdx
	jle	LBB0_6
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	-1(%rbx,%rdx), %eax
	cmpb	$47, %al
	je	LBB0_5
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$2, %rdx
	jb	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$46, %al
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpb	$47, -2(%rbx,%rdx)
	je	LBB0_5
	jmp	LBB0_10
LBB0_2:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_strcpy
	jmp	LBB0_11
LBB0_6:
	xorl	%edx, %edx
LBB0_10:
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_build_ustar_entry_name
LBB0_11:
	movq	%r14, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"GNUSparseFile/blank"

L_.str.1:                               ## @.str.1
	.asciz	"GNUSparseFile.0"

	.no_dead_strip	_build_gnu_sparse_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_gnu_sparse_name
_build_gnu_sparse_name:                 ; @build_gnu_sparse_name
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	x1, LBB0_8
; %bb.1:
	mov	x20, x1
	ldrb	w8, [x1]
	cbz	w8, LBB0_8
; %bb.2:
	mov	x0, x20
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x2, w0
	cmp	w0, #1
	b.ge	LBB0_4
	b	LBB0_10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	subs	x2, x2, #1
	b.le	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x8, x20, x2
	ldurb	w8, [x8, #-1]
	cmp	w8, #47
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	x2, #2
	b.lo	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #46
	b.ne	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x20, x2
	ldurb	w8, [x8, #-2]
	cmp	w8, #47
	b.eq	LBB0_3
	b	LBB0_10
LBB0_8:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcpy
	b	LBB0_11
LBB0_9:
	mov	x2, #0
LBB0_10:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_build_ustar_entry_name
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"GNUSparseFile/blank"

l_.str.1:                               ; @.str.1
	.asciz	"GNUSparseFile.0"

	.no_dead_strip	_build_gnu_sparse_name
.subsections_via_symbols
