	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_ppp_crypt_xmit
_ng_ppp_crypt_xmit:                     ## @ng_ppp_crypt_xmit
	.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
	movl	%edx, %ebx
	movl	%esi, %r14d
	movl	%edi, %r12d
	callq	_NG_NODE_PRIVATE
	cmpl	$16383, %ebx                    ## imm = 0x3FFF
	jg	LBB0_6
## %bb.1:
	movq	%rax, %r15
	cmpq	$0, 8(%rax)
	je	LBB0_6
## %bb.2:
	movq	_PROT_CRYPTD@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	je	LBB0_6
## %bb.3:
	movq	(%r15), %rax
	movq	_HOOK_INDEX_ENCRYPT@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_6
## %bb.4:
	movl	%r14d, %edi
	callq	_NGI_GET_M
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_ng_ppp_addproto
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	(%r15), %rcx
	movq	(%r13), %rdx
	movq	(%rcx,%rdx,8), %rdx
	movq	%rax, %rsi
	callq	_NG_FWD_ITEM_HOOK
                                        ## implicit-def: $eax
	jmp	LBB0_8
LBB0_6:
	movl	%r12d, %edi
	movl	%r14d, %esi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ng_ppp_mp_xmit                 ## TAILCALL
LBB0_5:
	movl	%r14d, %edi
	callq	_NG_FREE_ITEM
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PROT_CRYPTD,4,2                ## @PROT_CRYPTD
	.comm	_HOOK_INDEX_ENCRYPT,8,3         ## @HOOK_INDEX_ENCRYPT
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_ng_ppp_crypt_xmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_ppp_crypt_xmit
_ng_ppp_crypt_xmit:                     ; @ng_ppp_crypt_xmit
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_NG_NODE_PRIVATE
	cmp	w20, #4, lsl #12                ; =16384
	b.ge	LBB0_5
; %bb.1:
	mov	x21, x0
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _PROT_CRYPTD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PROT_CRYPTD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	x8, #0
	ccmp	w9, w20, #4, ne
	b.eq	LBB0_5
; %bb.2:
	ldr	x8, [x21]
Lloh3:
	adrp	x23, _HOOK_INDEX_ENCRYPT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _HOOK_INDEX_ENCRYPT@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x0, x19
	bl	_NGI_GET_M
	mov	x1, x20
	mov	w2, #0
	bl	_ng_ppp_addproto
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x8, [x21]
	ldr	x9, [x23]
	ldr	x2, [x8, x9, lsl #3]
	mov	x1, x0
	bl	_NG_FWD_ITEM_HOOK
                                        ; implicit-def: $w0
	b	LBB0_7
LBB0_5:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_ng_ppp_mp_xmit
LBB0_6:
	mov	x0, x19
	bl	_NG_FREE_ITEM
Lloh5:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_PROT_CRYPTD,4,2                ; @PROT_CRYPTD
	.comm	_HOOK_INDEX_ENCRYPT,8,3         ; @HOOK_INDEX_ENCRYPT
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_ng_ppp_crypt_xmit
.subsections_via_symbols
