	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__crypt_gensalt_md5_rn          ## -- Begin function _crypt_gensalt_md5_rn
	.p2align	4, 0x90
__crypt_gensalt_md5_rn:                 ## @_crypt_gensalt_md5_rn
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	%rcx, %rax
	cmpl	$3, %edx
	jl	LBB0_5
## %bb.1:
	cmpl	$8, %r8d
	jl	LBB0_5
## %bb.2:
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.3:
	cmpq	$1000, %rdi                     ## imm = 0x3E8
	jne	LBB0_4
LBB0_6:
	movw	$12580, (%rax)                  ## imm = 0x3124
	movb	$36, 2(%rax)
	movzbl	(%rsi), %r11d
	movzbl	1(%rsi), %ecx
	shll	$8, %ecx
	movl	%r11d, %edi
	orl	%ecx, %edi
	movzbl	2(%rsi), %r10d
	movl	%r10d, %ebx
	shll	$16, %ebx
	orl	%ecx, %ebx
	movq	__crypt_itoa64@GOTPCREL(%rip), %r9
	movq	(%r9), %rcx
	andl	$63, %r11d
	movb	(%rcx,%r11), %cl
	movb	%cl, 3(%rax)
	movq	(%r9), %rcx
	shrl	$6, %edi
	andl	$63, %edi
	movb	(%rcx,%rdi), %cl
	movb	%cl, 4(%rax)
	movq	(%r9), %rcx
	shrl	$12, %ebx
	andl	$63, %ebx
	movb	(%rcx,%rbx), %cl
	movb	%cl, 5(%rax)
	movq	(%r9), %rcx
	shrq	$2, %r10
	movb	(%rcx,%r10), %cl
	movb	%cl, 6(%rax)
	movb	$0, 7(%rax)
	cmpl	$6, %edx
	jb	LBB0_10
## %bb.7:
	cmpl	$12, %r8d
	jb	LBB0_10
## %bb.8:
	movzbl	3(%rsi), %ebx
	movzbl	4(%rsi), %edi
	shll	$8, %edi
	movl	%ebx, %ecx
	orl	%edi, %ecx
	movzbl	5(%rsi), %edx
	movl	%edx, %esi
	shll	$16, %esi
	orl	%edi, %esi
	movq	(%r9), %rdi
	andl	$63, %ebx
	movb	(%rdi,%rbx), %bl
	movb	%bl, 7(%rax)
	movq	(%r9), %rdi
	shrl	$6, %ecx
	andl	$63, %ecx
	movb	(%rdi,%rcx), %cl
	movb	%cl, 8(%rax)
	shrl	$12, %esi
	andl	$63, %esi
	movb	(%rdi,%rsi), %cl
	movb	%cl, 9(%rax)
	shrq	$2, %rdx
	movb	(%rdi,%rdx), %cl
	movb	%cl, 10(%rax)
	leaq	11(%rax), %rcx
	jmp	LBB0_9
LBB0_5:
	movq	%rax, %rcx
	movl	$0, %eax
	testl	%r8d, %r8d
	jg	LBB0_9
	jmp	LBB0_10
LBB0_4:
	movq	%rax, %rcx
	xorl	%eax, %eax
LBB0_9:
	movb	$0, (%rcx)
LBB0_10:
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__crypt_itoa64,8,3              ## @_crypt_itoa64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__crypt_gensalt_md5_rn          ; -- Begin function _crypt_gensalt_md5_rn
	.p2align	2
__crypt_gensalt_md5_rn:                 ; @_crypt_gensalt_md5_rn
	.cfi_startproc
; %bb.0:
	cmp	w2, #3
	b.lt	LBB0_7
; %bb.1:
	cmp	w4, #8
	b.lt	LBB0_7
; %bb.2:
	cbz	x0, LBB0_4
; %bb.3:
	cmp	x0, #1000
	b.ne	LBB0_9
LBB0_4:
	mov	w8, #12580
	strh	w8, [x3]
	mov	w8, #36
	strb	w8, [x3, #2]
	ldrb	w8, [x1]
	ldrb	w9, [x1, #1]
	and	x10, x8, #0x3f
	mov	x11, x8
	bfi	w11, w9, #8, #8
	ldrb	w12, [x1, #2]
	lsl	w9, w9, #8
	bfi	w9, w12, #16, #8
Lloh0:
	adrp	x8, __crypt_itoa64@GOTPAGE
Lloh1:
	ldr	x8, [x8, __crypt_itoa64@GOTPAGEOFF]
	ldr	x13, [x8]
	ldrb	w10, [x13, x10]
	strb	w10, [x3, #3]
	ldr	x10, [x8]
	ubfx	x11, x11, #6, #6
	ldrb	w10, [x10, x11]
	strb	w10, [x3, #4]
	ldr	x10, [x8]
	ubfx	x9, x9, #12, #6
	ldrb	w9, [x10, x9]
	strb	w9, [x3, #5]
	ldr	x9, [x8]
	lsr	x10, x12, #2
	ldrb	w9, [x9, x10]
	strb	w9, [x3, #6]
	strb	wzr, [x3, #7]
	cmp	w2, #6
	b.lo	LBB0_8
; %bb.5:
	cmp	w4, #12
	b.lo	LBB0_8
; %bb.6:
	ldrb	w9, [x1, #3]
	ldrb	w10, [x1, #4]
	and	x11, x9, #0x3f
                                        ; kill: def $w9 killed $w9 killed $x9 def $x9
	bfi	w9, w10, #8, #8
	ldrb	w12, [x1, #5]
	lsl	w10, w10, #8
	bfi	w10, w12, #16, #8
	ldr	x13, [x8]
	ldrb	w11, [x13, x11]
	strb	w11, [x3, #7]
	ldr	x8, [x8]
	ubfx	x9, x9, #6, #6
	ldrb	w9, [x8, x9]
	strb	w9, [x3, #8]
	ubfx	x9, x10, #12, #6
	ldrb	w9, [x8, x9]
	strb	w9, [x3, #9]
	lsr	x9, x12, #2
	ldrb	w8, [x8, x9]
	strb	w8, [x3, #10]
	add	x8, x3, #11
	b	LBB0_10
LBB0_7:
	mov	x8, x3
	mov	x3, #0
	cmp	w4, #0
	b.gt	LBB0_10
LBB0_8:
	mov	x0, x3
	ret
LBB0_9:
	mov	x8, x3
	mov	x3, #0
LBB0_10:
	strb	wzr, [x8]
	mov	x0, x3
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	__crypt_itoa64,8,3              ; @_crypt_itoa64
.subsections_via_symbols
