	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sppp_pap_scr
_sppp_pap_scr:                          ## @sppp_pap_scr
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	movq	_IDX_PAP@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	movq	(%rax,%rcx,8), %rdx
	incq	%rdx
	movq	%rdx, (%rax,%rcx,8)
	movq	8(%rdi), %rax
	movq	(%r15), %rcx
	movq	%rdx, (%rax,%rcx,8)
	movl	(%rdi), %edi
	movq	_AUTHKEYLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sppp_strnlen
	movq	%rax, %r14
	movq	%rax, -32(%rbp)
	movl	4(%rbx), %edi
	movq	_AUTHNAMELEN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_sppp_strnlen
	movq	%rax, -40(%rbp)
	movq	_PAP_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	8(%rbx), %rcx
	movq	(%r15), %rsi
	movq	(%rcx,%rsi,8), %rcx
	movl	(%rbx), %r10d
	movl	4(%rbx), %r11d
	subq	$8, %rsp
	leaq	-32(%rbp), %r15
	movq	_pap@GOTPCREL(%rip), %rdi
	leaq	-40(%rbp), %r9
	movq	%rbx, %rsi
	movl	$8, %r8d
	pushq	$0
	pushq	%r10
	pushq	%r14
	pushq	%r15
	pushq	$8
	pushq	%r11
	pushq	%rax
	callq	_sppp_auth_send
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDX_PAP,8,3                    ## @IDX_PAP
	.comm	_AUTHKEYLEN,4,2                 ## @AUTHKEYLEN
	.comm	_AUTHNAMELEN,4,2                ## @AUTHNAMELEN
	.comm	_pap,4,2                        ## @pap
	.comm	_PAP_REQ,4,2                    ## @PAP_REQ
	.no_dead_strip	_sppp_pap_scr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sppp_pap_scr
_sppp_pap_scr:                          ; @sppp_pap_scr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
	ldr	x8, [x0, #16]
Lloh0:
	adrp	x21, _IDX_PAP@GOTPAGE
Lloh1:
	ldr	x21, [x21, _IDX_PAP@GOTPAGEOFF]
	ldr	x9, [x21]
	lsl	x9, x9, #3
	ldr	x10, [x8, x9]
	add	x10, x10, #1
	str	x10, [x8, x9]
	ldr	x8, [x0, #8]
	ldr	x9, [x21]
	str	x10, [x8, x9, lsl #3]
	ldr	w0, [x0]
Lloh2:
	adrp	x8, _AUTHKEYLEN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AUTHKEYLEN@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_sppp_strnlen
	mov	x20, x0
	str	x0, [sp, #32]
	ldr	w0, [x19, #4]
Lloh5:
	adrp	x8, _AUTHNAMELEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _AUTHNAMELEN@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_sppp_strnlen
	mov	x6, x0
	str	x0, [sp, #40]
Lloh8:
	adrp	x8, _PAP_REQ@GOTPAGE
Lloh9:
	ldr	x8, [x8, _PAP_REQ@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	ldr	x8, [x19, #8]
	ldr	x9, [x21]
	ldr	x3, [x8, x9, lsl #3]
	ldp	w8, w7, [x19]
	stp	w8, wzr, [sp, #24]
	add	x8, sp, #32
	stp	x8, x20, [sp, #8]
	mov	w8, #8
	str	w8, [sp]
Lloh11:
	adrp	x0, _pap@GOTPAGE
Lloh12:
	ldr	x0, [x0, _pap@GOTPAGEOFF]
	add	x5, sp, #40
	mov	x1, x19
	mov	w4, #8
	bl	_sppp_auth_send
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IDX_PAP,8,3                    ; @IDX_PAP
	.comm	_AUTHKEYLEN,4,2                 ; @AUTHKEYLEN
	.comm	_AUTHNAMELEN,4,2                ; @AUTHNAMELEN
	.comm	_pap,4,2                        ; @pap
	.comm	_PAP_REQ,4,2                    ; @PAP_REQ
	.no_dead_strip	_sppp_pap_scr
.subsections_via_symbols
