	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_probe_utf8_pathname_composition ## -- Begin function probe_utf8_pathname_composition
	.p2align	4, 0x90
_probe_utf8_pathname_composition:       ## @probe_utf8_pathname_composition
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_precomposed_unicode@GOTPCREL(%rip), %rbx
	cmpl	$-1, (%rbx)
	jne	LBB0_5
## %bb.1:
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str(%rip), %rdx
	leaq	-32(%rbp), %rdi
	callq	_git_path_buf
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_EXCL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	-32(%rbp), %edi
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	$384, %edx                      ## imm = 0x180
	callq	_open
	testl	%eax, %eax
	js	LBB0_4
## %bb.2:
	movl	%eax, %edi
	callq	_close
	leaq	L_.str.2(%rip), %r14
	leaq	L_.str.1(%rip), %rdx
	leaq	-32(%rbp), %r15
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_git_path_buf
	movl	-32(%rbp), %edi
	movq	_R_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_access
	xorl	%ecx, %ecx
	testq	%rax, %rax
	sete	%cl
	movl	%ecx, (%rbx)
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.5(%rip), %rsi
	cmoveq	%rax, %rsi
	leaq	L_.str.3(%rip), %rdi
	callq	_git_config_set
	leaq	L_.str(%rip), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_git_path_buf
	movl	-32(%rbp), %edi
	callq	_unlink
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.6(%rip), %rdi
	callq	__
	movl	-32(%rbp), %esi
	movl	%eax, %edi
	callq	_die_errno
LBB0_4:
	leaq	-32(%rbp), %rdi
	callq	_strbuf_release
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STRBUF_INIT,4,2                ## @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\303\244"

L_.str.1:                               ## @.str.1
	.asciz	"a\314\210"

	.comm	_precomposed_unicode,4,2        ## @precomposed_unicode
L_.str.2:                               ## @.str.2
	.asciz	"%s"

	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_EXCL,4,2                     ## @O_EXCL
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_R_OK,4,2                       ## @R_OK
L_.str.3:                               ## @.str.3
	.asciz	"core.precomposeunicode"

L_.str.4:                               ## @.str.4
	.asciz	"true"

L_.str.5:                               ## @.str.5
	.asciz	"false"

L_.str.6:                               ## @.str.6
	.asciz	"failed to unlink '%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_probe_utf8_pathname_composition ; -- Begin function probe_utf8_pathname_composition
	.p2align	2
_probe_utf8_pathname_composition:       ; @probe_utf8_pathname_composition
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #8]
Lloh3:
	adrp	x20, _precomposed_unicode@GOTPAGE
Lloh4:
	ldr	x20, [x20, _precomposed_unicode@GOTPAGEOFF]
	ldr	w8, [x20]
	cmn	w8, #1
	b.ne	LBB0_5
; %bb.1:
Lloh5:
	adrp	x1, l_.str.2@PAGE
Lloh6:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	bl	_git_path_buf
	ldr	w0, [sp, #8]
Lloh9:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _O_EXCL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _O_EXCL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh15:
	adrp	x9, _O_RDWR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _O_RDWR@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	orr	w1, w8, w9
	mov	w2, #384
	bl	_open
	tbnz	w0, #31, LBB0_4
; %bb.2:
	bl	_close
Lloh18:
	adrp	x19, l_.str.2@PAGE
Lloh19:
	add	x19, x19, l_.str.2@PAGEOFF
Lloh20:
	adrp	x2, l_.str.1@PAGE
Lloh21:
	add	x2, x2, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x1, x19
	bl	_git_path_buf
	ldr	w0, [sp, #8]
Lloh22:
	adrp	x8, _R_OK@GOTPAGE
Lloh23:
	ldr	x8, [x8, _R_OK@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	bl	_access
Lloh25:
	adrp	x8, l_.str.5@PAGE
Lloh26:
	add	x8, x8, l_.str.5@PAGEOFF
Lloh27:
	adrp	x9, l_.str.4@PAGE
Lloh28:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	x0, #0
	csel	x1, x9, x8, eq
	cset	w8, eq
	str	w8, [x20]
Lloh29:
	adrp	x0, l_.str.3@PAGE
Lloh30:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_git_config_set
Lloh31:
	adrp	x2, l_.str@PAGE
Lloh32:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	x1, x19
	bl	_git_path_buf
	ldr	w0, [sp, #8]
	bl	_unlink
	cbz	x0, LBB0_4
; %bb.3:
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	__
	ldr	w1, [sp, #8]
	bl	_die_errno
LBB0_4:
	add	x0, sp, #8
	bl	_strbuf_release
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_STRBUF_INIT,4,2                ; @STRBUF_INIT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\303\244"

l_.str.1:                               ; @.str.1
	.asciz	"a\314\210"

	.comm	_precomposed_unicode,4,2        ; @precomposed_unicode
l_.str.2:                               ; @.str.2
	.asciz	"%s"

	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_EXCL,4,2                     ; @O_EXCL
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_R_OK,4,2                       ; @R_OK
l_.str.3:                               ; @.str.3
	.asciz	"core.precomposeunicode"

l_.str.4:                               ; @.str.4
	.asciz	"true"

l_.str.5:                               ; @.str.5
	.asciz	"false"

l_.str.6:                               ; @.str.6
	.asciz	"failed to unlink '%s'"

.subsections_via_symbols
