	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loop                           ## -- Begin function loop
	.p2align	4, 0x90
_loop:                                  ## @loop
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	-56(%rbp), %rdx
	callq	_init_sockets
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdx
	movl	%ebx, %edi
	movl	$1, %esi
	callq	_krb5_errx
LBB0_2:
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	movl	%ebx, %edi
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r14, %rsi
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_kdc_log
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
                                        ##     Child Loop BB0_27 Depth 2
	movq	_exit_flag@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	testq	%r8, %r8
	jne	LBB0_36
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %r14d
	leaq	-60(%rbp), %rdi
	callq	_FD_ZERO
	movl	$0, %ebx
	testl	%r12d, %r12d
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	movl	$-1, %r13d
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	movl	$0, -48(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_6 Depth=2
	movslq	%r13d, %rax
	cmpq	%rax, %r15
	movl	%eax, %r13d
	cmovbl	%r15d, %r13d
	testl	%eax, %eax
	cmovsl	%r15d, %r13d
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=2
	incq	%r15
	addq	$40, %r12
	cmpq	%r15, %r14
	je	LBB0_14
LBB0_6:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rax
	movl	(%rax,%r12), %edi
	callq	_rk_IS_BAD_SOCKET
	testl	%eax, %eax
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	-56(%rbp), %rcx
	movq	8(%rcx,%r12), %rax
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_11
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	16(%rcx,%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=2
	xorl	%edi, %edi
	callq	_time
	movq	-56(%rbp), %rcx
	cmpq	%rax, %rbx
	jge	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_6 Depth=2
	movl	32(%rcx,%r12), %r8d
	movq	24(%rcx,%r12), %r9
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movl	$1, %edx
	leaq	L_.str.2(%rip), %rcx
	xorl	%eax, %eax
	callq	_kdc_log
	movq	-56(%rbp), %rdi
	addq	%r12, %rdi
	callq	_clear_descr
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=2
	movl	(%rcx,%r12), %edi
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	cmpl	%edi, %eax
	cmovlel	%edi, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	leaq	-60(%rbp), %rsi
	callq	_FD_SET
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %r13d
	je	LBB0_15
## %bb.41:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %r12d
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-56(%rbp), %rdi
	leal	32(,%r12,8), %eax
	leal	(%rax,%rax,4), %esi
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	leal	4(%r12), %r15d
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_reinit_descrs
	leaq	(%r14,%r14,4), %rdi
	shlq	$3, %rdi
	addq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$160, %edx
	callq	_memset
	cmpl	$-5, %r12d
	ja	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	leaq	(,%r14,8), %rax
	leaq	(%rax,%rax,4), %rbx
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rdi
	addq	%rbx, %rdi
	callq	_init_descr
	incq	%r14
	addq	$40, %rbx
	cmpq	%r15, %r14
	jb	LBB0_20
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %r13d
	movl	%r15d, %r12d
LBB0_22:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	jmp	LBB0_23
	.p2align	4, 0x90
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str.3(%rip), %rsi
	callq	_krb5_warnx
	movl	$-1, %r13d
	movl	%r14d, %r12d
LBB0_23:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_TCP_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	$0, -96(%rbp)
	incl	%ebx
	movl	%ebx, %edi
	leaq	-60(%rbp), %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	leaq	-96(%rbp), %r8
	callq	_select
	cmpl	$-1, %eax
	je	LBB0_31
## %bb.24:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	je	LBB0_3
## %bb.25:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.26:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %r14d
	xorl	%ebx, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_27
LBB0_30:                                ##   in Loop: Header=BB0_27 Depth=2
	addq	%rbx, %rdx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_handle_udp
	.p2align	4, 0x90
LBB0_35:                                ##   in Loop: Header=BB0_27 Depth=2
	incq	%r15
	addq	$40, %rbx
	cmpq	%r15, %r14
	je	LBB0_3
LBB0_27:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx), %edi
	callq	_rk_IS_BAD_SOCKET
	testl	%eax, %eax
	jne	LBB0_35
## %bb.28:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	-56(%rbp), %rax
	movl	(%rax,%rbx), %edi
	leaq	-60(%rbp), %rsi
	callq	_FD_ISSET
	testl	%eax, %eax
	je	LBB0_35
## %bb.29:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	-56(%rbp), %rdx
	movq	8(%rdx,%rbx), %rax
	movq	_SOCK_DGRAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_30
## %bb.33:                              ##   in Loop: Header=BB0_27 Depth=2
	movq	_SOCK_STREAM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_35
## %bb.34:                              ##   in Loop: Header=BB0_27 Depth=2
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rcx
	movl	%r13d, %r8d
	callq	_handle_tcp
	jmp	LBB0_35
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_EINTR@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.32:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_rk_SOCK_ERRNO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str.4(%rip), %rdx
	callq	_krb5_warn
	jmp	LBB0_3
LBB0_36:
	movq	_SIGINT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	je	LBB0_38
## %bb.37:
	movq	_SIGTERM@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r8
	je	LBB0_38
## %bb.39:
	leaq	L_.str.6(%rip), %rcx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_kdc_log
	jmp	LBB0_40
LBB0_38:
	leaq	L_.str.5(%rip), %rcx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	xorl	%edx, %edx
	xorl	%eax, %eax
	callq	_kdc_log
LBB0_40:
	movq	-56(%rbp), %rdi
	callq	_free
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"No sockets!"

L_.str.1:                               ## @.str.1
	.asciz	"KDC started"

	.comm	_exit_flag,8,3                  ## @exit_flag
	.comm	_SOCK_STREAM,8,3                ## @SOCK_STREAM
L_.str.2:                               ## @.str.2
	.asciz	"TCP-connection from %s expired after %lu bytes"

L_.str.3:                               ## @.str.3
	.asciz	"No memory"

	.comm	_TCP_TIMEOUT,4,2                ## @TCP_TIMEOUT
	.comm	_errno,4,2                      ## @errno
	.comm	_EINTR,4,2                      ## @EINTR
	.comm	_rk_SOCK_ERRNO,4,2              ## @rk_SOCK_ERRNO
L_.str.4:                               ## @.str.4
	.asciz	"select"

	.comm	_SOCK_DGRAM,8,3                 ## @SOCK_DGRAM
	.comm	_SIGINT,8,3                     ## @SIGINT
	.comm	_SIGTERM,8,3                    ## @SIGTERM
L_.str.5:                               ## @.str.5
	.asciz	"Terminated"

L_.str.6:                               ## @.str.6
	.asciz	"Unexpected exit reason: %d"

	.comm	_FD_SETSIZE,4,2                 ## @FD_SETSIZE
	.comm	_SIGXCPU,8,3                    ## @SIGXCPU
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_loop                           ; -- Begin function loop
	.p2align	2
_loop:                                  ; @loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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
	mov	x19, x1
	mov	x20, x0
	add	x2, sp, #40
	bl	_init_sockets
	mov	x21, x0
	cbnz	w0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	w1, #1
	bl	_krb5_errx
LBB0_2:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_kdc_log
Lloh4:
	adrp	x27, _exit_flag@GOTPAGE
Lloh5:
	ldr	x27, [x27, _exit_flag@GOTPAGEOFF]
	ldr	x8, [x27]
	cbz	x8, LBB0_7
LBB0_3:
Lloh6:
	adrp	x9, _SIGINT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SIGINT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _SIGTERM@GOTPAGE
Lloh10:
	ldr	x10, [x10, _SIGTERM@GOTPAGEOFF]
Lloh11:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.4:
Lloh12:
	adrp	x3, l_.str.5@PAGE
Lloh13:
	add	x3, x3, l_.str.5@PAGEOFF
	b	LBB0_6
LBB0_5:
	str	x8, [sp]
Lloh14:
	adrp	x3, l_.str.6@PAGE
Lloh15:
	add	x3, x3, l_.str.6@PAGEOFF
LBB0_6:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_kdc_log
	ldr	x0, [sp, #40]
	bl	_free
	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
	add	sp, sp, #144
	ret
LBB0_7:
Lloh16:
	adrp	x28, _SOCK_DGRAM@GOTPAGE
Lloh17:
	ldr	x28, [x28, _SOCK_DGRAM@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x27]
	cbnz	x8, LBB0_3
LBB0_9:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_13 Depth 2
                                        ;     Child Loop BB0_24 Depth 2
                                        ;     Child Loop BB0_33 Depth 2
	add	x0, sp, #20
	bl	_FD_ZERO
	mov	w23, w21
	cbz	w21, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x28, x20
	mov	x20, x19
	mov	x27, #0
	mov	x24, #0
	mov	w26, #0
	add	x8, x23, x23, lsl #2
	lsl	x22, x8, #3
	mov	w25, #-1
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=2
	cmp	x24, w25, sxtw
	ccmp	w25, #0, #8, hs
	csel	w25, w24, w25, lt
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=2
	add	x24, x24, #1
	add	x27, x27, #40
	cmp	x22, x27
	b.eq	LBB0_19
LBB0_13:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #40]
	ldr	w0, [x8, x27]
	bl	_rk_IS_BAD_SOCKET
	cbnz	w0, LBB0_11
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x8, [sp, #40]
	add	x9, x8, x27
	ldr	x10, [x9, #8]
Lloh18:
	adrp	x11, _SOCK_STREAM@GOTPAGE
Lloh19:
	ldr	x11, [x11, _SOCK_STREAM@GOTPAGEOFF]
Lloh20:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_18
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=2
	ldr	x19, [x9, #16]
	cbz	x19, LBB0_18
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=2
	mov	x0, #0
	bl	_time
	ldr	x8, [sp, #40]
	cmp	x19, x0
	b.ge	LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_13 Depth=2
	add	x8, x8, x27
	ldr	x9, [x8, #24]
	ldr	w8, [x8, #32]
	stp	x8, x9, [sp]
	mov	x0, x28
	mov	x1, x20
	mov	w2, #1
Lloh21:
	adrp	x3, l_.str.2@PAGE
Lloh22:
	add	x3, x3, l_.str.2@PAGEOFF
	bl	_kdc_log
	ldr	x8, [sp, #40]
	add	x0, x8, x27
	bl	_clear_descr
	b	LBB0_12
LBB0_18:                                ;   in Loop: Header=BB0_13 Depth=2
	ldr	w0, [x8, x27]
	cmp	w26, w0
	csel	w26, w26, w0, gt
	add	x1, sp, #20
	bl	_FD_SET
	b	LBB0_12
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	cmn	w25, #1
	mov	x19, x20
	mov	x20, x28
Lloh23:
	adrp	x27, _exit_flag@GOTPAGE
Lloh24:
	ldr	x27, [x27, _exit_flag@GOTPAGEOFF]
Lloh25:
	adrp	x28, _SOCK_DGRAM@GOTPAGE
Lloh26:
	ldr	x28, [x28, _SOCK_DGRAM@GOTPAGEOFF]
	b.ne	LBB0_27
	b	LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	w26, #0
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #40]
	add	w22, w21, #4
	add	w8, w22, w22, lsl #2
	lsl	w1, w8, #3
	bl	_realloc
	cbz	x0, LBB0_26
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
	str	x0, [sp, #40]
	mov	x1, x21
	bl	_reinit_descrs
	ldr	x8, [sp, #40]
	mov	w9, #40
	madd	x0, x23, x9, x8
	mov	w1, #0
	mov	w2, #160
	bl	_memset
	cmn	w21, #5
	b.hi	LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x8, x23, x23, lsl #2
	lsl	x24, x8, #3
LBB0_24:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #40]
	add	x0, x8, x24
	bl	_init_descr
	add	x23, x23, #1
	add	x24, x24, #40
	cmp	x23, x22
	b.lo	LBB0_24
LBB0_25:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x25, x21
	mov	x21, x22
	b	LBB0_27
LBB0_26:                                ;   in Loop: Header=BB0_9 Depth=1
	mov	x0, x20
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_krb5_warnx
	mov	w25, #-1
LBB0_27:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh29:
	adrp	x8, _TCP_TIMEOUT@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TCP_TIMEOUT@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	w8, [sp, #32]
	str	xzr, [sp, #24]
	add	w0, w26, #1
	add	x1, sp, #20
	add	x4, sp, #24
	mov	w2, #0
	mov	w3, #0
	bl	_select
	cmn	w0, #1
	b.eq	LBB0_38
; %bb.28:                               ;   in Loop: Header=BB0_9 Depth=1
	cbz	w0, LBB0_8
; %bb.29:                               ;   in Loop: Header=BB0_9 Depth=1
	cbz	w21, LBB0_8
; %bb.30:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x22, #0
	mov	x26, #0
	mov	w23, w21
	b	LBB0_33
LBB0_31:                                ;   in Loop: Header=BB0_33 Depth=2
	mov	x0, x20
	mov	x1, x19
	mov	x2, x8
	bl	_handle_udp
LBB0_32:                                ;   in Loop: Header=BB0_33 Depth=2
	add	x26, x26, #1
	add	x22, x22, #40
	cmp	x23, x26
	b.eq	LBB0_8
LBB0_33:                                ;   Parent Loop BB0_9 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x8, [sp, #40]
	ldr	w0, [x8, x22]
	bl	_rk_IS_BAD_SOCKET
	cbnz	w0, LBB0_32
; %bb.34:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	x8, [sp, #40]
	ldr	w0, [x8, x22]
	add	x1, sp, #20
	bl	_FD_ISSET
	cbz	w0, LBB0_32
; %bb.35:                               ;   in Loop: Header=BB0_33 Depth=2
	ldr	x2, [sp, #40]
	add	x8, x2, x22
	ldr	x9, [x8, #8]
	ldr	x10, [x28]
	cmp	x9, x10
	b.eq	LBB0_31
; %bb.36:                               ;   in Loop: Header=BB0_33 Depth=2
Lloh32:
	adrp	x8, _SOCK_STREAM@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SOCK_STREAM@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.37:                               ;   in Loop: Header=BB0_33 Depth=2
	mov	x0, x20
	mov	x1, x19
	mov	x3, x26
	mov	x4, x25
	bl	_handle_tcp
	b	LBB0_32
LBB0_38:                                ;   in Loop: Header=BB0_9 Depth=1
Lloh35:
	adrp	x8, _errno@GOTPAGE
Lloh36:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x9, _EINTR@GOTPAGE
Lloh39:
	ldr	x9, [x9, _EINTR@GOTPAGEOFF]
Lloh40:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_8
; %bb.39:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh41:
	adrp	x8, _rk_SOCK_ERRNO@GOTPAGE
Lloh42:
	ldr	x8, [x8, _rk_SOCK_ERRNO@GOTPAGEOFF]
Lloh43:
	ldr	w1, [x8]
	mov	x0, x20
Lloh44:
	adrp	x2, l_.str.4@PAGE
Lloh45:
	add	x2, x2, l_.str.4@PAGEOFF
	bl	_krb5_warn
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"No sockets!"

l_.str.1:                               ; @.str.1
	.asciz	"KDC started"

	.comm	_exit_flag,8,3                  ; @exit_flag
	.comm	_SOCK_STREAM,8,3                ; @SOCK_STREAM
l_.str.2:                               ; @.str.2
	.asciz	"TCP-connection from %s expired after %lu bytes"

l_.str.3:                               ; @.str.3
	.asciz	"No memory"

	.comm	_TCP_TIMEOUT,4,2                ; @TCP_TIMEOUT
	.comm	_errno,4,2                      ; @errno
	.comm	_EINTR,4,2                      ; @EINTR
	.comm	_rk_SOCK_ERRNO,4,2              ; @rk_SOCK_ERRNO
l_.str.4:                               ; @.str.4
	.asciz	"select"

	.comm	_SOCK_DGRAM,8,3                 ; @SOCK_DGRAM
	.comm	_SIGINT,8,3                     ; @SIGINT
	.comm	_SIGTERM,8,3                    ; @SIGTERM
l_.str.5:                               ; @.str.5
	.asciz	"Terminated"

l_.str.6:                               ; @.str.6
	.asciz	"Unexpected exit reason: %d"

	.comm	_FD_SETSIZE,4,2                 ; @FD_SETSIZE
	.comm	_SIGXCPU,8,3                    ; @SIGXCPU
.subsections_via_symbols
