	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ReceiveIncomingPackets
_ReceiveIncomingPackets:                ## @ReceiveIncomingPackets
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_recv
	testq	%rax, %rax
	jle	LBB0_5
## %bb.1:
	leaq	-304(%rbp), %rbx
	movq	_LOG_FILE@GOTPCREL(%rip), %r13
	movq	_bShutdown@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	leaq	l_.str(%rip), %rsi
	movq	%rax, %rdx
	callq	_swprintf
	movl	(%r13), %ecx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LogEvent
	cmpl	$0, (%r15)
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_BUFSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movq	%r12, %rsi
	xorl	%ecx, %ecx
	callq	_recv
	testq	%rax, %rax
	jg	LBB0_2
LBB0_5:
	movq	_SOCKET_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.8:
	xorl	%eax, %eax
	callq	_WSAGetLastError
	movq	_LOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	leaq	l_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_LogEvent
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_9
LBB0_6:
	movq	_bShutdown@GOTPCREL(%rip), %rax
	movq	_TRUE@GOTPCREL(%rip), %rbx
	cmpl	$0, (%rax)
	jne	LBB0_9
## %bb.7:
	movq	_LOG_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	l_.str.2(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_LogEvent
	jmp	LBB0_9
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rbx
LBB0_9:
	movl	(%rbx), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_11
## %bb.10:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZE,4,2                    ## @BUFSIZE
	.section	__TEXT,__const
	.p2align	2                               ## @.str
l_.str:
	.long	68                              ## 0x44
	.long	105                             ## 0x69
	.long	115                             ## 0x73
	.long	99                              ## 0x63
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	100                             ## 0x64
	.long	58                              ## 0x3a
	.long	32                              ## 0x20
	.long	82                              ## 0x52
	.long	101                             ## 0x65
	.long	99                              ## 0x63
	.long	101                             ## 0x65
	.long	105                             ## 0x69
	.long	118                             ## 0x76
	.long	101                             ## 0x65
	.long	100                             ## 0x64
	.long	32                              ## 0x20
	.long	37                              ## 0x25
	.long	100                             ## 0x64
	.long	32                              ## 0x20
	.long	98                              ## 0x62
	.long	121                             ## 0x79
	.long	116                             ## 0x74
	.long	101                             ## 0x65
	.long	115                             ## 0x73
	.long	32                              ## 0x20
	.long	102                             ## 0x66
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	109                             ## 0x6d
	.long	32                              ## 0x20
	.long	99                              ## 0x63
	.long	108                             ## 0x6c
	.long	105                             ## 0x69
	.long	101                             ## 0x65
	.long	110                             ## 0x6e
	.long	116                             ## 0x74
	.long	0                               ## 0x0

	.comm	_LOG_FILE,4,2                   ## @LOG_FILE
	.comm	_SOCKET_ERROR,8,3               ## @SOCKET_ERROR
	.p2align	2                               ## @.str.1
l_.str.1:
	.long	68                              ## 0x44
	.long	105                             ## 0x69
	.long	115                             ## 0x73
	.long	99                              ## 0x63
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	100                             ## 0x64
	.long	58                              ## 0x3a
	.long	32                              ## 0x20
	.long	83                              ## 0x53
	.long	111                             ## 0x6f
	.long	99                              ## 0x63
	.long	107                             ## 0x6b
	.long	101                             ## 0x65
	.long	116                             ## 0x74
	.long	32                              ## 0x20
	.long	69                              ## 0x45
	.long	114                             ## 0x72
	.long	114                             ## 0x72
	.long	111                             ## 0x6f
	.long	114                             ## 0x72
	.long	0                               ## 0x0

	.comm	_LOG_ERROR,4,2                  ## @LOG_ERROR
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_bShutdown,4,2                  ## @bShutdown
	.p2align	2                               ## @.str.2
l_.str.2:
	.long	68                              ## 0x44
	.long	105                             ## 0x69
	.long	115                             ## 0x73
	.long	99                              ## 0x63
	.long	97                              ## 0x61
	.long	114                             ## 0x72
	.long	100                             ## 0x64
	.long	58                              ## 0x3a
	.long	32                              ## 0x20
	.long	67                              ## 0x43
	.long	111                             ## 0x6f
	.long	110                             ## 0x6e
	.long	110                             ## 0x6e
	.long	101                             ## 0x65
	.long	99                              ## 0x63
	.long	116                             ## 0x74
	.long	105                             ## 0x69
	.long	111                             ## 0x6f
	.long	110                             ## 0x6e
	.long	32                              ## 0x20
	.long	99                              ## 0x63
	.long	108                             ## 0x6c
	.long	111                             ## 0x6f
	.long	115                             ## 0x73
	.long	101                             ## 0x65
	.long	100                             ## 0x64
	.long	32                              ## 0x20
	.long	98                              ## 0x62
	.long	121                             ## 0x79
	.long	32                              ## 0x20
	.long	112                             ## 0x70
	.long	101                             ## 0x65
	.long	101                             ## 0x65
	.long	114                             ## 0x72
	.long	0                               ## 0x0

	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_ReceiveIncomingPackets
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ReceiveIncomingPackets
_ReceiveIncomingPackets:                ; @ReceiveIncomingPackets
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #272
	mov	x19, sp
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x23, _BUFSIZE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _BUFSIZE@GOTPAGEOFF]
	ldr	w2, [x23]
	lsl	x8, x2, #2
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x7fffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x1, x21
                                        ; kill: def $w2 killed $w2 killed $x2
	mov	w3, #0
	bl	_recv
	mov	x2, x0
	cmp	x0, #1
	b.lt	LBB0_4
