	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function git_path_check_encoding
_git_path_check_encoding:               ## @git_path_check_encoding
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	callq	_ATTR_UNSET
	testq	%rax, %rax
	je	LBB0_2
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_2:
	movq	%rbx, %rdi
	callq	_strlen
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	%rbx, %rdi
	callq	_ATTR_TRUE
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_ATTR_FALSE
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_die
LBB0_6:
	movq	_default_encoding@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_same_encoding
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	cmoveq	%rbx, %rax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"true/false are no valid working-tree-encodings"

	.comm	_default_encoding,4,2           ## @default_encoding
	.no_dead_strip	_git_path_check_encoding
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function git_path_check_encoding
_git_path_check_encoding:               ; @git_path_check_encoding
	.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
	ldr	x19, [x0]
	mov	x0, x19
	bl	_ATTR_UNSET
	cbz	x0, LBB0_2
LBB0_1:
	mov	x0, #0
	b	LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_strlen
	cbz	w0, LBB0_1
; %bb.3:
	mov	x0, x19
	bl	_ATTR_TRUE
	cbnz	x0, LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_ATTR_FALSE
	cbz	x0, LBB0_6
LBB0_5:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_die
LBB0_6:
Lloh2:
	adrp	x8, _default_encoding@GOTPAGE
Lloh3:
	ldr	x8, [x8, _default_encoding@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_same_encoding
	cmp	x0, #0
	csel	x0, x19, xzr, eq
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"true/false are no valid working-tree-encodings"

	.comm	_default_encoding,4,2           ; @default_encoding
	.no_dead_strip	_git_path_check_encoding
.subsections_via_symbols
