	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SendKeepAlive                  ## -- Begin function SendKeepAlive
	.p2align	4, 0x90
_SendKeepAlive:                         ## @SendKeepAlive
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_17
## %bb.1:
	movq	%rsi, %r14
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.2:
	movq	%rdi, %r15
	movq	(%rdi), %rbx
	xorl	%eax, %eax
	callq	_rand
	movq	_MAX_KEEPALIVE_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_3
## %bb.4:
	xorl	%edx, %edx
	divq	%rcx
	movq	%rdx, %r12
	jmp	LBB0_5
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
	movl	%edx, %r12d
LBB0_5:
	movq	_KEEP_ALIVE_MAGIC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	testq	%rbx, %rbx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movb	$1, %al
	je	LBB0_6
## %bb.7:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmpq	$0, 16(%rbx)
	je	LBB0_11
## %bb.8:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:
	movq	_UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_StrLen
                                        ## kill: def $eax killed $eax def $rax
	leal	4(%rax), %esi
	movq	%r12, %rdi
	callq	_MAX
	movq	%rax, %r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_11
LBB0_6:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
LBB0_11:
	movq	%r12, %rdi
	callq	_MallocFast
	movq	%rax, %rbx
	testq	%r12, %r12
	je	LBB0_14
## %bb.12:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_rand
	movq	%rax, (%rbx,%r13,8)
	incq	%r13
	cmpq	%r13, %r12
	jne	LBB0_13
LBB0_14:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	jne	LBB0_16
## %bb.15:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	8(%rax), %rax
	movl	(%rax), %edi
	callq	_Endian16
	movl	%eax, -56(%rbp)
	movq	_UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_StrLen
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_Copy
	movq	_UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_StrLen
	cltq
	leaq	(%rbx,%rax,8), %rdi
	leaq	-56(%rbp), %rsi
	movl	$4, %edx
	callq	_Copy
LBB0_16:
	movq	-64(%rbp), %rdi
	callq	_Endian32
	movq	%rax, -64(%rbp)
	movq	%r12, %rdi
	callq	_Endian32
	movq	%rax, -56(%rbp)
	movq	(%r15), %rdi
	leaq	-64(%rbp), %rdx
	movl	$8, %ecx
	movq	%r14, %rsi
	callq	_WriteSendFifo
	movq	(%r15), %rdi
	leaq	-56(%rbp), %rdx
	movl	$8, %ecx
	movq	%r14, %rsi
	callq	_WriteSendFifo
	movq	(%r15), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	%r12, %rcx
	callq	_WriteSendFifo
	movq	(%r15), %rax
	addl	$16, %r12d
	addl	%r12d, (%rax)
	addl	%r12d, 4(%rax)
	movq	%rbx, %rdi
	callq	_Free
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_KEEPALIVE_SIZE,8,3         ## @MAX_KEEPALIVE_SIZE
	.comm	_KEEP_ALIVE_MAGIC,8,3           ## @KEEP_ALIVE_MAGIC
	.comm	_UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE,8,3 ## @UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SendKeepAlive                  ; -- Begin function SendKeepAlive
	.p2align	2
_SendKeepAlive:                         ; @SendKeepAlive
	.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
	cbz	x0, LBB0_14
; %bb.1:
	mov	x20, x1
	cbz	x1, LBB0_14
; %bb.2:
	mov	x19, x0
	ldr	x23, [x0]
	bl	_rand
Lloh0:
	adrp	x8, _MAX_KEEPALIVE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_KEEPALIVE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	udiv	x9, x0, x8
	msub	x21, x9, x8, x0
Lloh3:
	adrp	x8, _KEEP_ALIVE_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KEEP_ALIVE_MAGIC@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #8]
	cbz	x23, LBB0_7
; %bb.3:
	ldr	x8, [x23, #16]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x23, #8]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE@GOTPAGEOFF]
Lloh8:
	ldr	x0, [x8]
	bl	_StrLen
	add	w1, w0, #4
	mov	x0, x21
	bl	_MAX
	mov	x21, x0
	mov	w24, #0
	b	LBB0_8
LBB0_7:
	mov	w24, #1
LBB0_8:
	mov	x0, x21
	bl	_MallocFast
	mov	x22, x0
	cbz	x21, LBB0_11
; %bb.9:
	mov	x25, x22
	mov	x26, x21
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	bl	_rand
	str	x0, [x25], #8
	subs	x26, x26, #1
	b.ne	LBB0_10
LBB0_11:
	tbnz	w24, #0, LBB0_13
; %bb.12:
	ldr	x8, [x23, #8]
	ldr	w0, [x8]
	bl	_Endian16
	str	w0, [sp]
Lloh9:
	adrp	x24, _UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE@GOTPAGE
Lloh10:
	ldr	x24, [x24, _UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE@GOTPAGEOFF]
	ldr	x23, [x24]
	mov	x0, x23
	bl	_StrLen
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_Copy
	ldr	x0, [x24]
	bl	_StrLen
	add	x0, x22, w0, sxtw #3
	mov	x1, sp
	mov	w2, #4
	bl	_Copy
LBB0_13:
	ldr	x0, [sp, #8]
	bl	_Endian32
	str	x0, [sp, #8]
	mov	x0, x21
	bl	_Endian32
	str	x0, [sp]
	ldr	x0, [x19]
	add	x2, sp, #8
	mov	x1, x20
	mov	w3, #8
	bl	_WriteSendFifo
	ldr	x0, [x19]
	mov	x2, sp
	mov	x1, x20
	mov	w3, #8
	bl	_WriteSendFifo
	ldr	x0, [x19]
	mov	x1, x20
	mov	x2, x22
	mov	x3, x21
	bl	_WriteSendFifo
	ldr	x8, [x19]
	add	w9, w21, #16
	ldr	d0, [x8]
	dup.2s	v1, w9
	add.2s	v0, v0, v1
	str	d0, [x8]
	mov	x0, x22
	bl	_Free
LBB0_14:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_KEEPALIVE_SIZE,8,3         ; @MAX_KEEPALIVE_SIZE
	.comm	_KEEP_ALIVE_MAGIC,8,3           ; @KEEP_ALIVE_MAGIC
	.comm	_UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE,8,3 ; @UDP_NAT_T_PORT_SIGNATURE_IN_KEEP_ALIVE
.subsections_via_symbols
