	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mkfullname
_mkfullname:                            ## @mkfullname
	.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	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %r12
	callq	_strlen
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_strlen
	movl	%eax, %ebx
	addl	%r13d, %ebx
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movl	%ebx, %ecx
	addl	%eax, %ecx
	addl	%eax, %ebx
	incl	%ebx
	movq	_mkfullname.buf(%rip), %rdi
	cmpl	_mkfullname.bufl(%rip), %ecx
	jl	LBB0_5
## %bb.1:
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movl	%ebx, %esi
	callq	_realloc
	jmp	LBB0_4
LBB0_3:
	movl	%ebx, %edi
	callq	_malloc
LBB0_4:
	movq	%rax, %rdi
	movq	%rax, _mkfullname.buf(%rip)
LBB0_5:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.7:
	movl	%ebx, _mkfullname.bufl(%rip)
	movq	%r12, %rsi
	callq	_strcpy
	movq	_mkfullname.buf(%rip), %rdi
	movq	%r15, %rsi
	callq	_strcat
	movq	_mkfullname.buf(%rip), %rdi
	movq	%r14, %rsi
	callq	_strcat
	movq	_mkfullname.buf(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movl	$0, _mkfullname.bufl(%rip)
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_mkfullname.buf,8,3 ## @mkfullname.buf
.zerofill __DATA,__bss,_mkfullname.bufl,4,2 ## @mkfullname.bufl
	.no_dead_strip	_mkfullname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mkfullname
_mkfullname:                            ; @mkfullname
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_strlen
	mov	x22, x0
	mov	x0, x20
	bl	_strlen
	add	w22, w0, w22
	mov	x0, x19
	bl	_strlen
	adrp	x24, _mkfullname.bufl@PAGE
	ldr	w8, [x24, _mkfullname.bufl@PAGEOFF]
	add	w9, w22, w0
	cmp	w9, w8
	add	w22, w9, #1
	adrp	x23, _mkfullname.buf@PAGE
	ldr	x0, [x23, _mkfullname.buf@PAGEOFF]
	b.lt	LBB0_5
; %bb.1:
	cbz	x0, LBB0_3
; %bb.2:
	mov	x1, x22
	bl	_realloc
	b	LBB0_4
LBB0_3:
	mov	x0, x22
	bl	_malloc
LBB0_4:
	str	x0, [x23, _mkfullname.buf@PAGEOFF]
LBB0_5:
	cbz	x0, LBB0_7
; %bb.6:
	str	w22, [x24, _mkfullname.bufl@PAGEOFF]
	mov	x1, x21
	bl	_strcpy
	ldr	x0, [x23, _mkfullname.buf@PAGEOFF]
	mov	x1, x20
	bl	_strcat
	ldr	x0, [x23, _mkfullname.buf@PAGEOFF]
	mov	x1, x19
	bl	_strcat
	ldr	x0, [x23, _mkfullname.buf@PAGEOFF]
	b	LBB0_8
LBB0_7:
	str	wzr, [x24, _mkfullname.bufl@PAGEOFF]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_mkfullname.buf,8,3 ; @mkfullname.buf
.zerofill __DATA,__bss,_mkfullname.bufl,4,2 ; @mkfullname.bufl
	.no_dead_strip	_mkfullname
.subsections_via_symbols
