	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_tcp_print                  ## -- Begin function smb_tcp_print
	.p2align	4, 0x90
_smb_tcp_print:                         ## @smb_tcp_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
	cmpl	$4, %edx
	jl	LBB0_14
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	(%rdi), %r12
	subq	%rsi, %r12
	jb	LBB0_14
## %bb.2:
	shrq	$2, %r12
	cmpl	$4, %r12d
	jge	LBB0_3
LBB0_14:
	movq	_tstr@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ND_PRINT                       ## TAILCALL
LBB0_3:
	movl	%edx, %r13d
	leaq	4(%rbx), %rdi
	callq	_EXTRACT_24BITS
	movq	_startbuf@GOTPCREL(%rip), %rcx
	movq	%rbx, (%rcx)
	cmpl	$4, %eax
	jl	LBB0_12
## %bb.4:
	cmpl	$8, %r12d
	jb	LBB0_12
## %bb.5:
	leaq	16(%rbx), %r15
	leaq	L_.str(%rip), %rsi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	%r15, %rdi
	movl	$4, %edx
	callq	_memcmp
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	testq	%rax, %rax
	je	LBB0_6
LBB0_12:
	leaq	L_.str.4(%rip), %rdi
	jmp	LBB0_13
LBB0_6:
	movslq	%r12d, %rax
	leaq	(%rbx,%rax,4), %rbx
	leal	-4(%r12), %ecx
	movl	%edx, %eax
	subl	%ecx, %eax
	jbe	LBB0_7
## %bb.8:
	addl	$-4, %r13d
	cmpl	%r13d, %edx
	jbe	LBB0_10
## %bb.9:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_11
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_11
LBB0_10:
	movslq	%eax, %rdi
LBB0_11:
	callq	_ND_PRINT
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	leaq	(%r15,%rax,4), %rax
	cmpq	%rax, %rbx
	cmovaq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_print_smb                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_startbuf,8,3                   ## @startbuf
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\377SMB"

L_.str.1:                               ## @.str.1
	.asciz	" WARNING: Packet is continued in later TCP segments\n"

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

L_.str.4:                               ## @.str.4
	.asciz	" SMB-over-TCP packet:(raw data or continuation?)\n"

	.comm	_tstr,4,2                       ## @tstr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_smb_tcp_print                  ; -- Begin function smb_tcp_print
	.p2align	2
_smb_tcp_print:                         ; @smb_tcp_print
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	subs	w23, w2, #4
	b.lt	LBB0_3
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	subs	x8, x8, x1
	b.lo	LBB0_3
; %bb.2:
	lsr	x25, x8, #2
	subs	w24, w25, #4
	b.ge	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _tstr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _tstr@GOTPAGEOFF]
Lloh2:
	ldrsw	x0, [x8]
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_ND_PRINT
LBB0_5:
	add	x0, x20, #4
	bl	_EXTRACT_24BITS
Lloh3:
	adrp	x8, _startbuf@GOTPAGE
Lloh4:
	ldr	x8, [x8, _startbuf@GOTPAGEOFF]
Lloh5:
	str	x20, [x8]
	cmp	w0, #4
	b.lt	LBB0_8
; %bb.6:
	cmp	w25, #8
	b.lo	LBB0_8
; %bb.7:
	mov	x21, x0
	add	x22, x20, #16
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_9
LBB0_8:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_4
LBB0_9:
	add	x20, x20, w25, sxtw #2
Lloh10:
	adrp	x8, l_.str.3@PAGE
Lloh11:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh12:
	adrp	x9, l_.str.1@PAGE
Lloh13:
	add	x9, x9, l_.str.1@PAGEOFF
	sub	w10, w21, w24
	sxtw	x10, w10
	cmp	w21, w23
	csel	x9, x9, x10, hi
	cmp	w21, w24
	csel	x0, x8, x9, ls
	bl	_ND_PRINT
	add	x8, x22, w21, uxtw #2
	cmp	x20, x8
	csel	x2, x8, x20, hi
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_print_smb
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_startbuf,8,3                   ; @startbuf
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\377SMB"

l_.str.1:                               ; @.str.1
	.asciz	" WARNING: Packet is continued in later TCP segments\n"

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

l_.str.4:                               ; @.str.4
	.asciz	" SMB-over-TCP packet:(raw data or continuation?)\n"

	.comm	_tstr,4,2                       ; @tstr
.subsections_via_symbols
