	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rssd_disk_name_format
_rssd_disk_name_format:                 ## @rssd_disk_name_format
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %r15
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	_strlen
	cltq
	leaq	(%r15,%rax), %rdi
	movslq	%r12d, %r8
	leaq	(%r15,%r8), %rsi
	movb	$0, -1(%r15,%r8)
	subq	%rax, %r8
	movl	$1, %edx
	movq	$-2, %r10
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%rdx, %r8
	je	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movslq	%ebx, %r9
	imulq	$1321528399, %r9, %rbx          ## imm = 0x4EC4EC4F
	movq	%rbx, %r12
	shrq	$63, %r12
	sarq	$35, %rbx
	leal	(%rbx,%r12), %r11d
	leal	(%r11,%r11,4), %ecx
	leal	(%rcx,%rcx,4), %ecx
	addl	%r11d, %ecx
	movl	%r9d, %eax
	subl	%ecx, %eax
	addb	$97, %al
	movb	%al, (%rsi,%r10)
	addl	%r12d, %ebx
	decl	%ebx
	incq	%rdx
	decq	%r10
	cmpl	$25, %r9d
	jg	LBB0_1
## %bb.4:
	subq	%rdx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memmove
	movq	%r14, %rdi
	callq	_strlen
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_memcpy
	xorl	%eax, %eax
	jmp	LBB0_5
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_rssd_disk_name_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rssd_disk_name_format
_rssd_disk_name_format:                 ; @rssd_disk_name_format
	.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	x22, x3
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
	bl	_strlen
                                        ; kill: def $w0 killed $w0 def $x0
	mov	x8, #0
	sxtw	x10, w0
	add	x0, x19, x10
	sxtw	x11, w22
	add	x9, x19, x11
	sturb	wzr, [x9, #-1]
	sub	x10, x10, x11
	add	x10, x10, #1
	mov	w11, #60495
	movk	w11, #20164, lsl #16
	mov	w12, #26
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x8
	b.eq	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	smull	x13, w21, w11
	lsr	x14, x13, #63
	asr	x13, x13, #35
	add	w13, w13, w14
	msub	w14, w13, w12, w21
	add	w14, w14, #97
	add	x15, x9, x8
	sturb	w14, [x15, #-2]
	sub	w13, w13, #1
	sub	x8, x8, #1
	cmp	w21, #25
	mov	x21, x13
	b.gt	LBB0_1
; %bb.3:
	mov	w10, #1
	sub	w2, w10, w8
	add	x8, x9, x8
	sub	x1, x8, #1
	bl	_memmove
	mov	x0, x20
	bl	_strlen
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_memcpy
	mov	w0, #0
	b	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_rssd_disk_name_format
.subsections_via_symbols
