	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function DoLoop
_DoLoop:                                ## @DoLoop
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_mkfdset
	testq	%rax, %rax
	je	LBB0_42
## %bb.1:
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_mkfdset
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_mkfdset
	testq	%rax, %rax
	je	LBB0_43
## %bb.5:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_bundle_IsDead
	testq	%rax, %rax
	je	LBB0_6
LBB0_41:
	movq	_LogDEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_log_Printf                     ## TAILCALL
LBB0_2:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movq	%r15, %rdi
	jmp	LBB0_3
LBB0_43:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movq	%r15, %rdi
	callq	_free
	movq	%r13, %rdi
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_6:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	callq	_bundle_CleanDatalinks
	movq	%r14, %rdi
	callq	_bundle_IsDead
	testq	%rax, %rax
	jne	LBB0_41
LBB0_7:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_26 Depth 2
	movl	$0, -44(%rbp)
	movq	%r15, %rdi
	callq	_zerofdset
	movq	%r13, %rdi
	callq	_zerofdset
	movq	%r12, %rdi
	callq	_zerofdset
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	leaq	-44(%rbp), %rbx
	movq	%rbx, %r8
	callq	_descriptor_UpdateSet
	movq	_server@GOTPCREL(%rip), %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%rbx, %r8
	callq	_descriptor_UpdateSet
	movq	%r14, %rdi
	callq	_bundle_CleanDatalinks
	movq	%r14, %rdi
	callq	_bundle_IsDead
	testq	%rax, %rax
	jne	LBB0_41
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	xorl	%eax, %eax
	callq	_sig_Handle
	testq	%rax, %rax
	jne	LBB0_40
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %edi
	movq	%r15, %rsi
	movq	%r13, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	callq	_select
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_EINTR@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_11
LBB0_22:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_log_Printf
	xorl	%eax, %eax
	callq	_sig_Handle
	testl	%ebx, %ebx
	jle	LBB0_40
## %bb.23:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	-44(%rbp), %eax
	testl	%eax, %eax
	js	LBB0_24
## %bb.25:                              ##   in Loop: Header=BB0_7 Depth=1
	xorl	%r13d, %r13d
	movq	_LogPHASE@GOTPCREL(%rip), %rbx
	jmp	LBB0_26
	.p2align	4, 0x90
LBB0_29:                                ##   in Loop: Header=BB0_26 Depth=2
	leal	1(%r13), %ecx
	movl	-44(%rbp), %eax
	cmpl	%eax, %r13d
	movl	%ecx, %r13d
	jge	LBB0_30
LBB0_26:                                ##   Parent Loop BB0_7 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	%r13d, %edi
	movq	%r12, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_29
## %bb.27:                              ##   in Loop: Header=BB0_26 Depth=2
	movl	(%rbx), %edi
	leaq	L_.str.7(%rip), %rsi
	movl	%r13d, %edx
	xorl	%eax, %eax
	callq	_log_Printf
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_bundle_Exception
	testl	%eax, %eax
	jne	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	movl	-44(%rbp), %eax
	movl	%r13d, %ecx
	jmp	LBB0_30
LBB0_24:                                ##   in Loop: Header=BB0_7 Depth=1
	xorl	%ecx, %ecx
LBB0_30:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	%eax, %ecx
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_41
## %bb.31:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_server@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_descriptor_IsSet
	testq	%rax, %rax
	je	LBB0_32
## %bb.33:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_descriptor_Read
	xorl	%ebx, %ebx
	jmp	LBB0_34
LBB0_32:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	$1, %ebx
LBB0_34:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_descriptor_IsSet
	testq	%rax, %rax
	je	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_descriptor_Read
	xorl	%ebx, %ebx
LBB0_36:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_descriptor_IsSet
	testq	%rax, %rax
	je	LBB0_40
## %bb.37:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movq	%r14, %rsi
	movq	%r13, %rdx
	callq	_descriptor_Write
	testl	%ebx, %ebx
	je	LBB0_40
## %bb.38:                              ##   in Loop: Header=BB0_7 Depth=1
	testq	%rax, %rax
	jg	LBB0_40
## %bb.39:                              ##   in Loop: Header=BB0_7 Depth=1
	movabsq	$429496729600000, %rax          ## imm = 0x186A000000000
	movq	%rax, -64(%rbp)
	xorl	%edi, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	-64(%rbp), %r8
	callq	_select
	jmp	LBB0_40
LBB0_11:
	movq	_LogERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_log_Printf
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_log_IsKept
	testq	%rax, %rax
	je	LBB0_41