; %bb.1:
Lloh7:
	adrp	x22, l_.str@PAGE
Lloh8:
	add	x22, x22, l_.str@PAGEOFF
Lloh9:
	adrp	x25, _LOG_FILE@GOTPAGE
Lloh10:
	ldr	x25, [x25, _LOG_FILE@GOTPAGEOFF]
Lloh11:
	adrp	x26, _bShutdown@GOTPAGE
Lloh12:
	ldr	x26, [x26, _bShutdown@GOTPAGEOFF]
Lloh13:
	adrp	x24, _TRUE@GOTPAGE
Lloh14:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, #8
	mov	x1, x22
	bl	_swprintf
	ldr	w3, [x25]
	add	x0, x19, #8
	mov	w1, #0
	mov	w2, #0
	bl	_LogEvent
	ldr	w8, [x26]
	cbnz	w8, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w2, [x23]
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	bl	_recv
	mov	x2, x0
	cmp	x0, #0
	b.gt	LBB0_2
LBB0_4:
Lloh15:
	adrp	x8, _SOCKET_ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SOCKET_ERROR@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x2, x8
	b.ne	LBB0_6
; %bb.5:
	bl	_WSAGetLastError
	mov	x1, x0
Lloh18:
	adrp	x8, _LOG_ERROR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_ERROR@GOTPAGEOFF]
Lloh20:
	ldr	w3, [x8]
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	w2, #0
	bl	_LogEvent
Lloh23:
	adrp	x24, _FALSE@GOTPAGE
Lloh24:
	ldr	x24, [x24, _FALSE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh25:
	adrp	x8, _bShutdown@GOTPAGE
Lloh26:
	ldr	x8, [x8, _bShutdown@GOTPAGEOFF]
Lloh27:
	ldr	w8, [x8]
	cbnz	w8, LBB0_8
; %bb.7:
Lloh28:
	adrp	x8, _LOG_FILE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _LOG_FILE@GOTPAGEOFF]
Lloh30:
	ldr	w3, [x8]
Lloh31:
	adrp	x0, l_.str.2@PAGE
Lloh32:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	w1, #0
	mov	w2, #0
	bl	_LogEvent
LBB0_8:
Lloh33:
	adrp	x24, _TRUE@GOTPAGE
Lloh34:
	ldr	x24, [x24, _TRUE@GOTPAGEOFF]
