	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function encrypt_ms_key
_encrypt_ms_key:                        ## @encrypt_ms_key
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -168(%rbp)                 ## 8-byte Spill
	movq	%r8, %r12
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	movl	%edx, -132(%rbp)                ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	movq	%rdi, -152(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MD5_MAC_LEN@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r13
	leaq	-64(%rbp), %rdi
	movl	-132(%rbp), %esi                ## 4-byte Reload
	callq	_WPA_PUT_BE16
	leal	1(%r15), %eax
	movl	%eax, %r15d
	andl	$240, %r15d
	addl	$16, %r15d
	testb	$15, %al
	cmovel	%eax, %r15d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	%r15d, %edx
	callq	_os_memset
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	movq	%rdx, (%rbx)
	leaq	8(%rbx), %rdi
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	callq	_os_memcpy
	movslq	%r15d, %rax
	movq	24(%rbp), %rcx
	movq	%rax, (%rcx)
	testl	%eax, %eax
	jle	LBB0_23
## %bb.1:
	xorl	%ecx, %ecx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_3 Depth=1
	movb	$1, %cl
	subl	%eax, %r15d
	jle	LBB0_23
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
                                        ##     Child Loop BB0_19 Depth 2
                                        ##     Child Loop BB0_21 Depth 2
	movq	%r12, -96(%rbp)
	movq	-168(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -128(%rbp)
	testb	$1, %cl
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r14), %rax
	leaq	(,%rax,8), %rcx
	movq	%rbx, %rdx
	subq	%rcx, %rdx
	movq	%rdx, -88(%rbp)
	movq	%rax, -120(%rbp)
	movl	$2, %edi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-160(%rbp), %rax                ## 8-byte Reload
	movq	%rax, -88(%rbp)
	movslq	(%r14), %rax
	movq	%rax, -120(%rbp)
	leaq	-64(%rbp), %rax
	movq	%rax, -80(%rbp)
	movq	$16, -112(%rbp)
	movl	$3, %edi
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	leaq	-96(%rbp), %rsi
	leaq	-128(%rbp), %rdx
	movq	%r13, %rcx
	callq	_md5_vector
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_2
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$4, %eax
	jb	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	leaq	(,%rax,8), %rcx
	addq	%r13, %rcx
	cmpq	%rcx, %rbx
	jae	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rbx,%rax,8), %rcx
	cmpq	%rcx, %r13
	jae	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ecx, %ecx
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%rcx, %rdx
	notq	%rdx
	addq	%rax, %rdx
	movq	%rax, %rsi
	andq	$3, %rsi
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13,%rcx,8), %rdi
	xorq	%rdi, (%rbx)
	addq	$8, %rbx
	incq	%rcx
	decq	%rsi
	jne	LBB0_19
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$3, %rdx
	jb	LBB0_2
	.p2align	4, 0x90
LBB0_21:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%r13,%rcx,8), %rdx
	xorq	%rdx, (%rbx)
	movq	8(%r13,%rcx,8), %rdx
	xorq	%rdx, 8(%rbx)
	movq	16(%r13,%rcx,8), %rdx
	xorq	%rdx, 16(%rbx)
	movq	24(%r13,%rcx,8), %rdx
	xorq	%rdx, 24(%rbx)
	addq	$32, %rbx
	addq	$4, %rcx
	cmpq	%rcx, %rax
	jne	LBB0_21
	jmp	LBB0_2
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ecx
	andl	$-4, %ecx
	leaq	-4(%rcx), %rsi
	movq	%rsi, %rdx
	shrq	$2, %rdx
	incq	%rdx
	testq	%rsi, %rsi
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movups	(%rbx,%rsi,8), %xmm0
	movups	16(%rbx,%rsi,8), %xmm1
	movups	32(%rbx,%rsi,8), %xmm2
	movups	48(%rbx,%rsi,8), %xmm3
	xorps	(%r13,%rsi,8), %xmm0
	xorps	16(%r13,%rsi,8), %xmm1
	movups	%xmm0, (%rbx,%rsi,8)
	movups	%xmm1, 16(%rbx,%rsi,8)
	xorps	32(%r13,%rsi,8), %xmm2
	xorps	48(%r13,%rsi,8), %xmm3
	movups	%xmm2, 32(%rbx,%rsi,8)
	movups	%xmm3, 48(%rbx,%rsi,8)
	addq	$8, %rsi
	addq	$-2, %rdi
	jne	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	testb	$1, %dl
	je	LBB0_17
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movups	(%rbx,%rsi,8), %xmm0
	movups	16(%rbx,%rsi,8), %xmm1
	xorps	(%r13,%rsi,8), %xmm0
	xorps	16(%r13,%rsi,8), %xmm1
	movups	%xmm0, (%rbx,%rsi,8)
	movups	%xmm1, 16(%rbx,%rsi,8)
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	(%rbx,%rcx,8), %rbx
	cmpq	%rax, %rcx
	je	LBB0_2
	jmp	LBB0_18
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%esi, %esi
	testb	$1, %dl
	jne	LBB0_16
	jmp	LBB0_17
