	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MPPESetOptsInput
_MPPESetOptsInput:                      ## @MPPESetOptsInput
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_MODE_ACK@GOTPCREL(%rip), %r13
	movl	(%r13), %r12d
	movl	(%rsi), %edi
	leaq	-48(%rbp), %rsi
	callq	_ua_ntohl
	movq	_MPPE_MasterKeyValid@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_MPPE_ConfigVal
	movl	%eax, -44(%rbp)
	movl	-48(%rbp), %ecx
	movq	_MPPE_OPT_MASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	testl	%edx, %ecx
	movq	_MODE_NAK@GOTPCREL(%rip), %r8
	movl	(%r8), %ebx
	cmovnel	%ebx, %r12d
	movq	_MPPE_OPT_STATELESS@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	(%r15), %rsi
	testl	%ecx, %edx
	je	LBB0_7
## %bb.5:
	movq	_MPPE_STATEFUL@GOTPCREL(%rip), %rdi
	movl	%ebx, %r13d
	cmpq	(%rdi), %rsi
	je	LBB0_10
## %bb.6:
	orl	%edx, %eax
	jmp	LBB0_9
LBB0_1:
	cmpl	$0, -48(%rbp)
	je	LBB0_3
## %bb.2:
	movl	$0, -48(%rbp)
	movl	(%r14), %esi
	leaq	-48(%rbp), %rdi
	callq	_ua_htonl
	movq	_MODE_NAK@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_21
LBB0_7:
	movq	_MPPE_STATELESS@GOTPCREL(%rip), %rdi
	movl	%ebx, %r13d
	cmpq	(%rdi), %rsi
	je	LBB0_10
## %bb.8:
	notl	%edx
	andl	%edx, %eax
LBB0_9:
	movl	%eax, -44(%rbp)
	movl	%r12d, %r13d
LBB0_10:
	cmpq	$0, 8(%r15)
	je	LBB0_14
## %bb.11:
	movq	%r8, %rbx
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdi
	callq	_ua_htonl
	movl	-48(%rbp), %eax
	cmpl	-44(%rbp), %eax
	je	LBB0_13
## %bb.12:
	movl	(%rbx), %r13d
LBB0_13:
	movl	%r13d, %ebx
	jmp	LBB0_21
LBB0_14:
	movq	_MPPE_OPT_BITMASK@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, %esi
	andl	%ecx, %esi
	addl	$-128, %esi
	cmpl	$3, %esi
	cmovbl	%r13d, %ebx
	notl	%edx
	andl	%edx, %eax
	testb	$-126, %cl
	je	LBB0_15
LBB0_19:
	orl	$130, %eax
	jmp	LBB0_20
LBB0_3:
	movl	(%r13), %ebx
	jmp	LBB0_21
LBB0_15:
	testb	$-128, %cl
	jne	LBB0_16
## %bb.17:
	testb	$-127, %cl
	je	LBB0_19
## %bb.18:
	orl	$129, %eax
	jmp	LBB0_20
LBB0_16:
	orl	$128, %eax
LBB0_20:
	movl	%eax, -44(%rbp)
	movl	(%r14), %esi
	leaq	-44(%rbp), %rdi
	callq	_ua_htonl
LBB0_21:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_ACK,4,2                   ## @MODE_ACK
	.comm	_MPPE_MasterKeyValid,4,2        ## @MPPE_MasterKeyValid
	.comm	_MODE_NAK,4,2                   ## @MODE_NAK
	.comm	_MPPE_OPT_MASK,4,2              ## @MPPE_OPT_MASK
	.comm	_MPPE_OPT_STATELESS,4,2         ## @MPPE_OPT_STATELESS
	.comm	_MPPE_STATEFUL,8,3              ## @MPPE_STATEFUL
	.comm	_MPPE_STATELESS,8,3             ## @MPPE_STATELESS
	.comm	_MPPE_OPT_BITMASK,4,2           ## @MPPE_OPT_BITMASK
	.no_dead_strip	_MPPESetOptsInput
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MPPESetOptsInput
_MPPESetOptsInput:                      ; @MPPESetOptsInput
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x23, _MODE_ACK@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MODE_ACK@GOTPAGEOFF]
	ldr	w22, [x23]
	ldr	w0, [x1]
	add	x1, sp, #8
	bl	_ua_ntohl
