	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sl_if_print                    ## -- Begin function sl_if_print
	.p2align	4, 0x90
_sl_if_print:                           ## @sl_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	%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	(%rsi), %ebx
	movq	_SLIP_HDRLEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movl	%ebx, %r13d
	subl	%eax, %r13d
	jl	LBB0_2
## %bb.1:
	movl	4(%rsi), %r12d
	subl	%eax, %r12d
	jl	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	movq	%rcx, %rbx
	cltq
	leaq	(%rdx,%rax,4), %r15
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	movq	%rdx, %rsi
	movq	%r15, %rdx
	movl	%r12d, %ecx
	callq	_sliplink_print
LBB0_5:
	testl	%r13d, %r13d
	jle	LBB0_7
## %bb.6:
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.8:
	movq	%r15, %rdi
	callq	_IP_V
	cmpl	$6, %eax
	je	LBB0_11
## %bb.9:
	cmpl	$4, %eax
	jne	LBB0_12
## %bb.10:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_ip_print
	jmp	LBB0_13
LBB0_2:
	movq	_tstr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	callq	_ND_PRINT
	jmp	LBB0_14
LBB0_7:
	movq	_tstr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	callq	_ND_PRINT
	addl	(%rbx), %r13d
	movl	%r13d, %ebx
	jmp	LBB0_14
LBB0_11:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_ip6_print
	jmp	LBB0_13
LBB0_12:
	movq	%r15, %rdi
	callq	_IP_V
	movslq	%eax, %rdi
	callq	_ND_PRINT
LBB0_13:
	movl	(%rbx), %ebx
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SLIP_HDRLEN,4,2                ## @SLIP_HDRLEN
	.comm	_tstr,4,2                       ## @tstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sl_if_print                    ; -- Begin function sl_if_print
	.p2align	2
_sl_if_print:                           ; @sl_if_print
	.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
	ldp	w20, w8, [x1]
Lloh0:
	adrp	x22, _SLIP_HDRLEN@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SLIP_HDRLEN@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w20, w9
	ccmp	w8, w9, #8, ge
	b.ge	LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _tstr@GOTPAGE
Lloh3:
	ldr	x8, [x8, _tstr@GOTPAGEOFF]
Lloh4:
	ldrsw	x0, [x8]
	bl	_ND_PRINT
	b	LBB0_12
LBB0_2:
	mov	x19, x0
	sxtw	x9, w9
	sub	w23, w20, w9
	sub	w20, w8, w9
	add	x21, x2, x9, lsl #2
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x2
	mov	x2, x21
	mov	x3, x20
	bl	_sliplink_print
LBB0_4:
	cmp	w23, #1
	ccmp	w20, #0, #4, ge
	b.gt	LBB0_6
; %bb.5:
Lloh5:
	adrp	x8, _tstr@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tstr@GOTPAGEOFF]
Lloh7:
	ldrsw	x0, [x8]
	bl	_ND_PRINT
	ldr	w8, [x22]
	add	w20, w8, w23
	b	LBB0_12
LBB0_6:
	mov	x0, x21
	bl	_IP_V
	cmp	w0, #6
	b.eq	LBB0_9
; %bb.7:
	cmp	w0, #4
	b.ne	LBB0_10
; %bb.8:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ip_print
	b	LBB0_11
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_ip6_print
	b	LBB0_11
LBB0_10:
	mov	x0, x21
	bl	_IP_V
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_ND_PRINT
LBB0_11:
	ldr	w20, [x22]
LBB0_12:
	mov	x0, 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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_SLIP_HDRLEN,4,2                ; @SLIP_HDRLEN
	.comm	_tstr,4,2                       ; @tstr
.subsections_via_symbols