LBB0_23:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.24:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_MD5_MAC_LEN,4,2                ## @MD5_MAC_LEN
	.no_dead_strip	_encrypt_ms_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function encrypt_ms_key
_encrypt_ms_key:                        ; @encrypt_ms_key
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #80
	mov	x25, x7
	mov	x24, x6
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x26, x1
	mov	x27, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x28, _MD5_MAC_LEN@GOTPAGE
Lloh4:
	ldr	x28, [x28, _MD5_MAC_LEN@GOTPAGEOFF]
	ldr	w8, [x28]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x22, x9, x8
	mov	sp, x22
	sub	x0, x29, #104
	mov	x1, x2
	bl	_WPA_PUT_BE16
	add	w8, w26, #1
	and	w9, w8, #0xf0
	add	w9, w9, #16
	tst	w8, #0xf
	csinc	w23, w9, w26, ne
	mov	x0, x24
	mov	w1, #0
	mov	x2, x23
	bl	_os_memset
	mov	x0, x24
	str	x26, [x0], #8
	mov	x1, x27
	sub	x27, x29, #104
	mov	x2, x26
	bl	_os_memcpy
	sxtw	x8, w23
	str	x8, [x25]
	cmp	w23, #1
	b.lt	LBB0_16
; %bb.1:
	mov	w8, #0
	add	x25, x22, #32
	mov	w26, #16
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x9, x24
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	w23, w23, w8
	mov	w8, #1
	mov	x24, x9
	cmp	w23, #0
	b.le	LBB0_16
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
                                        ;     Child Loop BB0_15 Depth 2
	stur	x20, [x29, #-128]
	stur	x19, [x29, #-152]
	tbz	w8, #0, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x28]
	sub	x9, x24, x8, lsl #3
	stur	x9, [x29, #-120]
	stur	x8, [x29, #-144]
	mov	w0, #2
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldrsw	x8, [x28]
	stp	x21, x27, [x29, #-120]
	stp	x8, x26, [x29, #-144]
	mov	w0, #3
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	sub	x1, x29, #128
	sub	x2, x29, #152
	mov	x3, x22
	bl	_md5_vector
	ldr	w8, [x28]
	cmp	w8, #1
	b.lt	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #8
	b.lo	LBB0_13
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	lsl	x9, x8, #3
	add	x10, x24, x9
	add	x9, x22, x9
	cmp	x24, x9
	ccmp	x22, x10, #2, lo
	b.lo	LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	and	x10, x8, #0xfffffff8
	add	x9, x24, x10, lsl #3
	add	x11, x24, #32
	mov	x12, x25
	mov	x13, x10
LBB0_11:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11]
	eor.16b	v0, v4, v0
	eor.16b	v1, v5, v1
	eor.16b	v2, v6, v2
	eor.16b	v3, v7, v3
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #8
	b.ne	LBB0_11
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	cmp	x10, x8
	b.eq	LBB0_3
	b	LBB0_14
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x10, #0
	mov	x9, x24
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x11, x22, x10, lsl #3
	sub	x10, x8, x10
LBB0_15:                                ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x12, [x11], #8
	ldr	x13, [x9]
	eor	x12, x13, x12
	str	x12, [x9], #8
	subs	x10, x10, #1
	b.ne	LBB0_15
	b	LBB0_3
LBB0_16:
	ldur	x8, [x29, #-88]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.17:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MD5_MAC_LEN,4,2                ; @MD5_MAC_LEN
	.no_dead_strip	_encrypt_ms_key
.subsections_via_symbols
