	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppp_hdlc_if_print              ## -- Begin function ppp_hdlc_if_print
	.p2align	4, 0x90
_ppp_hdlc_if_print:                     ## @ppp_hdlc_if_print
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	4(%rsi), %ebx
	cmpl	$1, %ebx
	jg	LBB0_2
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
LBB0_13:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %r12
	movq	%rdi, %r14
	movl	(%rdx), %eax
	leal	-129(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_3
## %bb.8:
	movq	%r14, %rdi
	movq	%r12, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_chdlc_if_print                 ## TAILCALL
LBB0_3:
	movslq	(%rsi), %r15
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.4:
	cmpl	$3, %ebx
	jbe	LBB0_1
## %bb.5:
	cmpl	$0, (%r14)
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_ND_PRINT
LBB0_7:
	leaq	8(%r12), %rdi
	callq	_EXTRACT_16BITS
	movl	%eax, %ebx
	addq	$16, %r12
	addl	$-4, %r15d
	movq	_ppptype2str@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	movl	%ebx, %edx
	callq	_tok2str
	movslq	%eax, %rdi
	callq	_ND_PRINT
	movq	%r14, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	movl	%r15d, %ecx
	callq	_handle_ppp
	movl	$4, %ebx
	jmp	LBB0_13
LBB0_9:
	cmpl	$3, %ebx
	jbe	LBB0_1
## %bb.10:
	cmpl	$0, (%r14)
	je	LBB0_12
## %bb.11:
	movq	%r15, %rdi
	callq	_ND_PRINT
LBB0_12:
	movslq	12(%r12), %rdi
	callq	_ND_PRINT
	movl	$2, %ebx
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[|ppp]"

	.comm	_ppptype2str,4,2                ## @ppptype2str
L_.str.3:                               ## @.str.3
	.asciz	"unknown PPP protocol (0x%04x)"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ppp_hdlc_if_print              ; -- Begin function ppp_hdlc_if_print
	.p2align	2
_ppp_hdlc_if_print:                     ; @ppp_hdlc_if_print
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	w21, [x1, #4]
	cmp	w21, #1
	b.gt	LBB0_3
LBB0_1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND_PRINT
LBB0_2:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x20, x2
	mov	x19, x0
	ldr	w8, [x2]
	sub	w9, w8, #129
	cmp	w9, #2
	b.hs	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_chdlc_if_print
LBB0_5:
	ldrsw	x22, [x1]
	cmp	w8, #128
	b.ne	LBB0_10
; %bb.6:
	cmp	w21, #3
	b.ls	LBB0_1
; %bb.7:
	ldr	w8, [x19]
	cbz	w8, LBB0_9
; %bb.8:
	mov	x0, x22
	bl	_ND_PRINT
LBB0_9:
	add	x0, x20, #8
	bl	_EXTRACT_16BITS
	mov	x21, x0
	add	x20, x20, #16
	sub	w22, w22, #4
Lloh2:
	adrp	x8, _ppptype2str@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ppptype2str@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x1, l_.str.3@PAGE
Lloh6:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x2, x21
	bl	_tok2str
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	mov	x3, x22
	bl	_handle_ppp
	mov	w21, #4
	b	LBB0_2
LBB0_10:
	cmp	w21, #3
	b.ls	LBB0_1
; %bb.11:
	ldr	w8, [x19]
	cbz	w8, LBB0_13
; %bb.12:
	mov	x0, x22
	bl	_ND_PRINT
LBB0_13:
	ldrsw	x0, [x20, #12]
	bl	_ND_PRINT
	mov	w21, #2
	b	LBB0_2
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[|ppp]"

	.comm	_ppptype2str,4,2                ; @ppptype2str
l_.str.3:                               ; @.str.3
	.asciz	"unknown PPP protocol (0x%04x)"

.subsections_via_symbols