LBB0_9:
	ldr	w0, [x24]
	ldur	x8, [x29, #-88]
Lloh35:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh36:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZE,4,2                    ; @BUFSIZE
	.section	__TEXT,__const
	.p2align	2                               ; @.str
l_.str:
	.long	68                              ; 0x44
	.long	105                             ; 0x69
	.long	115                             ; 0x73
	.long	99                              ; 0x63
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	100                             ; 0x64
	.long	58                              ; 0x3a
	.long	32                              ; 0x20
	.long	82                              ; 0x52
	.long	101                             ; 0x65
	.long	99                              ; 0x63
	.long	101                             ; 0x65
	.long	105                             ; 0x69
	.long	118                             ; 0x76
	.long	101                             ; 0x65
	.long	100                             ; 0x64
	.long	32                              ; 0x20
	.long	37                              ; 0x25
	.long	100                             ; 0x64
	.long	32                              ; 0x20
	.long	98                              ; 0x62
	.long	121                             ; 0x79
	.long	116                             ; 0x74
	.long	101                             ; 0x65
	.long	115                             ; 0x73
	.long	32                              ; 0x20
	.long	102                             ; 0x66
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	109                             ; 0x6d
	.long	32                              ; 0x20
	.long	99                              ; 0x63
	.long	108                             ; 0x6c
	.long	105                             ; 0x69
	.long	101                             ; 0x65
	.long	110                             ; 0x6e
	.long	116                             ; 0x74
	.long	0                               ; 0x0

	.comm	_LOG_FILE,4,2                   ; @LOG_FILE
	.comm	_SOCKET_ERROR,8,3               ; @SOCKET_ERROR
	.p2align	2                               ; @.str.1
l_.str.1:
	.long	68                              ; 0x44
	.long	105                             ; 0x69
	.long	115                             ; 0x73
	.long	99                              ; 0x63
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	100                             ; 0x64
	.long	58                              ; 0x3a
	.long	32                              ; 0x20
	.long	83                              ; 0x53
	.long	111                             ; 0x6f
	.long	99                              ; 0x63
	.long	107                             ; 0x6b
	.long	101                             ; 0x65
	.long	116                             ; 0x74
	.long	32                              ; 0x20
	.long	69                              ; 0x45
	.long	114                             ; 0x72
	.long	114                             ; 0x72
	.long	111                             ; 0x6f
	.long	114                             ; 0x72
	.long	0                               ; 0x0

	.comm	_LOG_ERROR,4,2                  ; @LOG_ERROR
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_bShutdown,4,2                  ; @bShutdown
	.p2align	2                               ; @.str.2
l_.str.2:
	.long	68                              ; 0x44
	.long	105                             ; 0x69
	.long	115                             ; 0x73
	.long	99                              ; 0x63
	.long	97                              ; 0x61
	.long	114                             ; 0x72
	.long	100                             ; 0x64
	.long	58                              ; 0x3a
	.long	32                              ; 0x20
	.long	67                              ; 0x43
	.long	111                             ; 0x6f
	.long	110                             ; 0x6e
	.long	110                             ; 0x6e
	.long	101                             ; 0x65
	.long	99                              ; 0x63
	.long	116                             ; 0x74
	.long	105                             ; 0x69
	.long	111                             ; 0x6f
	.long	110                             ; 0x6e
	.long	32                              ; 0x20
	.long	99                              ; 0x63
	.long	108                             ; 0x6c
	.long	111                             ; 0x6f
	.long	115                             ; 0x73
	.long	101                             ; 0x65
	.long	100                             ; 0x64
	.long	32                              ; 0x20
	.long	98                              ; 0x62
	.long	121                             ; 0x79
	.long	32                              ; 0x20
	.long	112                             ; 0x70
	.long	101                             ; 0x65
	.long	101                             ; 0x65
	.long	114                             ; 0x72
	.long	0                               ; 0x0

	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_ReceiveIncomingPackets
.subsections_via_symbols
