	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nbt_udp138_print               ## -- Begin function nbt_udp138_print
	.p2align	4, 0x90
_nbt_udp138_print:                      ## @nbt_udp138_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
	movslq	%edx, %rax
	leaq	(%rsi,%rax,4), %rbx
	movq	8(%rdi), %rax
	cmpq	%rax, %rbx
	cmovaq	%rax, %rbx
	cmpq	%rsi, %rbx
	jbe	LBB0_8
## %bb.1:
	movq	%rdi, %r14
	movq	_startbuf@GOTPCREL(%rip), %rax
	movq	%rsi, (%rax)
	cmpl	$2, (%rdi)
	jge	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %r15
	jmp	LBB0_7
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	xorl	%r8d, %r8d
	callq	_smb_fdata
	leaq	L_.str.3(%rip), %r15
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	%rax, %r12
	addq	$12, %rax
	cmpq	%rbx, %rax
	jae	LBB0_7
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	movq	%r14, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_print_smb
LBB0_7:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_startbuf,8,3                   ## @startbuf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NBT UDP PACKET(138)"

L_.str.1:                               ## @.str.1
	.asciz	"\n>>> NBT UDP PACKET(138) Res=[rw] ID=[rw] IP=[b.b.b.b] Port=[rd] Length=[rd] Res2=[rw]\nSourceName=[n1]\nDestName=[n1]\n#"

L_.str.2:                               ## @.str.2
	.asciz	"\377SMB"

L_.str.3:                               ## @.str.3
	.asciz	"\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nbt_udp138_print               ; -- Begin function nbt_udp138_print
	.p2align	2
_nbt_udp138_print:                      ; @nbt_udp138_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
	add	x8, x1, w2, sxtw #2
	ldr	x9, [x0, #8]
	cmp	x8, x9
	csel	x20, x9, x8, hi
	cmp	x20, x1
	b.ls	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _startbuf@GOTPAGE
Lloh1:
	ldr	x8, [x8, _startbuf@GOTPAGEOFF]
Lloh2:
	str	x1, [x8]
	ldr	w8, [x0]
	cmp	w8, #2
	b.ge	LBB0_4
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_8
LBB0_3:
	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_4:
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	mov	w4, #0
	bl	_smb_fdata
	add	x8, x0, #12
	cmp	x0, #0
	ccmp	x8, x20, #2, ne
	b.hs	LBB0_7
; %bb.5:
	mov	x21, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #4
	bl	_memcmp
	cbnz	x0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_print_smb
LBB0_7:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_8:
	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	_ND_PRINT
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_startbuf,8,3                   ; @startbuf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NBT UDP PACKET(138)"

l_.str.1:                               ; @.str.1
	.asciz	"\n>>> NBT UDP PACKET(138) Res=[rw] ID=[rw] IP=[b.b.b.b] Port=[rd] Length=[rd] Res2=[rw]\nSourceName=[n1]\nDestName=[n1]\n#"

l_.str.2:                               ; @.str.2
	.asciz	"\377SMB"

l_.str.3:                               ; @.str.3
	.asciz	"\n"

.subsections_via_symbols
