	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SendDataWithUDP                ## -- Begin function SendDataWithUDP
	.p2align	4, 0x90
_SendDataWithUDP:                       ## @SendDataWithUDP
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%eax, %eax
	callq	_Tick64
	testq	%r14, %r14
	je	LBB0_20
## %bb.1:
	testq	%r12, %r12
	je	LBB0_20
## %bb.2:
	movq	%rax, %rbx
	cmpq	$0, 24(%r12)
	jne	LBB0_4
## %bb.3:
	movq	_RECV_BUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Malloc
	movq	%rax, 24(%r12)
LBB0_4:
	movq	(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	cmpq	%rbx, %rax
	jle	LBB0_7
## %bb.6:
	movq	16(%r12), %rax
	cmpq	$0, (%rax)
	jle	LBB0_20
LBB0_7:
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_FreeBuf
	movq	16(%r12), %rax
	cmpq	$0, (%rax)
	jle	LBB0_19
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_NewBuf
	movq	%rax, %r15
	movq	%rax, %rdi
	leaq	-112(%rbp), %rsi
	movl	$64, %edx
	callq	_WriteBuf
	movq	(%r15), %rax
	movq	_UDP_BUF_SIZE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jg	LBB0_13
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	16(%r12), %rdi
	callq	_GetNext
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %r13
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_WriteBufInt
	movq	16(%r13), %rsi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_WriteBuf
	movl	8(%r13), %eax
	movq	8(%r12), %rcx
	addl	%eax, 8(%rcx)
	movl	(%r13), %eax
	addl	%eax, 4(%rcx)
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	%r13, %rdi
	callq	_FreeBlock
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	8(%r15), %rbx
	movq	_SE_UDP_SIGN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_Copy
	movq	8(%r12), %rax
	movl	(%rax), %edi
	callq	_Endian32
	movq	%rax, 16(%rbx)
	movq	(%r12), %rax
	movl	16(%rax), %edi
	leal	1(%rdi), %ecx
	movl	%ecx, 16(%rax)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_Endian64
	movq	%rax, 32(%rbx)
	movq	(%r12), %rsi
	movl	8(%rsi), %edx
	addq	$12, %rsi
	movq	(%r15), %r8
	movq	8(%r15), %rcx
	movq	%r14, %rdi
	callq	_SendTo
	movq	%rax, %rbx
	movq	_SOCK_LATER@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str(%rip), %rdi
	callq	_Debug
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	(%r15), %rbx
	je	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	cmpl	$0, (%r14)
	jne	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_Debug
	jmp	LBB0_18
LBB0_19:
	movq	%r12, %rdi
	callq	_GenNextKeepAliveSpan
	addq	-120(%rbp), %rax                ## 8-byte Folded Reload
	movq	(%r12), %rcx
	movq	%rax, (%rcx)
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_RECV_BUF_SIZE,4,2              ## @RECV_BUF_SIZE
	.comm	_UDP_BUF_SIZE,8,3               ## @UDP_BUF_SIZE
	.comm	_SE_UDP_SIGN,4,2                ## @SE_UDP_SIGN
	.comm	_SOCK_LATER,8,3                 ## @SOCK_LATER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"."

L_.str.1:                               ## @.str.1
	.asciz	"******* SendTo Error !!!\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SendDataWithUDP                ; -- Begin function SendDataWithUDP
	.p2align	2
_SendDataWithUDP:                       ; @SendDataWithUDP
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	bl	_Tick64
	cbz	x21, LBB0_18
; %bb.1:
	cbz	x19, LBB0_18
; %bb.2:
	mov	x20, x0
	ldr	x8, [x19, #24]
	cbnz	x8, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _RECV_BUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RECV_BUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_Malloc
	str	x0, [x19, #24]
LBB0_4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [x19, #16]
	ldr	x9, [x9]
	cmp	x8, #0
	ccmp	x8, x20, #4, ne
	ccmp	x9, #1, #0, gt
	b.lt	LBB0_18
; %bb.5:
Lloh6:
	adrp	x26, _UDP_BUF_SIZE@GOTPAGE
Lloh7:
	ldr	x26, [x26, _UDP_BUF_SIZE@GOTPAGEOFF]
Lloh8:
	adrp	x27, _SE_UDP_SIGN@GOTPAGE
Lloh9:
	ldr	x27, [x27, _SE_UDP_SIGN@GOTPAGEOFF]
Lloh10:
	adrp	x22, l_.str@PAGE
Lloh11:
	add	x22, x22, l_.str@PAGEOFF
Lloh12:
	adrp	x28, _SOCK_LATER@GOTPAGE
Lloh13:
	ldr	x28, [x28, _SOCK_LATER@GOTPAGEOFF]
Lloh14:
	adrp	x23, l_.str.1@PAGE
Lloh15:
	add	x23, x23, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	bl	_FreeBuf
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	cmp	x8, #0
	b.le	LBB0_17
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	bl	_NewBuf
	mov	x24, x0
	add	x1, sp, #8
	mov	w2, #64
	bl	_WriteBuf
	ldr	x8, [x24]
	ldr	x9, [x26]
	cmp	x8, x9
	b.gt	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [x19, #16]
	bl	_GetNext
	cbz	x0, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x25, x0
	ldr	w1, [x0]
	cbz	w1, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x24
	bl	_WriteBufInt
	ldr	x1, [x25, #16]
	ldr	w2, [x25]
	mov	x0, x24
	bl	_WriteBuf
	ldr	w8, [x25, #8]
	ldr	x9, [x19, #8]
	ldp	w11, w10, [x9, #4]
	add	w8, w10, w8
	str	w8, [x9, #8]
	ldr	w8, [x25]
	add	w8, w11, w8
	str	w8, [x9, #4]
LBB0_11:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x25
	bl	_FreeBlock
LBB0_12:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x25, [x24, #8]
	ldr	w1, [x27]
	mov	x0, x25
	mov	w2, #4
	bl	_Copy
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_Endian32
	str	x0, [x25, #16]
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
	add	w9, w0, #1
	str	w9, [x8, #16]
	bl	_Endian64
	str	x0, [x25, #32]
	ldr	x8, [x19]
	add	x1, x8, #12
	ldr	w2, [x8, #8]
	ldp	x4, x3, [x24]
	mov	x0, x21
	bl	_SendTo
	mov	x25, x0
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x22
	bl	_Debug
LBB0_14:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x8, [x24]
	cmp	x25, x8
	b.eq	LBB0_6
; %bb.15:                               ;   in Loop: Header=BB0_7 Depth=1
	ldr	w8, [x21]
	cbnz	w8, LBB0_6
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
	bl	_Debug
	b	LBB0_6
LBB0_17:
	mov	x0, x19
	bl	_GenNextKeepAliveSpan
	add	x8, x0, x20
	ldr	x9, [x19]
	str	x8, [x9]
LBB0_18:
	ldr	x8, [sp, #72]
Lloh16:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh17:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_20
; %bb.19:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_20:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_RECV_BUF_SIZE,4,2              ; @RECV_BUF_SIZE
	.comm	_UDP_BUF_SIZE,8,3               ; @UDP_BUF_SIZE
	.comm	_SE_UDP_SIGN,4,2                ; @SE_UDP_SIGN
	.comm	_SOCK_LATER,8,3                 ; @SOCK_LATER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"."

l_.str.1:                               ; @.str.1
	.asciz	"******* SendTo Error !!!\n"

.subsections_via_symbols