## %bb.12:
	cmpl	$0, -44(%rbp)
	js	LBB0_41
## %bb.13:
	movl	$-1, %ebx
	leaq	-64(%rbp), %r13
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_20:                                ##   in Loop: Header=BB0_14 Depth=1
	cmpl	-44(%rbp), %ebx
	jge	LBB0_41
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_log_Printf
	movl	%ebx, %edi
	movq	%r15, %rsi
	callq	_FD_CLR
	movq	$0, -64(%rbp)
	movl	-44(%rbp), %edi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_select
	cmpl	$-1, %eax
	jne	LBB0_21
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%ebx, %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_log_Printf
	movl	%ebx, %edi
	movq	%r14, %rsi
	callq	_FD_CLR
	movq	$0, -64(%rbp)
	movl	-44(%rbp), %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_select
	cmpl	$-1, %eax
	jne	LBB0_21
LBB0_18:                                ##   in Loop: Header=BB0_14 Depth=1
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:                              ##   in Loop: Header=BB0_14 Depth=1
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	movl	%ebx, %edx
	xorl	%eax, %eax
	callq	_log_Printf
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_FD_CLR
	movq	$0, -64(%rbp)
	movl	-44(%rbp), %edi
	movq	%r15, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	%r13, %r8
	callq	_select
	cmpl	$-1, %eax
	je	LBB0_20
LBB0_21:
	movq	_LogTIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_log_Printf
	jmp	LBB0_41
	.cfi_endproc
                                        ## -- End function
	.comm	_LogERROR,4,2                   ## @LogERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DoLoop: Cannot create fd_set\n"

	.comm	_server,4,2                     ## @server
	.comm	_errno,8,3                      ## @errno
	.comm	_EINTR,8,3                      ## @EINTR
L_.str.1:                               ## @.str.1
	.asciz	"DoLoop: select(): %s\n"

	.comm	_LogTIMER,4,2                   ## @LogTIMER
L_.str.2:                               ## @.str.2
	.asciz	"Read set contains %d\n"

L_.str.3:                               ## @.str.3
	.asciz	"The culprit !\n"

L_.str.4:                               ## @.str.4
	.asciz	"Write set contains %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"Error set contains %d\n"

L_.str.6:                               ## @.str.6
	.asciz	"Select returns %d\n"

	.comm	_LogPHASE,4,2                   ## @LogPHASE
L_.str.7:                               ## @.str.7
	.asciz	"Exception detected on descriptor %d\n"

L_.str.8:                               ## @.str.8
	.asciz	"Exception cannot be handled !\n"

	.comm	_LogDEBUG,4,2                   ## @LogDEBUG
L_.str.9:                               ## @.str.9
	.asciz	"DoLoop done.\n"

	.no_dead_strip	_DoLoop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function DoLoop
