	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sunatm_if_print                ## -- Begin function sunatm_if_print
	.p2align	4, 0x90
_sunatm_if_print:                       ## @sunatm_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
	movq	(%rsi), %rbx
	movq	_PKT_BEGIN_POS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jge	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_ND_PRINT
	jmp	LBB0_5
LBB0_2:
	movq	%rdx, %r12
	movq	%rdi, %r14
	movq	8(%rsi), %r15
	cmpq	$0, (%rdi)
	je	LBB0_4
## %bb.3:
	movq	_DIR_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testb	$-128, (%r12,%rax,4)
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdi
	cmoveq	%rax, %rdi
	callq	_ND_PRINT
LBB0_4:
	movq	_ATM_UNKNOWN@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	_VCI_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%r12,%rax,4), %rdi
	callq	_EXTRACT_16BITS
	movq	_VPI_POS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r12,%rcx,4), %esi
	movq	_PKT_BEGIN_POS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	leaq	(%r12,%rcx,4), %r8
	subq	%rcx, %rbx
	subq	%rcx, %r15
	movq	%rbx, (%rsp)
	movq	%r14, %rdi
	movl	%eax, %edx
	movq	%r13, %rcx
	movq	%r15, %r9
	callq	_atm_print
	movq	_PKT_BEGIN_POS@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
LBB0_5:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PKT_BEGIN_POS,8,3              ## @PKT_BEGIN_POS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[|atm]"

	.comm	_DIR_POS,8,3                    ## @DIR_POS
L_.str.1:                               ## @.str.1
	.asciz	"Tx: "

L_.str.2:                               ## @.str.2
	.asciz	"Rx: "

	.comm	_ATM_LANE,8,3                   ## @ATM_LANE
	.comm	_ATM_LLC,8,3                    ## @ATM_LLC
	.comm	_ATM_UNKNOWN,8,3                ## @ATM_UNKNOWN
	.comm	_VCI_POS,8,3                    ## @VCI_POS
	.comm	_VPI_POS,8,3                    ## @VPI_POS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sunatm_if_print                ; -- Begin function sunatm_if_print
	.p2align	2
_sunatm_if_print:                       ; @sunatm_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
	ldr	x19, [x1]
Lloh0:
	adrp	x23, _PKT_BEGIN_POS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _PKT_BEGIN_POS@GOTPAGEOFF]
	ldr	x8, [x23]
	cmp	x19, x8
	b.ge	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	_ND_PRINT
	b	LBB0_5
LBB0_2:
	mov	x21, x2
	mov	x20, x0
	ldr	x24, [x1, #8]
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.3:
Lloh4:
	adrp	x8, _DIR_POS@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DIR_POS@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldr	w8, [x21, x8, lsl #2]
Lloh7:
	adrp	x9, l_.str.1@PAGE
Lloh8:
	add	x9, x9, l_.str.1@PAGEOFF
Lloh9:
	adrp	x10, l_.str.2@PAGE
Lloh10:
	add	x10, x10, l_.str.2@PAGEOFF
	tst	w8, #0x80
	csel	x0, x10, x9, eq
	bl	_ND_PRINT
LBB0_4:
Lloh11:
	adrp	x8, _ATM_UNKNOWN@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ATM_UNKNOWN@GOTPAGEOFF]
Lloh13:
	ldr	x22, [x8]
Lloh14:
	adrp	x8, _VCI_POS@GOTPAGE
Lloh15:
	ldr	x8, [x8, _VCI_POS@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	add	x0, x21, x8, lsl #2
	bl	_EXTRACT_16BITS
	mov	x2, x0
Lloh17:
	adrp	x8, _VPI_POS@GOTPAGE
Lloh18:
	ldr	x8, [x8, _VPI_POS@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	w1, [x21, x8, lsl #2]
	ldr	x8, [x23]
	add	x4, x21, x8, lsl #2
	sub	x6, x19, x8
	sub	x5, x24, x8
	mov	x0, x20
	mov	x3, x22
	bl	_atm_print
	ldr	x19, [x23]
LBB0_5:
	mov	x0, x19
	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 AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_PKT_BEGIN_POS,8,3              ; @PKT_BEGIN_POS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[|atm]"

	.comm	_DIR_POS,8,3                    ; @DIR_POS
l_.str.1:                               ; @.str.1
	.asciz	"Tx: "

l_.str.2:                               ; @.str.2
	.asciz	"Rx: "

	.comm	_ATM_LANE,8,3                   ; @ATM_LANE
	.comm	_ATM_LLC,8,3                    ; @ATM_LLC
	.comm	_ATM_UNKNOWN,8,3                ; @ATM_UNKNOWN
	.comm	_VCI_POS,8,3                    ; @VCI_POS
	.comm	_VPI_POS,8,3                    ; @VPI_POS
.subsections_via_symbols
