	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movl	%edi, %r14d
	xorl	%eax, %eax
	callq	_geteuid
	movq	_saved_euid@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, %edi
	callq	_seteuid
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_Sys_ParseArgs
	movq	(%r12), %rdi
	callq	_Sys_SetDefaultCDPath
	cmpl	$1, %r14d
	jle	LBB0_1
## %bb.2:
	movl	%r14d, %r13d
	movl	$1, %r15d
	movl	$1, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12,%rbx,8), %rdi
	callq	_strlen
	addl	%eax, %r15d
	incl	%r15d
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_3
## %bb.4:
	movl	%r15d, %edi
	callq	_malloc
	movq	%rax, %r15
	movb	$0, (%rax)
	movq	8(%r12), %rsi
	movq	%rax, %rdi
	callq	_strcat
	cmpl	$2, %r14d
	je	LBB0_7
## %bb.5:
	movl	$2, %ebx
	leaq	L_.str(%rip), %r14
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_strcat
	movq	(%r12,%rbx,8), %rsi
	movq	%r15, %rdi
	callq	_strcat
	incq	%rbx
	cmpq	%rbx, %r13
	jne	LBB0_6
	jmp	LBB0_7
LBB0_1:
	movl	$1, %edi
	callq	_malloc
	movq	%rax, %r15
	movb	$0, (%rax)
LBB0_7:
	movq	_eventQue@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MAX_QUED_EVENTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	_sys_packetReceived@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_MAX_MSGLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	xorl	%esi, %esi
	callq	_memset
	movq	%r15, %rdi
	callq	_Com_Init
	xorl	%eax, %eax
	callq	_NET_Init
	xorl	%eax, %eax
	callq	_Sys_ConsoleInputInit
	movq	_F_SETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_F_GETFL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	xorl	%edx, %edx
	callq	_fcntl
	movq	_FNDELAY@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%edi, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_fcntl
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_Com_Frame
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_saved_euid,4,2                 ## @saved_euid
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	" "

	.comm	_eventQue,8,3                   ## @eventQue
	.comm	_MAX_QUED_EVENTS,4,2            ## @MAX_QUED_EVENTS
	.comm	_sys_packetReceived,8,3         ## @sys_packetReceived
	.comm	_MAX_MSGLEN,4,2                 ## @MAX_MSGLEN
	.comm	_F_SETFL,4,2                    ## @F_SETFL
	.comm	_F_GETFL,4,2                    ## @F_GETFL
	.comm	_FNDELAY,4,2                    ## @FNDELAY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_geteuid
Lloh0:
	adrp	x8, _saved_euid@GOTPAGE
Lloh1:
	ldr	x8, [x8, _saved_euid@GOTPAGEOFF]
Lloh2:
	str	w0, [x8]
	bl	_getuid
	bl	_seteuid
	mov	x0, x20
	mov	x1, x19
	bl	_Sys_ParseArgs
	ldr	x0, [x19]
	bl	_Sys_SetDefaultCDPath
	cmp	w20, #1
	b.le	LBB0_6
; %bb.1:
	mov	w22, w20
	add	x23, x19, #8
	sub	x24, x22, #1
	mov	w21, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x23], #8
	bl	_strlen
	add	w8, w21, w0
	add	w21, w8, #1
	subs	x24, x24, #1
	b.ne	LBB0_2
; %bb.3:
	mov	x0, x21
	bl	_malloc
	mov	x21, x0
	strb	wzr, [x0]
	ldr	x1, [x19, #8]
	bl	_strcat
	cmp	w20, #2
	b.eq	LBB0_7
; %bb.4:
	add	x20, x19, #16
	sub	x22, x22, #2
Lloh3:
	adrp	x19, l_.str@PAGE
Lloh4:
	add	x19, x19, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x19
	bl	_strcat
	ldr	x1, [x20], #8
	mov	x0, x21
	bl	_strcat
	subs	x22, x22, #1
	b.ne	LBB0_5
	b	LBB0_7
LBB0_6:
	mov	w0, #1
	bl	_malloc
	mov	x21, x0
	strb	wzr, [x0]
LBB0_7:
Lloh5:
	adrp	x8, _eventQue@GOTPAGE
Lloh6:
	ldr	x8, [x8, _eventQue@GOTPAGEOFF]
Lloh7:
	ldr	x0, [x8]
Lloh8:
	adrp	x8, _MAX_QUED_EVENTS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MAX_QUED_EVENTS@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
Lloh11:
	adrp	x8, _sys_packetReceived@GOTPAGE
Lloh12:
	ldr	x8, [x8, _sys_packetReceived@GOTPAGEOFF]
Lloh13:
	ldr	x0, [x8]
Lloh14:
	adrp	x8, _MAX_MSGLEN@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MAX_MSGLEN@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	mov	w1, #0
	bl	_memset
	mov	x0, x21
	bl	_Com_Init
	bl	_NET_Init
	bl	_Sys_ConsoleInputInit
Lloh17:
	adrp	x8, _F_SETFL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _F_SETFL@GOTPAGEOFF]
Lloh19:
	ldr	w19, [x8]
Lloh20:
	adrp	x8, _F_GETFL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _F_GETFL@GOTPAGEOFF]
Lloh22:
	ldr	w1, [x8]
	mov	w0, #0
	mov	w2, #0
	bl	_fcntl
Lloh23:
	adrp	x8, _FNDELAY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FNDELAY@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	w0, #0
	mov	x1, x19
	bl	_fcntl
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	bl	_Com_Frame
	b	LBB0_8
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_saved_euid,4,2                 ; @saved_euid
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	" "

	.comm	_eventQue,8,3                   ; @eventQue
	.comm	_MAX_QUED_EVENTS,4,2            ; @MAX_QUED_EVENTS
	.comm	_sys_packetReceived,8,3         ; @sys_packetReceived
	.comm	_MAX_MSGLEN,4,2                 ; @MAX_MSGLEN
	.comm	_F_SETFL,4,2                    ; @F_SETFL
	.comm	_F_GETFL,4,2                    ; @F_GETFL
	.comm	_FNDELAY,4,2                    ; @FNDELAY
.subsections_via_symbols
