	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atmarp_tpaddr_print
_atmarp_tpaddr_print:                   ## @atmarp_tpaddr_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ETHERTYPE_IP@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	_ETHERTYPE_TRAIL@GOTPCREL(%rip), %rax
	cmpq	%rdx, (%rax)
	je	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %rdi
	callq	_ATMTPROTO_LEN
	cmpl	$4, %eax
	jne	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	callq	_ATMTPA
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_ipaddr_string
	movslq	%eax, %rdi
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ETHERTYPE_IP,8,3               ## @ETHERTYPE_IP
	.comm	_ETHERTYPE_TRAIL,8,3            ## @ETHERTYPE_TRAIL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"<wrong proto type>"

L_.str.1:                               ## @.str.1
	.asciz	"<wrong tplen>"

	.no_dead_strip	_atmarp_tpaddr_print
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atmarp_tpaddr_print
_atmarp_tpaddr_print:                   ; @atmarp_tpaddr_print
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _ETHERTYPE_IP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETHERTYPE_IP@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _ETHERTYPE_TRAIL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ETHERTYPE_TRAIL@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x2
	ccmp	x9, x2, #4, ne
	b.ne	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_ATMTPROTO_LEN
	cmp	w0, #4
	b.ne	LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_ATMTPA
	mov	x1, x0
	mov	x0, x19
	bl	_ipaddr_string
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	b	LBB0_5
LBB0_3:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ND_PRINT
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_ETHERTYPE_IP,8,3               ; @ETHERTYPE_IP
	.comm	_ETHERTYPE_TRAIL,8,3            ; @ETHERTYPE_TRAIL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<wrong proto type>"

l_.str.1:                               ; @.str.1
	.asciz	"<wrong tplen>"

	.no_dead_strip	_atmarp_tpaddr_print
.subsections_via_symbols
