	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlate
_xlate:                                 ## @xlate
	.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	%rdi, %rbx
	movb	(%rdi), %r15b
	cmpb	$64, %r15b
	je	LBB0_5
## %bb.1:
	movq	_add_underscore@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
	callq	_strlen
	leaq	2(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %r14
	movb	$95, (%rax)
	leaq	1(%rax), %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	%r14, %rbx
LBB0_5:
	movq	_killat@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.6:
	xorl	%eax, %eax
	cmpb	$64, %r15b
	sete	%al
	addq	%rax, %rbx
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movb	$0, (%rax)
LBB0_8:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_add_stdcall_underscore@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.3:
	movq	%rbx, %rdi
	movl	$64, %esi
	callq	_strchr
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_add_underscore,8,3             ## @add_underscore
	.comm	_add_stdcall_underscore,8,3     ## @add_stdcall_underscore
	.comm	_killat,8,3                     ## @killat
	.no_dead_strip	_xlate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlate
_xlate:                                 ; @xlate
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	ldrb	w21, [x0]
	cmp	w21, #64
	b.eq	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _add_underscore@GOTPAGE
Lloh1:
	ldr	x8, [x8, _add_underscore@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
LBB0_2:
	mov	x0, x19
	bl	_strlen
	add	x0, x0, #2
	bl	_xmalloc
	mov	x20, x0
	mov	w8, #95
	strb	w8, [x0], #1
	mov	x1, x19
	bl	_strcpy
	mov	x19, x20
LBB0_3:
Lloh3:
	adrp	x8, _killat@GOTPAGE
Lloh4:
	ldr	x8, [x8, _killat@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.4:
	cmp	w21, #64
	cinc	x19, x19, eq
	mov	x0, x19
	mov	w1, #64
	bl	_strchr
	cbz	x0, LBB0_6
; %bb.5:
	strb	wzr, [x0]
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh6:
	adrp	x8, _add_stdcall_underscore@GOTPAGE
Lloh7:
	ldr	x8, [x8, _add_stdcall_underscore@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.8:
	mov	x0, x19
	mov	w1, #64
	bl	_strchr
	cbnz	x0, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_add_underscore,8,3             ; @add_underscore
	.comm	_add_stdcall_underscore,8,3     ; @add_stdcall_underscore
	.comm	_killat,8,3                     ; @killat
	.no_dead_strip	_xlate
.subsections_via_symbols
