	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function translate_name
_translate_name:                        ## @translate_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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rdi
	xorl	%edx, %edx
	callq	_concat
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_free
	movq	%rbx, %r15
LBB0_1:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
	movb	(%r15), %r13b
	cmpb	$64, %r13b
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	cmpb	$36, %r13b
	jne	LBB0_13
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_1 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %rbx
	movzbl	1(%r15,%rcx), %eax
	testb	%al, %al
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	movsbl	%al, %edi
	callq	_IS_DIR_SEPARATOR
	leaq	1(%rbx), %rcx
	testl	%eax, %eax
	je	LBB0_4
LBB0_6:                                 ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rbx), %r14
	movl	%r14d, %edi
	callq	_alloca
	movq	%rax, %r12
	leaq	1(%r15), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
	callq	_strncpy
	movl	%ebx, %eax
	movb	$0, (%r12,%rax)
	movq	%r12, %rdi
	cmpb	$64, %r13b
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_1 Depth=1
	callq	_get_key_value
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	_std_prefix@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_1 Depth=1
	callq	_getenv
LBB0_10:                                ##   in Loop: Header=BB0_1 Depth=1
	movl	%r14d, %esi
	addq	%r15, %rsi
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	_PREFIX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_12
LBB0_13:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_std_prefix,8,3                 ## @std_prefix
	.comm	_PREFIX,8,3                     ## @PREFIX
	.no_dead_strip	_translate_name
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function translate_name
_translate_name:                        ; @translate_name
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x23, _std_prefix@GOTPAGE
Lloh1:
	ldr	x23, [x23, _std_prefix@GOTPAGEOFF]
Lloh2:
	adrp	x24, _PREFIX@GOTPAGE
Lloh3:
	ldr	x24, [x24, _PREFIX@GOTPAGEOFF]
	b	LBB0_3
LBB0_1:                                 ;   in Loop: Header=BB0_3 Depth=1
	bl	_getenv
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x1, x19, w20, uxtw
	ldr	x8, [x24]
	cmp	x0, #0
	csel	x0, x8, x0, eq
	mov	x2, #0
	bl	_concat
	mov	x20, x0
	mov	x0, x19
	bl	_free
	mov	x19, x20
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_6 Depth 2
	ldrb	w25, [x19]
	cmp	w25, #64
	b.eq	LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w25, #36
	b.ne	LBB0_10
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x8, #0
LBB0_6:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x21, x8
	add	x8, x19, x8
	ldrb	w8, [x8, #1]
	cbz	w8, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=2
	sxtb	w0, w8
	bl	_IS_DIR_SEPARATOR
	add	x8, x21, #1
	cbz	w0, LBB0_6
LBB0_8:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x20, x21, #1
	mov	x0, x20
	bl	_alloca
	mov	x22, x0
	add	x1, x19, #1
	mov	x2, x21
	bl	_strncpy
	strb	wzr, [x22, w21, uxtw]
	mov	x0, x22
	cmp	w25, #64
	b.ne	LBB0_1
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_get_key_value
	ldr	x8, [x23]
	cmp	x0, #0
	csel	x0, x8, x0, eq
	b	LBB0_2
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_std_prefix,8,3                 ; @std_prefix
	.comm	_PREFIX,8,3                     ; @PREFIX
	.no_dead_strip	_translate_name
.subsections_via_symbols