lCPI0_0:
	.long	0                               ; 0x0
	.long	100000                          ; 0x186a0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_DoLoop:                                ; @DoLoop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	d9, d8, [sp, #32]               ; 16-byte Folded Spill
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset b8, -104
	.cfi_offset b9, -112
	mov	x22, x0
	bl	_mkfdset
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	bl	_mkfdset
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	bl	_mkfdset
	cbz	x0, LBB0_7
; %bb.3:
	mov	x21, x0
	mov	x0, x22
	bl	_bundle_IsDead
	cbz	x0, LBB0_9
LBB0_4:
Lloh0:
	adrp	x8, _LogDEBUG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LogDEBUG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str.9@PAGE
Lloh4:
	add	x1, x1, l_.str.9@PAGEOFF
	bl	_log_Printf
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_5:
Lloh5:
	adrp	x8, _LogERROR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_log_Printf
LBB0_6:
Lloh10:
	adrp	x8, _LogERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	mov	x0, x19
	b	LBB0_8
LBB0_7:
Lloh15:
	adrp	x8, _LogERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_log_Printf
	mov	x0, x19
	bl	_free
	mov	x0, x20
LBB0_8:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #32]               ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_free
LBB0_9:
Lloh20:
	adrp	x23, _server@GOTPAGE
Lloh21:
	ldr	x23, [x23, _server@GOTPAGEOFF]
Lloh22:
	adrp	x24, l_.str.6@PAGE
Lloh23:
	add	x24, x24, l_.str.6@PAGEOFF
Lloh24:
	adrp	x28, _LogTIMER@GOTPAGE
Lloh25:
	ldr	x28, [x28, _LogTIMER@GOTPAGEOFF]
Lloh26:
	adrp	x25, l_.str.7@PAGE
Lloh27:
	add	x25, x25, l_.str.7@PAGEOFF
Lloh28:
	adrp	x8, lCPI0_0@PAGE
Lloh29:
	ldr	d8, [x8, lCPI0_0@PAGEOFF]
Lloh30:
	adrp	x26, _LogPHASE@GOTPAGE
Lloh31:
	ldr	x26, [x26, _LogPHASE@GOTPAGEOFF]
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	bl	_bundle_CleanDatalinks
	mov	x0, x22
	bl	_bundle_IsDead
	cbnz	x0, LBB0_4
LBB0_11:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_19 Depth 2
	str	wzr, [sp, #28]
	mov	x0, x19
	bl	_zerofdset
	mov	x0, x20
	bl	_zerofdset
	mov	x0, x21
	bl	_zerofdset
	add	x4, sp, #28
	mov	x0, x22
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_descriptor_UpdateSet
	add	x4, sp, #28
	mov	x0, x23
	mov	x1, x19
	mov	x2, #0
	mov	x3, #0
	bl	_descriptor_UpdateSet
	mov	x0, x22
	bl	_bundle_CleanDatalinks
	mov	x0, x22
	bl	_bundle_IsDead
	cbnz	x0, LBB0_4
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	bl	_sig_Handle
	cbnz	x0, LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [sp, #28]
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	x4, #0
	bl	_select
	mov	x27, x0
	tbz	w0, #31, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh32:
	adrp	x8, _errno@GOTPAGE
Lloh33:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh34:
	ldr	x0, [x8]
Lloh35:
	adrp	x8, _EINTR@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EINTR@GOTPAGEOFF]
Lloh37:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_34
LBB0_15:                                ;   in Loop: Header=BB0_11 Depth=1
	ldr	w0, [x28]
	str	x27, [sp]
	mov	x1, x24
	bl	_log_Printf
	bl	_sig_Handle
	cmp	w27, #1
	b.lt	LBB0_10
; %bb.16:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	w8, [sp, #28]
	tbnz	w8, #31, LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	w27, #0
	b	LBB0_19
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	w9, w27, #1
	ldr	w8, [sp, #28]
	cmp	w27, w8
	mov	x27, x9
	b.ge	LBB0_22
LBB0_19:                                ;   Parent Loop BB0_11 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x27
	mov	x1, x21
	bl	_FD_ISSET
	cbz	x0, LBB0_18
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	ldr	w0, [x26]
	str	x27, [sp]
	mov	x1, x25
	bl	_log_Printf
	mov	x0, x22
	mov	x1, x27
	bl	_bundle_Exception
	cbnz	w0, LBB0_18
; %bb.21:                               ;   in Loop: Header=BB0_11 Depth=1
Lloh38:
	adrp	x8, _LogERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
Lloh41:
	adrp	x1, l_.str.8@PAGE
Lloh42:
	add	x1, x1, l_.str.8@PAGEOFF
	bl	_log_Printf
	ldr	w8, [sp, #28]
	b	LBB0_24
LBB0_22:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x27, x9
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w27, #0
LBB0_24:                                ;   in Loop: Header=BB0_11 Depth=1
	cmp	w27, w8
	b.le	LBB0_4
; %bb.25:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	mov	x1, x19
	bl	_descriptor_IsSet
	cbz	x0, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x23
	mov	x1, x22
	mov	x2, x19
	bl	_descriptor_Read
	mov	w27, #0
	b	LBB0_28
LBB0_27:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w27, #1
LBB0_28:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	mov	x1, x19
	bl	_descriptor_IsSet
	cbz	x0, LBB0_30
; %bb.29:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	mov	x1, x22
	mov	x2, x19
	bl	_descriptor_Read
	mov	w27, #0
LBB0_30:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	mov	x1, x20
	bl	_descriptor_IsSet
	cbz	x0, LBB0_10
; %bb.31:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x22
	mov	x1, x22
	mov	x2, x20
	bl	_descriptor_Write
	cbz	w27, LBB0_10
; %bb.32:                               ;   in Loop: Header=BB0_11 Depth=1
	cmp	x0, #0
	b.gt	LBB0_10
; %bb.33:                               ;   in Loop: Header=BB0_11 Depth=1
	str	d8, [sp, #16]
	add	x4, sp, #16
	mov	w0, #0
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_select
	b	LBB0_10
LBB0_34:
Lloh43:
	adrp	x8, _LogERROR@GOTPAGE
Lloh44:
	ldr	x8, [x8, _LogERROR@GOTPAGEOFF]
Lloh45:
	ldr	w22, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh46:
	adrp	x1, l_.str.1@PAGE
Lloh47:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_log_Printf
	ldr	w0, [x28]
	bl	_log_IsKept
	cbz	x0, LBB0_4
; %bb.35:
	ldr	w8, [sp, #28]
	tbnz	w8, #31, LBB0_4
; %bb.36:
	mov	w26, #-1
Lloh48:
	adrp	x22, l_.str.5@PAGE
Lloh49:
	add	x22, x22, l_.str.5@PAGEOFF
Lloh50:
	adrp	x23, l_.str.4@PAGE
Lloh51:
	add	x23, x23, l_.str.4@PAGEOFF
Lloh52:
	adrp	x24, l_.str.2@PAGE
Lloh53:
	add	x24, x24, l_.str.2@PAGEOFF
	b	LBB0_38
LBB0_37:                                ;   in Loop: Header=BB0_38 Depth=1
	ldr	w8, [sp, #28]
	add	w26, w26, #1
	cmp	w26, w8
	b.ge	LBB0_4
LBB0_38:                                ; =>This Inner Loop Header: Depth=1
	add	w25, w26, #1
	mov	x0, x25
	mov	x1, x19
	bl	_FD_ISSET
	cbz	x0, LBB0_40
; %bb.39:                               ;   in Loop: Header=BB0_38 Depth=1
	ldr	w0, [x28]
	str	x25, [sp]
	mov	x1, x24
	bl	_log_Printf
	mov	x0, x25
	mov	x1, x19
	bl	_FD_CLR
	str	xzr, [sp, #16]
	ldr	w0, [sp, #28]
	add	x4, sp, #16
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_select
	cmn	w0, #1
	b.ne	LBB0_44
LBB0_40:                                ;   in Loop: Header=BB0_38 Depth=1
	mov	x0, x25
	mov	x1, x20
	bl	_FD_ISSET
	cbz	x0, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_38 Depth=1
	ldr	w0, [x28]
	mov	x8, x25
	str	x8, [sp]
	mov	x1, x23
	bl	_log_Printf
	mov	x0, x25
	mov	x1, x20
	bl	_FD_CLR
	str	xzr, [sp, #16]
	ldr	w0, [sp, #28]
	add	x4, sp, #16
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_select
	cmn	w0, #1
	b.ne	LBB0_44
LBB0_42:                                ;   in Loop: Header=BB0_38 Depth=1
	mov	x0, x25
	mov	x1, x21
	bl	_FD_ISSET
	cbz	x0, LBB0_37
; %bb.43:                               ;   in Loop: Header=BB0_38 Depth=1
	ldr	w0, [x28]
	mov	x8, x25
	str	x8, [sp]
	mov	x1, x22
	bl	_log_Printf
	mov	x0, x25
	mov	x1, x21
	bl	_FD_CLR
	str	xzr, [sp, #16]
	ldr	w0, [sp, #28]
	add	x4, sp, #16
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	bl	_select
	cmn	w0, #1
	b.eq	LBB0_37
LBB0_44:
	ldr	w0, [x28]
Lloh54:
	adrp	x1, l_.str.3@PAGE
Lloh55:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_log_Printf
	b	LBB0_4
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdr	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh54, Lloh55
	.cfi_endproc
                                        ; -- End function
	.comm	_LogERROR,4,2                   ; @LogERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DoLoop: Cannot create fd_set\n"

	.comm	_server,4,2                     ; @server
	.comm	_errno,8,3                      ; @errno
	.comm	_EINTR,8,3                      ; @EINTR
l_.str.1:                               ; @.str.1
	.asciz	"DoLoop: select(): %s\n"

	.comm	_LogTIMER,4,2                   ; @LogTIMER
l_.str.2:                               ; @.str.2
	.asciz	"Read set contains %d\n"

l_.str.3:                               ; @.str.3
	.asciz	"The culprit !\n"

l_.str.4:                               ; @.str.4
	.asciz	"Write set contains %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"Error set contains %d\n"

l_.str.6:                               ; @.str.6
	.asciz	"Select returns %d\n"

	.comm	_LogPHASE,4,2                   ; @LogPHASE
l_.str.7:                               ; @.str.7
	.asciz	"Exception detected on descriptor %d\n"

l_.str.8:                               ; @.str.8
	.asciz	"Exception cannot be handled !\n"

	.comm	_LogDEBUG,4,2                   ; @LogDEBUG
l_.str.9:                               ; @.str.9
	.asciz	"DoLoop done.\n"

	.no_dead_strip	_DoLoop
.subsections_via_symbols
