	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function insert_scrambled_password
_insert_scrambled_password:             ## @insert_scrambled_password
	.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
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	%rsp, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD5_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	32(%r15), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
	leal	15(%rax), %ecx
	andl	$-16, %ecx
	testl	%eax, %eax
	movl	$16, %r12d
	cmovnel	%ecx, %r12d
	movq	8(%r15), %rsi
	movq	_POS_AUTH@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	_LEN_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_memcpy
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.1:
	movslq	%ebx, %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	%r12d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_3 Depth 2
	leaq	-84(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_MD5Init
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rax,%rcx,8), %r12
	movq	%r12, %rdi
	callq	_strlen
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_MD5Update
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$16, %edx
	callq	_MD5Update
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_MD5Final
	movq	%r13, %rax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_3:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	24(%r15), %rdx
	movzbl	(%r14,%rcx), %ebx
	xorb	(%rdx,%rax), %bl
	movb	%bl, (%r14,%rcx)
	movq	8(%r15), %rdx
	movl	16(%r15), %esi
	addl	%eax, %esi
	movslq	%esi, %rsi
	movb	%bl, (%rdx,%rsi)
	incq	%rcx
	incq	%rax
	cmpq	$16, %rcx
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %r13
	cmpq	-64(%rbp), %r13                 ## 8-byte Folded Reload
	jb	LBB0_2
LBB0_5:
	movq	-56(%rbp), %rsp                 ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5_DIGEST_LENGTH,4,2          ## @MD5_DIGEST_LENGTH
	.comm	_POS_AUTH,8,3                   ## @POS_AUTH
	.comm	_LEN_AUTH,4,2                   ## @LEN_AUTH
	.no_dead_strip	_insert_scrambled_password
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function insert_scrambled_password
_insert_scrambled_password:             ; @insert_scrambled_password
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #16
	mov	x21, x1
	mov	x19, x0
	mov	x22, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _MD5_DIGEST_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MD5_DIGEST_LENGTH@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	ldr	x23, [x0, #32]
	ldr	w8, [x0]
	add	w9, w8, #15
	and	w9, w9, #0xfffffff0
	mov	w10, #16
	cmp	w8, #0
	csel	w24, w10, w9, eq
Lloh8:
	adrp	x8, _POS_AUTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _POS_AUTH@GOTPAGEOFF]
	ldr	x9, [x0, #8]
Lloh10:
	ldr	x8, [x8]
	add	x1, x9, x8
Lloh11:
	adrp	x8, _LEN_AUTH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LEN_AUTH@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_memcpy
	cmp	w24, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x25, #0
	sxtw	x26, w21
LBB0_2:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_3 Depth 2
	sub	x0, x29, #76
	bl	_MD5Init
	ldr	x21, [x23, x26, lsl #3]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	sub	x0, x29, #76
	mov	x1, x21
	bl	_MD5Update
	sub	x0, x29, #76
	mov	x1, x20
	mov	w2, #16
	bl	_MD5Update
	sub	x1, x29, #76
	mov	x0, x20
	bl	_MD5Final
	mov	x8, #0
LBB0_3:                                 ;   Parent Loop BB0_2 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x9, [x19, #24]
	add	x9, x9, x25
	ldrb	w9, [x9, x8]
	ldrb	w10, [x20, x8]
	eor	w9, w10, w9
	strb	w9, [x20, x8]
	ldr	x10, [x19, #8]
	ldr	w11, [x19, #16]
	add	w12, w25, w8
	add	w11, w12, w11
	strb	w9, [x10, w11, sxtw]
	add	x8, x8, #1
	cmp	x8, #16
	b.ne	LBB0_3
; %bb.4:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x25, x25, #16
	cmp	x25, x24
	b.lo	LBB0_2
LBB0_5:
	mov	sp, x22
	ldur	x8, [x29, #-72]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_7
; %bb.6:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_7:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5_DIGEST_LENGTH,4,2          ; @MD5_DIGEST_LENGTH
	.comm	_POS_AUTH,8,3                   ; @POS_AUTH
	.comm	_LEN_AUTH,4,2                   ; @LEN_AUTH
	.no_dead_strip	_insert_scrambled_password
.subsections_via_symbols
