	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sppp_pap_open
_sppp_pap_open:                         ## @sppp_pap_open
	.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
	movq	%rdi, %rbx
	movq	32(%rdi), %rax
	movq	_PPP_PAP@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	cmpq	%rcx, %rax
	jne	LBB0_3
## %bb.1:
	movl	(%rbx), %ecx
	movq	_LCP_OPT_AUTH_PROTO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	btl	%edx, %ecx
	movq	%rax, %rcx
	jae	LBB0_3
## %bb.2:
	movl	8(%rbx), %eax
	movq	24(%rbx), %rcx
	movq	_IDX_PAP@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	%eax, (%rcx,%rdx,4)
	movq	_STATE_REQ_SENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_pap@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_sppp_cp_change_state
	movq	(%r14), %rcx
LBB0_3:
	cmpq	%rcx, 16(%rbx)
	jne	LBB0_4
## %bb.5:
	movq	_pap@GOTPCREL(%rip), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	leaq	12(%rbx), %rdi
	movl	4(%rbx), %esi
	movq	_sppp_pap_my_TO@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rcx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_callout_reset                  ## TAILCALL
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPP_PAP,8,3                    ## @PPP_PAP
	.comm	_LCP_OPT_AUTH_PROTO,4,2         ## @LCP_OPT_AUTH_PROTO
	.comm	_IDX_PAP,8,3                    ## @IDX_PAP
	.comm	_pap,8,3                        ## @pap
	.comm	_STATE_REQ_SENT,4,2             ## @STATE_REQ_SENT
	.comm	_sppp_pap_my_TO,4,2             ## @sppp_pap_my_TO
	.no_dead_strip	_sppp_pap_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sppp_pap_open
_sppp_pap_open:                         ; @sppp_pap_open
	.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	x19, x0
	ldr	x8, [x0, #32]
Lloh0:
	adrp	x20, _PPP_PAP@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PPP_PAP@GOTPAGEOFF]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w9, [x19]
Lloh2:
	adrp	x10, _LCP_OPT_AUTH_PROTO@GOTPAGE
Lloh3:
	ldr	x10, [x10, _LCP_OPT_AUTH_PROTO@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	lsr	w9, w9, w10
	tbz	w9, #0, LBB0_3
; %bb.2:
	ldr	w8, [x19, #8]
	ldr	x9, [x19, #24]
Lloh5:
	adrp	x10, _IDX_PAP@GOTPAGE
Lloh6:
	ldr	x10, [x10, _IDX_PAP@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	str	w8, [x9, x10, lsl #2]
Lloh8:
	adrp	x8, _STATE_REQ_SENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _STATE_REQ_SENT@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x0, _pap@GOTPAGE
Lloh12:
	ldr	x0, [x0, _pap@GOTPAGEOFF]
	mov	x1, x19
	bl	_sppp_cp_change_state
	ldr	x9, [x20]
	b	LBB0_4
LBB0_3:
	mov	x9, x8
LBB0_4:
	ldr	x8, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
Lloh13:
	adrp	x8, _pap@GOTPAGE
Lloh14:
	ldr	x8, [x8, _pap@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	add	x0, x19, #12
Lloh16:
	adrp	x8, _sppp_pap_my_TO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _sppp_pap_my_TO@GOTPAGEOFF]
	ldr	w1, [x19, #4]
Lloh18:
	ldr	w2, [x8]
	mov	x3, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_callout_reset
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_PPP_PAP,8,3                    ; @PPP_PAP
	.comm	_LCP_OPT_AUTH_PROTO,4,2         ; @LCP_OPT_AUTH_PROTO
	.comm	_IDX_PAP,8,3                    ; @IDX_PAP
	.comm	_pap,8,3                        ; @pap
	.comm	_STATE_REQ_SENT,4,2             ; @STATE_REQ_SENT
	.comm	_sppp_pap_my_TO,4,2             ; @sppp_pap_my_TO
	.no_dead_strip	_sppp_pap_open
.subsections_via_symbols
