	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MPPE_InitState
_MPPE_InitState:                        ## @MPPE_InitState
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$1, %edi
	movl	$12, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movl	(%r14), %edi
	leaq	-20(%rbp), %rsi
	callq	_ua_ntohl
	movl	-20(%rbp), %edx
	movq	_MPPE_OPT_BITMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%edx, %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	jae	LBB0_4
## %bb.2:
	cltq
	leaq	l_switch.table.MPPE_InitState(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	leaq	l_switch.table.MPPE_InitState.1(%rip), %rsi
	movl	(%rsi,%rax,4), %eax
	movl	%ecx, (%rbx)
	movl	%eax, 4(%rbx)
	movq	_MPPE_OPT_STATELESS@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	andl	(%rax), %edx
	setne	%cl
	movl	%ecx, 8(%rbx)
	jmp	LBB0_6
LBB0_4:
	movq	_LogWARN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_log_Printf
	movq	%rbx, %rdi
	callq	_free
LBB0_5:
	xorl	%ebx, %ebx
LBB0_6:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPPE_OPT_BITMASK,4,2           ## @MPPE_OPT_BITMASK
	.comm	_LogWARN,4,2                    ## @LogWARN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected MPPE options 0x%08x\n"

	.comm	_MPPE_OPT_STATELESS,4,2         ## @MPPE_OPT_STATELESS
	.no_dead_strip	_MPPE_InitState
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.MPPE_InitState
l_switch.table.MPPE_InitState:
	.long	8                               ## 0x8
	.long	8                               ## 0x8
	.long	16                              ## 0x10

	.p2align	2                               ## @switch.table.MPPE_InitState.1
l_switch.table.MPPE_InitState.1:
	.long	56                              ## 0x38
	.long	40                              ## 0x28
	.long	128                             ## 0x80

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MPPE_InitState
_MPPE_InitState:                        ; @MPPE_InitState
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	mov	w0, #1
	mov	w1, #12
	bl	_calloc
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w0, [x20]
	add	x1, sp, #12
	bl	_ua_ntohl
	ldr	w2, [sp, #12]
Lloh0:
	adrp	x8, _MPPE_OPT_BITMASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPPE_OPT_BITMASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	and	w8, w8, w2
	sub	w8, w8, #128
	cmp	w8, #3
	b.hs	LBB0_3
; %bb.2:
	sbfiz	x8, x8, #2, #32
Lloh3:
	adrp	x9, l_switch.table.MPPE_InitState@PAGE
Lloh4:
	add	x9, x9, l_switch.table.MPPE_InitState@PAGEOFF
	ldr	w9, [x9, x8]
Lloh5:
	adrp	x10, l_switch.table.MPPE_InitState.1@PAGE
Lloh6:
	add	x10, x10, l_switch.table.MPPE_InitState.1@PAGEOFF
	ldr	w8, [x10, x8]
	stp	w9, w8, [x19]
Lloh7:
	adrp	x8, _MPPE_OPT_STATELESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _MPPE_OPT_STATELESS@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	tst	w8, w2
	cset	w8, ne
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _LogWARN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LogWARN@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	mov	x0, x19
	bl	_free
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MPPE_OPT_BITMASK,4,2           ; @MPPE_OPT_BITMASK
	.comm	_LogWARN,4,2                    ; @LogWARN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected MPPE options 0x%08x\n"

	.comm	_MPPE_OPT_STATELESS,4,2         ; @MPPE_OPT_STATELESS
	.no_dead_strip	_MPPE_InitState
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.MPPE_InitState
l_switch.table.MPPE_InitState:
	.long	8                               ; 0x8
	.long	8                               ; 0x8
	.long	16                              ; 0x10

	.p2align	2                               ; @switch.table.MPPE_InitState.1
l_switch.table.MPPE_InitState.1:
	.long	56                              ; 0x38
	.long	40                              ; 0x28
	.long	128                             ; 0x80

.subsections_via_symbols
