	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function r_cmd_replace_name_def
_r_cmd_replace_name_def:                ## @r_cmd_replace_name_def
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rsi, %r12
	xorl	%ebx, %ebx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	testq	%r12, %r12
	jle	LBB0_3
## %bb.2:
	leaq	3(%r12), %rdi
	movq	%rdx, %rbx
	callq	_malloc
	movq	%rbx, %rdx
	movq	%rax, %rbx
LBB0_3:
	movq	16(%rbp), %rax
	testq	%rdx, %rdx
	je	LBB0_5
## %bb.4:
	testq	%r13, %r13
	jle	LBB0_5
## %bb.6:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	leaq	3(%r13), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	callq	_malloc
	movq	%rax, %r14
	movq	$0, (%r15)
	xorl	%r15d, %r15d
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.7:
	testq	%r14, %r14
	je	LBB0_9
## %bb.8:
	leaq	3(%r12), %rsi
	leaq	L_.str(%rip), %r15
	movq	%rbx, %rdi
	movq	%r15, %rdx
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	callq	_snprintf
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	callq	_snprintf
	addq	$2, %r12
	addq	$2, %r13
	movq	16(%rbp), %rax
	movq	%rax, (%rsp)
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	callq	_r_cmd_replace_name
	movq	%rax, %r15
	jmp	LBB0_9
LBB0_5:
	movq	$0, (%rax)
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
LBB0_9:
	movq	%rbx, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movq	%r15, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"L%s;"

	.no_dead_strip	_r_cmd_replace_name_def
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function r_cmd_replace_name_def
_r_cmd_replace_name_def:                ; @r_cmd_replace_name_def
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x6
	mov	x21, x5
	mov	x22, x4
	mov	x23, x3
	mov	x26, x2
	mov	x25, x1
	mov	x27, x0
	mov	x19, #0
	cbz	x0, LBB0_3
; %bb.1:
	cmp	x25, #1
	b.lt	LBB0_3
; %bb.2:
	add	x0, x25, #3
	bl	_malloc
	mov	x19, x0
LBB0_3:
	cbz	x26, LBB0_8
; %bb.4:
	cmp	x23, #0
	b.le	LBB0_8
; %bb.5:
	str	x21, [sp, #8]                   ; 8-byte Folded Spill
	add	x21, x23, #3
	mov	x0, x21
	bl	_malloc
	mov	x24, x0
	mov	x28, #0
	str	xzr, [x20]
	cbz	x19, LBB0_9
; %bb.6:
	cbz	x24, LBB0_9
; %bb.7:
	add	x1, x25, #3
Lloh0:
	adrp	x28, l_.str@PAGE
Lloh1:
	add	x28, x28, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x28
	mov	x3, x27
	bl	_snprintf
	mov	x0, x24
	mov	x1, x21
	mov	x2, x28
	mov	x3, x26
	bl	_snprintf
	add	x1, x25, #2
	add	x3, x23, #2
	mov	x0, x19
	mov	x2, x24
	mov	x4, x22
	ldr	x5, [sp, #8]                    ; 8-byte Folded Reload
	mov	x6, x20
	bl	_r_cmd_replace_name
	mov	x28, x0
	b	LBB0_9
LBB0_8:
	mov	x24, #0
	mov	x28, #0
	str	xzr, [x20]
LBB0_9:
	mov	x0, x19
	bl	_free
	mov	x0, x24
	bl	_free
	mov	x0, x28
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"L%s;"

	.no_dead_strip	_r_cmd_replace_name_def
.subsections_via_symbols
