	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_tpkt_data
_get_tpkt_data:                         ## @get_tpkt_data
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, %ebx
	movl	%esi, %r14d
	movq	%rdi, %r15
	movq	%rdx, %rdi
	callq	_nfct_help
	movq	%rax, %r12
	movl	%ebx, %edi
	callq	_CTINFO2DIR
	movl	%eax, %ebx
	leaq	-88(%rbp), %rcx
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	$4, %edx
	callq	_skb_header_pointer
	xorl	%r13d, %r13d
	testq	%rax, %rax
	je	LBB0_23
## %bb.1:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax), %eax
	leal	(%r14,%rax,4), %esi
	movl	(%r15), %r12d
	subl	%esi, %r12d
	jle	LBB0_22
## %bb.2:
	movq	16(%rbp), %rcx
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r14
	testq	%r14, %r14
	je	LBB0_3
## %bb.10:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movslq	(%rax), %rax
	movl	(%rcx), %r15d
	addl	%eax, %r15d
	subl	%r15d, %r12d
	cmpl	$5, %r12d
	jl	LBB0_22
## %bb.11:
	cmpb	$3, (%r14,%rax)
	jne	LBB0_22
## %bb.12:
	addq	%rax, %r14
	cmpb	$0, 1(%r14)
	jne	LBB0_22
	jmp	LBB0_13
LBB0_3:
	movq	_h323_buffer@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_skb_header_pointer
	movq	%rax, %r14
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_BUG_ON
	cmpl	$4, %r12d
	jb	LBB0_7
## %bb.4:
	cmpb	$3, (%r14)
	jne	LBB0_7
## %bb.5:
	cmpb	$0, 1(%r14)
	je	LBB0_6
LBB0_7:
	movl	%ebx, %ecx
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rax
	movl	%ecx, -68(%rbp)                 ## 4-byte Spill
	movslq	%ecx, %rcx
	movl	(%rax,%rcx,4), %esi
	testl	%esi, %esi
	jle	LBB0_23
## %bb.8:
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rbx), %rax
	cmpl	%r12d, (%rax,%rsi,4)
	jle	LBB0_9
## %bb.21:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_pr_debug
	movl	-68(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_22
LBB0_9:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	movq	(%rbx), %rax
	movl	(%rax,%rsi,4), %ecx
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx)
	movq	16(%rbp), %rcx
LBB0_20:
	movl	%r15d, (%rcx)
	movl	$0, (%rax,%rsi,4)
	movl	$1, %r13d
	jmp	LBB0_23
LBB0_6:
	xorl	%r15d, %r15d
	movq	16(%rbp), %rcx
LBB0_13:
	movzwl	2(%r14), %eax
	rolw	$8, %ax
	cmpw	$4, %ax
	jae	LBB0_14
LBB0_22:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	$0, (%rax,%rcx,4)
LBB0_23:
	movl	%r13d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movzwl	%ax, %edx
	cmpl	%r12d, %edx
	jle	LBB0_19
## %bb.15:
	cmpl	$4, %r12d
	jne	LBB0_17
## %bb.16:
	addl	$-4, %edx
	leaq	L_.str.2(%rip), %rdi
	xorl	%r13d, %r13d
	movl	%edx, %r14d
	movl	%edx, %esi
	xorl	%eax, %eax
	callq	_pr_debug
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	%ebx, %rcx
	movl	%r14d, (%rax,%rcx,4)
	jmp	LBB0_23
LBB0_19:
	addq	$4, %r14
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r14, (%rax)
	addl	$-4, %edx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%edx, (%rax)
	addl	$4, %r15d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movslq	%ebx, %rsi
	jmp	LBB0_20
LBB0_17:
	xorl	%eax, %eax
	callq	_net_ratelimit
	testq	%rax, %rax
	je	LBB0_22
## %bb.18:
	leaq	L_.str.3(%rip), %rdi
	callq	_printk
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_h323_buffer,8,3                ## @h323_buffer
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nf_ct_h323: previous packet indicated separate TPKT data of %hu bytes\n"

L_.str.1:                               ## @.str.1
	.asciz	"nf_ct_h323: fragmented TPKT\n"

L_.str.2:                               ## @.str.2
	.asciz	"nf_ct_h323: separate TPKT header indicates there will be TPKT data of %hu bytes\n"

L_.str.3:                               ## @.str.3
	.asciz	"nf_ct_h323: incomplete TPKT (fragmented?)\n"

	.no_dead_strip	_get_tpkt_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_tpkt_data