Lloh2:
	adrp	x8, _MPPE_MasterKeyValid@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MPPE_MasterKeyValid@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_MPPE_ConfigVal
	str	w0, [sp, #12]
Lloh5:
	adrp	x9, _MPPE_OPT_MASK@GOTPAGE
Lloh6:
	ldr	x9, [x9, _MPPE_OPT_MASK@GOTPAGEOFF]
	ldr	w8, [sp, #8]
Lloh7:
	ldr	w10, [x9]
Lloh8:
	adrp	x21, _MODE_NAK@GOTPAGE
Lloh9:
	ldr	x21, [x21, _MODE_NAK@GOTPAGEOFF]
	ldr	w9, [x21]
	bics	wzr, w8, w10
	csel	w10, w22, w9, eq
Lloh10:
	adrp	x11, _MPPE_OPT_STATELESS@GOTPAGE
Lloh11:
	ldr	x11, [x11, _MPPE_OPT_STATELESS@GOTPAGEOFF]
Lloh12:
	ldr	w11, [x11]
	ldr	x12, [x20]
	tst	w11, w8
	b.eq	LBB0_6
; %bb.2:
Lloh13:
	adrp	x13, _MPPE_STATEFUL@GOTPAGE
Lloh14:
	ldr	x13, [x13, _MPPE_STATEFUL@GOTPAGEOFF]
Lloh15:
	ldr	x13, [x13]
	mov	x22, x9
	cmp	x12, x13
	b.eq	LBB0_9
; %bb.3:
	orr	w0, w11, w0
	b	LBB0_8
LBB0_4:
	ldr	w8, [sp, #8]
	cbz	w8, LBB0_13
; %bb.5:
	str	wzr, [sp, #8]
	ldr	w1, [x19]
	add	x0, sp, #8
	bl	_ua_htonl
Lloh16:
	adrp	x8, _MODE_NAK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MODE_NAK@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
	b	LBB0_19
LBB0_6:
Lloh19:
	adrp	x13, _MPPE_STATELESS@GOTPAGE
Lloh20:
	ldr	x13, [x13, _MPPE_STATELESS@GOTPAGEOFF]
Lloh21:
	ldr	x13, [x13]
	mov	x22, x9
	cmp	x12, x13
	b.eq	LBB0_9
; %bb.7:
	bic	w0, w0, w11
LBB0_8:
	str	w0, [sp, #12]
	mov	x22, x10
LBB0_9:
	ldr	x10, [x20, #8]
	cbz	x10, LBB0_11
; %bb.10:
	ldr	w1, [x19]
	add	x0, sp, #12
	bl	_ua_htonl
	ldp	w8, w9, [sp, #8]
	ldr	w10, [x21]
	cmp	w8, w9
	csel	w20, w22, w10, eq
	b	LBB0_19
LBB0_11:
Lloh22:
	adrp	x10, _MPPE_OPT_BITMASK@GOTPAGE
Lloh23:
	ldr	x10, [x10, _MPPE_OPT_BITMASK@GOTPAGEOFF]
Lloh24:
	ldr	w10, [x10]
	and	w11, w10, w8
	sub	w11, w11, #128
	cmp	w11, #3
	csel	w20, w22, w9, lo
	bic	w9, w0, w10
	mov	w10, #130
	tst	w8, w10
	b.eq	LBB0_14
LBB0_12:
	orr	w8, w9, w10
	b	LBB0_18
LBB0_13:
	ldr	w20, [x23]
	b	LBB0_19
LBB0_14:
	tbnz	w8, #7, LBB0_17
; %bb.15:
	mov	w10, #129
	tst	w8, w10
	b.ne	LBB0_12
; %bb.16:
	mov	w8, #130
	orr	w8, w9, w8
	b	LBB0_18
LBB0_17:
	orr	w8, w9, #0x80
LBB0_18:
	str	w8, [sp, #12]
	ldr	w1, [x19]
	add	x0, sp, #12
	bl	_ua_htonl
LBB0_19:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_ACK,4,2                   ; @MODE_ACK
	.comm	_MPPE_MasterKeyValid,4,2        ; @MPPE_MasterKeyValid
	.comm	_MODE_NAK,4,2                   ; @MODE_NAK
	.comm	_MPPE_OPT_MASK,4,2              ; @MPPE_OPT_MASK
	.comm	_MPPE_OPT_STATELESS,4,2         ; @MPPE_OPT_STATELESS
	.comm	_MPPE_STATEFUL,8,3              ; @MPPE_STATEFUL
	.comm	_MPPE_STATELESS,8,3             ; @MPPE_STATELESS
	.comm	_MPPE_OPT_BITMASK,4,2           ; @MPPE_OPT_BITMASK
	.no_dead_strip	_MPPESetOptsInput
.subsections_via_symbols
