	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mppe_rekey
_mppe_rekey:                            ## @mppe_rekey
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_get_new_key_from_sha
	testl	%r14d, %r14d
	je	LBB0_1
## %bb.2:
	movq	16(%rbx), %rdi
	movq	(%rbx), %rsi
	movl	8(%rbx), %edx
	callq	_memcpy
	jmp	LBB0_3
LBB0_1:
	leaq	24(%rbx), %r14
	movq	(%rbx), %rsi
	movl	8(%rbx), %edx
	movq	%r14, %rdi
	callq	_arc4_setkey
	movq	16(%rbx), %rsi
	movq	(%rbx), %rdx
	movl	8(%rbx), %ecx
	movq	%r14, %rdi
	callq	_arc4_crypt
LBB0_3:
	movl	8(%rbx), %edx
	movq	16(%rbx), %rsi
	cmpl	$8, %edx
	jne	LBB0_5
## %bb.4:
	movabsq	$163208757457, %rax             ## imm = 0x26000000D1
	movq	%rax, (%rsi)
	movl	$158, 8(%rsi)
	movl	8(%rbx), %edx
LBB0_5:
	addq	$24, %rbx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_arc4_setkey                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mppe_rekey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function mppe_rekey
lCPI0_0:
	.long	209                             ; 0xd1
	.long	38                              ; 0x26
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_mppe_rekey:                            ; @mppe_rekey
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_get_new_key_from_sha
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x0, [x19, #16]
	ldr	x1, [x19]
	ldr	w2, [x19, #8]
	bl	_memcpy
	b	LBB0_3
LBB0_2:
	add	x20, x19, #24
	ldr	x1, [x19]
	ldr	w2, [x19, #8]
	mov	x0, x20
	bl	_arc4_setkey
	ldr	x1, [x19, #16]
	ldr	x2, [x19]
	ldr	w3, [x19, #8]
	mov	x0, x20
	bl	_arc4_crypt
LBB0_3:
	ldr	w2, [x19, #8]
	ldr	x1, [x19, #16]
	cmp	w2, #8
	b.ne	LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x1]
	mov	w8, #158
	str	w8, [x1, #8]
	ldr	w2, [x19, #8]
LBB0_5:
	add	x0, x19, #24
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_arc4_setkey
	.loh AdrpLdr	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mppe_rekey
.subsections_via_symbols