_get_tpkt_data:                         ; @get_tpkt_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x21, x6
	mov	x22, x5
	mov	x23, x4
	mov	x20, x3
	mov	x24, x1
	mov	x25, x0
	mov	x0, x2
	bl	_nfct_help
	mov	x19, x0
	mov	x0, x20
	bl	_CTINFO2DIR
	mov	x20, x0
	add	x3, sp, #8
	mov	x0, x25
	mov	x1, x24
	mov	w2, #4
	bl	_skb_header_pointer
	cbz	x0, LBB0_17
; %bb.1:
	ldr	w8, [x0]
	add	w1, w24, w8, lsl #2
	ldr	w8, [x25]
	sub	w24, w8, w1
	cmp	w24, #1
	b.lt	LBB0_16
; %bb.2:
	ldr	x9, [x23]
	cbz	x9, LBB0_6
; %bb.3:
	ldr	w8, [x21]
	ldrsw	x10, [x22]
	add	w8, w10, w8
	sub	w24, w24, w8
	cmp	w24, #5
	b.lt	LBB0_16
; %bb.4:
	add	x25, x9, x10
	ldrb	w9, [x25]
	cmp	w9, #3
	b.ne	LBB0_16
; %bb.5:
	ldrb	w9, [x25, #1]
	cbnz	w9, LBB0_16
	b	LBB0_15
LBB0_6:
Lloh0:
	adrp	x8, _h323_buffer@GOTPAGE
Lloh1:
	ldr	x8, [x8, _h323_buffer@GOTPAGEOFF]
Lloh2:
	ldr	x3, [x8]
	mov	x0, x25
	mov	x2, x24
	bl	_skb_header_pointer
	mov	x25, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_BUG_ON
	cmp	w24, #4
	b.lo	LBB0_9
; %bb.7:
	ldrb	w8, [x25]
	cmp	w8, #3
	b.ne	LBB0_9
; %bb.8:
	ldrb	w8, [x25, #1]
	cbz	w8, LBB0_15
LBB0_9:
	ldr	x8, [x19]
	ldr	w8, [x8, w20, sxtw #2]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.10:
	sxtw	x26, w20
	str	x8, [sp]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	ldr	x8, [x19]
	ldr	w8, [x8, x26, lsl #2]
	cmp	w8, w24
	b.le	LBB0_13
; %bb.11:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_pr_debug
	b	LBB0_16
LBB0_12:
	mov	w0, #0
	b	LBB0_17
LBB0_13:
	mov	w8, #0
	str	x25, [x23]
	ldr	x9, [x19]
	ldr	w10, [x9, x26, lsl #2]
	str	w10, [x22]
LBB0_14:
	str	w8, [x21]
	str	wzr, [x9, x26, lsl #2]
	mov	w0, #1
	b	LBB0_17
LBB0_15:
	ldrh	w9, [x25, #2]
	rev16	w9, w9
	subs	w26, w9, #4
	b.hs	LBB0_18
LBB0_16:
	mov	w0, #0
	ldr	x8, [x19]
	str	wzr, [x8, w20, sxtw #2]
LBB0_17:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_18:
	cmp	w9, w24
	b.le	LBB0_21
; %bb.19:
	cmp	w24, #4
	b.ne	LBB0_22
; %bb.20:
	str	x26, [sp]
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_pr_debug
	mov	w0, #0
	ldr	x8, [x19]
	str	w26, [x8, w20, sxtw #2]
	b	LBB0_17
LBB0_21:
	add	x9, x25, #4
	str	x9, [x23]
	str	w26, [x22]
	add	w8, w8, #4
	ldr	x9, [x19]
                                        ; kill: def $w20 killed $w20 killed $x20 def $x20
	sxtw	x26, w20
	b	LBB0_14
LBB0_22:
	bl	_net_ratelimit
	cbz	x0, LBB0_16
; %bb.23:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_printk
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_h323_buffer,8,3                ; @h323_buffer
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nf_ct_h323: previous packet indicated separate TPKT data of %hu bytes\n"

l_.str.1:                               ; @.str.1
	.asciz	"nf_ct_h323: fragmented TPKT\n"

l_.str.2:                               ; @.str.2
	.asciz	"nf_ct_h323: separate TPKT header indicates there will be TPKT data of %hu bytes\n"

l_.str.3:                               ; @.str.3
	.asciz	"nf_ct_h323: incomplete TPKT (fragmented?)\n"

	.no_dead_strip	_get_tpkt_data
.subsections_via_symbols
