	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function MPPESetOptsOutput
_MPPESetOptsOutput:                     ## @MPPESetOptsOutput
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	leaq	-32(%rbp), %rsi
	callq	_ua_ntohl
	movq	_MPPE_MasterKeyValid@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_MPPE_ConfigVal
	movl	%eax, -28(%rbp)
	cmpl	$0, 8(%r15)
	jne	LBB0_5
## %bb.3:
	movq	_MPPE_OPT_BITMASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %edx
	notl	%edx
	andl	-32(%rbp), %ecx
	andl	%edx, %eax
	orl	%ecx, %eax
	movl	%eax, -28(%rbp)
	testl	%ecx, %ecx
	jne	LBB0_5
## %bb.4:
	movq	_MPPE_OPT_128BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -28(%rbp)
LBB0_5:
	movq	(%r15), %rcx
	movq	_MPPE_ANYSTATE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:
	movq	_MPPE_OPT_STATELESS@GOTPCREL(%rip), %rcx
	movl	-32(%rbp), %edx
	xorl	%eax, %edx
	andl	(%rcx), %edx
	xorl	%eax, %edx
	movl	%edx, -28(%rbp)
LBB0_7:
	movl	(%r14), %esi
	leaq	-28(%rbp), %rdi
	callq	_ua_htonl
	movq	_MODE_ACK@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_1:
	movq	_MODE_NAK@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MPPE_MasterKeyValid,4,2        ## @MPPE_MasterKeyValid
	.comm	_MODE_NAK,4,2                   ## @MODE_NAK
	.comm	_MPPE_OPT_BITMASK,4,2           ## @MPPE_OPT_BITMASK
	.comm	_MPPE_OPT_128BIT,4,2            ## @MPPE_OPT_128BIT
	.comm	_MPPE_ANYSTATE,8,3              ## @MPPE_ANYSTATE
	.comm	_MPPE_OPT_STATELESS,4,2         ## @MPPE_OPT_STATELESS
	.comm	_MODE_ACK,4,2                   ## @MODE_ACK
	.no_dead_strip	_MPPESetOptsOutput
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function MPPESetOptsOutput
_MPPESetOptsOutput:                     ; @MPPESetOptsOutput
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	w0, [x1]
	add	x1, sp, #8
	bl	_ua_ntohl
Lloh0:
	adrp	x8, _MPPE_MasterKeyValid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MPPE_MasterKeyValid@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_7
; %bb.1:
	mov	x0, x21
	mov	x1, x20
	bl	_MPPE_ConfigVal
	str	w0, [sp, #12]
	ldr	w8, [x20, #8]
	cbnz	w8, LBB0_4
; %bb.2:
Lloh3:
	adrp	x8, _MPPE_OPT_BITMASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MPPE_OPT_BITMASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w9, w0, w8
	ldr	w10, [sp, #8]
	ands	w8, w10, w8
	orr	w0, w8, w9
	str	w0, [sp, #12]
	b.ne	LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _MPPE_OPT_128BIT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MPPE_OPT_128BIT@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w0, w8, w0
	str	w0, [sp, #12]
LBB0_4:
	ldr	x8, [x20]
Lloh9:
	adrp	x9, _MPPE_ANYSTATE@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MPPE_ANYSTATE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh12:
	adrp	x8, _MPPE_OPT_STATELESS@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MPPE_OPT_STATELESS@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	bic	w9, w0, w8
	ldr	w10, [sp, #8]
	and	w8, w10, w8
	orr	w8, w8, w9
	str	w8, [sp, #12]
LBB0_6:
	ldr	w1, [x19]
	add	x0, sp, #12
	bl	_ua_htonl
Lloh15:
	adrp	x8, _MODE_ACK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MODE_ACK@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh17:
	adrp	x8, _MODE_NAK@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MODE_NAK@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_MPPE_MasterKeyValid,4,2        ; @MPPE_MasterKeyValid
	.comm	_MODE_NAK,4,2                   ; @MODE_NAK
	.comm	_MPPE_OPT_BITMASK,4,2           ; @MPPE_OPT_BITMASK
	.comm	_MPPE_OPT_128BIT,4,2            ; @MPPE_OPT_128BIT
	.comm	_MPPE_ANYSTATE,8,3              ; @MPPE_ANYSTATE
	.comm	_MPPE_OPT_STATELESS,4,2         ; @MPPE_OPT_STATELESS
	.comm	_MODE_ACK,4,2                   ; @MODE_ACK
	.no_dead_strip	_MPPESetOptsOutput
.subsections_via_symbols
