	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_check_data_len
_st_check_data_len:                     ## @st_check_data_len
	.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
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	16(%rdi), %rdi
	callq	_skb_tailroom
	movl	%eax, %r12d
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pr_debug
	testl	%ebx, %ebx
	je	LBB0_1
## %bb.2:
	cmpl	%ebx, %r12d
	jge	LBB0_6
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	movl	%r12d, %edx
	callq	_pr_err
	movq	16(%r14), %rdi
	callq	_kfree_skb
	jmp	LBB0_4
LBB0_1:
	movzbl	%r15b, %edi
	movq	%r14, %rsi
	callq	_st_send_frame
LBB0_4:
	movq	_ST_W4_PACKET_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	$0, (%r14)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_6:
	movq	_ST_W4_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%r14)
	movl	%ebx, (%r14)
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"len %d room %d"

L_.str.1:                               ## @.str.1
	.asciz	"Data length is too large len %d room %d"

	.comm	_ST_W4_DATA,4,2                 ## @ST_W4_DATA
	.comm	_ST_W4_PACKET_TYPE,4,2          ## @ST_W4_PACKET_TYPE
	.no_dead_strip	_st_check_data_len
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_check_data_len
_st_check_data_len:                     ; @st_check_data_len
	.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
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0, #16]
	bl	_skb_tailroom
	mov	x22, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	bl	_pr_debug
	cbz	w20, LBB0_3
; %bb.1:
	cmp	w22, w20
	b.ge	LBB0_5
; %bb.2:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	mov	x2, x22
	bl	_pr_err
	ldr	x0, [x19, #16]
	bl	_kfree_skb
	b	LBB0_4
LBB0_3:
	mov	x0, x21
	mov	x1, x19
	bl	_st_send_frame
LBB0_4:
	mov	w20, #0
Lloh4:
	adrp	x8, _ST_W4_PACKET_TYPE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ST_W4_PACKET_TYPE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	wzr, [x19]
	stp	xzr, xzr, [x19, #8]
	b	LBB0_6
LBB0_5:
Lloh7:
	adrp	x8, _ST_W4_DATA@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ST_W4_DATA@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	w20, [x19]
LBB0_6:
	mov	x0, x20
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"len %d room %d"

l_.str.1:                               ; @.str.1
	.asciz	"Data length is too large len %d room %d"

	.comm	_ST_W4_DATA,4,2                 ; @ST_W4_DATA
	.comm	_ST_W4_PACKET_TYPE,4,2          ; @ST_W4_PACKET_TYPE
	.no_dead_strip	_st_check_data_len
.subsections_via_symbols
