	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_multi_process              ## -- Begin function tls_multi_process
	.p2align	4, 0x90
_tls_multi_process:                     ## @tls_multi_process
	.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	$136, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -96(%rbp)                  ## 8-byte Spill
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, -136(%rbp)                ## 8-byte Spill
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_gc_new
	movl	%eax, -48(%rbp)
	movq	_TLSMP_INACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_PERF_TLS_MULTI_PROCESS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_perf_push
	xorl	%eax, %eax
	callq	_tls_clear_error
	movq	_TM_SIZE@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_1
## %bb.2:
	leaq	32(%r12), %rax
	movq	%rax, -120(%rbp)                ## 8-byte Spill
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	-80(%rbp), %r14                 ## 8-byte Reload
LBB0_20:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r15
	movq	_TM_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$16, %r14
	cmpq	%rax, %r15
	jge	LBB0_21
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %r12
	movq	(%r12,%r14), %r13
	movq	_KS_PRIMARY@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	shlq	$4, %rbx
	leaq	(%rbx,%r13), %rdx
	movq	_KS_LAME_DUCK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_TM_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	%r15, -168(%rbp)                ## 8-byte Spill
	cmpq	%rax, %r15
	jne	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdx), %rax
	movq	_S_INITIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movq	%rdx, %r15
	callq	_link_socket_actual_defined
	movq	%r15, %rdx
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13,%rbx)
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	_D_TLS_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	(%rdx), %rdi
	callq	_state_name
	movl	%eax, -84(%rbp)                 ## 4-byte Spill
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r12, -160(%rbp)                ## 8-byte Spill
	leaq	(%r12,%r14), %rdi
	addq	$8, %rdi
	leaq	-48(%rbp), %r15
	movq	%r15, %rsi
	callq	_session_id_print
	movl	%eax, %r14d
	leaq	(%rbx,%r13), %rdi
	addq	$12, %rdi
	movq	%r15, %rsi
	callq	_session_id_print
	movl	%eax, %r12d
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	addq	%rbx, %r13
	addq	$8, %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_print_link_socket_actual
	movl	%eax, (%rsp)
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str(%rip), %rsi
	movq	-168(%rbp), %r15                ## 8-byte Reload
	movl	%r15d, %edx
	movl	-84(%rbp), %ecx                 ## 4-byte Reload
	movl	%r14d, %r8d
	movl	%r12d, %r9d
	callq	_dmsg
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	(%rax), %rax
	movq	_S_INITIAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r13, %rdi
	callq	_link_socket_actual_defined
	testq	%rax, %rax
	je	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %r14                 ## 8-byte Reload
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	addq	%r14, %rbx
	movq	$0, -112(%rbp)
	xorl	%eax, %eax
	callq	_update_time
	movq	-72(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	-136(%rbp), %rdx                ## 8-byte Reload
	leaq	-112(%rbp), %rcx
	movq	-64(%rbp), %r8                  ## 8-byte Reload
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	callq	_tls_process
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_TLSMP_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	-112(%rbp), %rax
	testq	%rax, %rax
	movq	-152(%rbp), %rsi                ## 8-byte Reload
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	je	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	movl	(%rax), %eax
	movq	-120(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	%rcx, (%rax)
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdx), %rax
	movq	_S_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.15:                              ##   in Loop: Header=BB0_3 Depth=1
	incl	(%r12)
	movq	_TM_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	%rax, %r15
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	$1, %edx
	cmovel	%edx, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	jne	LBB0_19
## %bb.16:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-144(%rbp), %rcx                ## 8-byte Reload
	shlq	$4, %rcx
	movq	(%rsi,%rcx), %rcx
	movq	_S_ACTIVE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jl	LBB0_19
## %bb.17:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, 20(%r12)
	je	LBB0_18
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_reset_session
	jmp	LBB0_20
LBB0_18:                                ##   in Loop: Header=BB0_3 Depth=1
	movslq	%eax, %rdx
	movq	_TM_LAME_DUCK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movq	%r12, %rdi
	movl	$1, %ecx
	callq	_move_session
	jmp	LBB0_20
LBB0_1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_21:
	xorl	%eax, %eax
	callq	_update_time
	movq	_TLS_MULTI_AUTH_STATUS_INTERVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tls_authentication_status
	movl	%eax, %r14d
	movq	_TM_LAME_DUCK@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	shlq	$4, %rdi
	addq	24(%r12), %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	callq	_lame_duck_must_die
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:
	movq	(%rbx), %rdi
	shlq	$4, %rdi
	addq	24(%r12), %rdi
	movl	$1, %esi
	callq	_tls_session_free
	movq	_D_TLS_DEBUG_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_msg
LBB0_23:
	movq	24(%r12), %rax
	movq	_TM_UNTRUSTED@GOTPCREL(%rip), %r15
	movq	(%r15), %rcx
	shlq	$4, %rcx
	movq	_KS_PRIMARY@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rsi
	shlq	$4, %rsi
	addq	(%rax,%rcx), %rsi
	movq	%r12, %rdi
	callq	_DECRYPT_KEY_ENABLED
	testq	%rax, %rax
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	je	LBB0_25
## %bb.24:
	movq	_TM_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rdx
	movq	%r12, %rdi
	movl	$1, %ecx
	callq	_move_session
	movq	_D_TLS_DEBUG_LOW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TLS_AUTHENTICATION_SUCCEEDED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_msg
LBB0_25:
	testl	%ebx, %ebx
	je	LBB0_31
## %bb.26:
	movq	8(%r12), %rdi
	callq	_SIZE
	testl	%eax, %eax
	jle	LBB0_30
## %bb.27:
	xorl	%ebx, %ebx
	movq	_S_ACTIVE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_29:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	movq	(%rdi,%rbx,8), %rax
	movq	(%rax), %rax
	cmpq	(%r15), %rax
	jge	LBB0_31
## %bb.28:                              ##   in Loop: Header=BB0_29 Depth=1
	incq	%rbx
	callq	_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_29
LBB0_30:
	incl	4(%r12)
LBB0_31:
	xorl	%eax, %eax
	callq	_perf_pop
	leaq	-48(%rbp), %rdi
	callq	_gc_free
	movq	_TLS_AUTHENTICATION_FAILED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	jne	LBB0_33
## %bb.32:
	movq	_TLSMP_KILL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_33:
	addq	$136, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLSMP_INACTIVE,4,2             ## @TLSMP_INACTIVE
	.comm	_PERF_TLS_MULTI_PROCESS,4,2     ## @PERF_TLS_MULTI_PROCESS
	.comm	_TM_SIZE,4,2                    ## @TM_SIZE
	.comm	_KS_PRIMARY,8,3                 ## @KS_PRIMARY
	.comm	_KS_LAME_DUCK,8,3               ## @KS_LAME_DUCK
	.comm	_TM_ACTIVE,4,2                  ## @TM_ACTIVE
	.comm	_S_INITIAL,8,3                  ## @S_INITIAL
	.comm	_D_TLS_DEBUG,4,2                ## @D_TLS_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"TLS: tls_multi_process: i=%d state=%s, mysid=%s, stored-sid=%s, stored-ip=%s"

	.comm	_TLSMP_ACTIVE,4,2               ## @TLSMP_ACTIVE
	.comm	_S_ERROR,8,3                    ## @S_ERROR
	.comm	_S_ACTIVE,8,3                   ## @S_ACTIVE
	.comm	_TM_LAME_DUCK,8,3               ## @TM_LAME_DUCK
	.comm	_TLS_MULTI_AUTH_STATUS_INTERVAL,4,2 ## @TLS_MULTI_AUTH_STATUS_INTERVAL
	.comm	_D_TLS_DEBUG_LOW,4,2            ## @D_TLS_DEBUG_LOW
L_.str.1:                               ## @.str.1
	.asciz	"TLS: tls_multi_process: killed expiring key"

	.comm	_TM_UNTRUSTED,8,3               ## @TM_UNTRUSTED
L_.str.2:                               ## @.str.2
	.asciz	"TLS: tls_multi_process: untrusted session promoted to %strusted"

	.comm	_TLS_AUTHENTICATION_SUCCEEDED,4,2 ## @TLS_AUTHENTICATION_SUCCEEDED
L_.str.3:                               ## @.str.3
	.space	1

L_.str.4:                               ## @.str.4
	.asciz	"semi-"

	.comm	_TLS_AUTHENTICATION_FAILED,4,2  ## @TLS_AUTHENTICATION_FAILED
	.comm	_TLSMP_KILL,4,2                 ## @TLSMP_KILL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_multi_process              ; -- Begin function tls_multi_process
	.p2align	2
_tls_multi_process:                     ; @tls_multi_process
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x28, x27, [sp, #96]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #112]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	stp	x1, x4, [sp, #32]               ; 16-byte Folded Spill
	str	x3, [sp, #56]                   ; 8-byte Folded Spill
	str	x2, [sp, #24]                   ; 8-byte Folded Spill
	mov	x22, x0
	bl	_gc_new
	str	w0, [sp, #88]
Lloh0:
	adrp	x8, _TLSMP_INACTIVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TLSMP_INACTIVE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #52]                   ; 4-byte Folded Spill
Lloh3:
	adrp	x8, _PERF_TLS_MULTI_PROCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PERF_TLS_MULTI_PROCESS@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_perf_push
	bl	_tls_clear_error
Lloh6:
	adrp	x8, _TM_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TM_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_18
; %bb.1:
	mov	x25, #0
	mov	x24, #0
	str	wzr, [sp, #48]                  ; 4-byte Folded Spill
	add	x8, x22, #32
	str	x8, [sp, #16]                   ; 8-byte Folded Spill
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x22, x21
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x24, x24, #1
Lloh9:
	adrp	x8, _TM_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TM_SIZE@GOTPAGEOFF]
Lloh11:
	ldrsw	x8, [x8]
	add	x25, x25, #16
	cmp	x24, x8
	b.ge	LBB0_19
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x22
	ldr	x8, [x22, #24]
	add	x26, x8, x25
	ldr	x22, [x26]
Lloh12:
	adrp	x8, _KS_PRIMARY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _KS_PRIMARY@GOTPAGEOFF]
Lloh14:
	ldr	x20, [x8]
	add	x19, x22, x20, lsl #4
Lloh15:
	adrp	x8, _KS_LAME_DUCK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _KS_LAME_DUCK@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
Lloh18:
	adrp	x8, _TM_ACTIVE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TM_ACTIVE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	x24, x8
	b.ne	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
Lloh21:
	adrp	x9, _S_INITIAL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _S_INITIAL@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x0, [x8]
	bl	_link_socket_actual_defined
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	x8, [x8]
	ldr	w8, [x8]
	add	x9, x22, x20, lsl #4
	str	w8, [x9, #8]
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x22, [sp, #72]                  ; 8-byte Folded Spill
Lloh24:
	adrp	x8, _D_TLS_DEBUG@GOTPAGE
Lloh25:
	ldr	x8, [x8, _D_TLS_DEBUG@GOTPAGEOFF]
Lloh26:
	ldr	w28, [x8]
	ldr	x0, [x19]
	bl	_state_name
	mov	x22, x0
	add	x0, x26, #8
	add	x1, sp, #88
	bl	_session_id_print
	mov	x23, x0
	add	x0, x19, #12
	add	x1, sp, #88
	bl	_session_id_print
	mov	x20, x0
	add	x27, x19, #8
	add	x1, sp, #88
	mov	x0, x27
	bl	_print_link_socket_actual
	mov	x6, x0
	mov	x0, x28
Lloh27:
	adrp	x1, l_.str@PAGE
Lloh28:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	mov	x3, x22
	mov	x4, x23
	mov	x5, x20
	bl	_dmsg
	ldr	x8, [x19]
Lloh29:
	adrp	x9, _S_INITIAL@GOTPAGE
Lloh30:
	ldr	x9, [x9, _S_INITIAL@GOTPAGEOFF]
Lloh31:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x27
	bl	_link_socket_actual_defined
	cbz	x0, LBB0_2
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	str	xzr, [sp, #80]
	bl	_update_time
	add	x3, sp, #80
	mov	x22, x21
	mov	x0, x21
	mov	x1, x26
	ldp	x2, x5, [sp, #32]               ; 16-byte Folded Reload
	ldr	x4, [sp, #56]                   ; 8-byte Folded Reload
	bl	_tls_process
Lloh32:
	adrp	x8, _TLSMP_ACTIVE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _TLSMP_ACTIVE@GOTPAGEOFF]
Lloh34:
	ldr	w8, [x8]
	cmp	x0, #0
	ldr	w9, [sp, #52]                   ; 4-byte Folded Reload
	csel	w9, w9, w8, eq
	str	w9, [sp, #52]                   ; 4-byte Folded Spill
	ldr	x8, [sp, #80]
	cbz	x8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x8]
	ldr	x9, [sp, #16]                   ; 8-byte Folded Reload
	str	w8, [x9]
	ldr	x8, [sp, #24]                   ; 8-byte Folded Reload
	str	x9, [x8]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x19]
Lloh35:
	adrp	x9, _S_ERROR@GOTPAGE
Lloh36:
	ldr	x9, [x9, _S_ERROR@GOTPAGEOFF]
Lloh37:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
	add	w8, w8, #1
	str	w8, [x22]
Lloh38:
	adrp	x8, _TM_ACTIVE@GOTPAGE
Lloh39:
	ldr	x8, [x8, _TM_ACTIVE@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	cmp	x24, x8
	ldr	w11, [sp, #48]                  ; 4-byte Folded Reload
	csinc	w11, w11, wzr, ne
	b.ne	LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_4 Depth=1
	ldp	x9, x10, [sp, #64]              ; 16-byte Folded Reload
	lsl	x9, x9, #4
	ldr	x9, [x10, x9]
Lloh41:
	adrp	x10, _S_ACTIVE@GOTPAGE
Lloh42:
	ldr	x10, [x10, _S_ACTIVE@GOTPAGEOFF]
Lloh43:
	ldr	x10, [x10]
	cmp	x9, x10
	b.lt	LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x22, #20]
	cbz	w9, LBB0_17
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	str	w11, [sp, #48]                  ; 4-byte Folded Spill
	mov	x0, x22
	mov	x1, x26
	bl	_reset_session
	b	LBB0_3
LBB0_17:                                ;   in Loop: Header=BB0_4 Depth=1
	sxtw	x2, w8
Lloh44:
	adrp	x8, _TM_LAME_DUCK@GOTPAGE
Lloh45:
	ldr	x8, [x8, _TM_LAME_DUCK@GOTPAGEOFF]
Lloh46:
	ldr	w1, [x8]
	mov	w8, #1
	str	w8, [sp, #48]                   ; 4-byte Folded Spill
	mov	x0, x22
	mov	w3, #1
	bl	_move_session
	b	LBB0_3
LBB0_18:
	str	wzr, [sp, #48]                  ; 4-byte Folded Spill
LBB0_19:
	bl	_update_time
Lloh47:
	adrp	x8, _TLS_MULTI_AUTH_STATUS_INTERVAL@GOTPAGE
Lloh48:
	ldr	x8, [x8, _TLS_MULTI_AUTH_STATUS_INTERVAL@GOTPAGEOFF]
Lloh49:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_tls_authentication_status
	mov	x21, x0
	ldr	x8, [x22, #24]
Lloh50:
	adrp	x20, _TM_LAME_DUCK@GOTPAGE
Lloh51:
	ldr	x20, [x20, _TM_LAME_DUCK@GOTPAGEOFF]
	ldr	x9, [x20]
	add	x0, x8, x9, lsl #4
	ldr	x1, [sp, #40]                   ; 8-byte Folded Reload
	bl	_lame_duck_must_die
Lloh52:
	adrp	x19, _D_TLS_DEBUG_LOW@GOTPAGE
Lloh53:
	ldr	x19, [x19, _D_TLS_DEBUG_LOW@GOTPAGEOFF]
	cbz	x0, LBB0_21
; %bb.20:
	ldr	x8, [x22, #24]
	ldr	x9, [x20]
	add	x0, x8, x9, lsl #4
	mov	w1, #1
	bl	_tls_session_free
	ldr	w0, [x19]
Lloh54:
	adrp	x1, l_.str.1@PAGE
Lloh55:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_msg
LBB0_21:
	ldr	x8, [x22, #24]
Lloh56:
	adrp	x20, _TM_UNTRUSTED@GOTPAGE
Lloh57:
	ldr	x20, [x20, _TM_UNTRUSTED@GOTPAGEOFF]
	ldr	x9, [x20]
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
Lloh58:
	adrp	x9, _KS_PRIMARY@GOTPAGE
Lloh59:
	ldr	x9, [x9, _KS_PRIMARY@GOTPAGEOFF]
Lloh60:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #4
	mov	x0, x22
	bl	_DECRYPT_KEY_ENABLED
Lloh61:
	adrp	x23, _S_ACTIVE@GOTPAGE
Lloh62:
	ldr	x23, [x23, _S_ACTIVE@GOTPAGEOFF]
	cbz	x0, LBB0_23
; %bb.22:
Lloh63:
	adrp	x8, _TM_ACTIVE@GOTPAGE
Lloh64:
	ldr	x8, [x8, _TM_ACTIVE@GOTPAGEOFF]
Lloh65:
	ldr	w1, [x8]
	ldr	x2, [x20]
	mov	x0, x22
	mov	w3, #1
	bl	_move_session
	ldr	w0, [x19]
Lloh66:
	adrp	x8, _TLS_AUTHENTICATION_SUCCEEDED@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TLS_AUTHENTICATION_SUCCEEDED@GOTPAGEOFF]
Lloh68:
	ldr	w8, [x8]
Lloh69:
	adrp	x9, l_.str.4@PAGE
Lloh70:
	add	x9, x9, l_.str.4@PAGEOFF
Lloh71:
	adrp	x10, l_.str.3@PAGE
Lloh72:
	add	x10, x10, l_.str.3@PAGEOFF
	cmp	w21, w8
	csel	x8, x10, x9, eq
	str	x8, [sp]
Lloh73:
	adrp	x1, l_.str.2@PAGE
Lloh74:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_msg
LBB0_23:
	ldr	w8, [sp, #48]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_29
; %bb.24:
	ldr	x0, [x22, #8]
	bl	_SIZE
	cmp	w0, #1
	b.lt	LBB0_28
; %bb.25:
	mov	x19, #0
LBB0_26:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22, #8]
	ldr	x8, [x0, x19, lsl #3]
	ldr	x8, [x8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ge	LBB0_29
; %bb.27:                               ;   in Loop: Header=BB0_26 Depth=1
	add	x19, x19, #1
	bl	_SIZE
	cmp	x19, w0, sxtw
	b.lt	LBB0_26
LBB0_28:
	ldr	w8, [x22, #4]
	add	w8, w8, #1
	str	w8, [x22, #4]
LBB0_29:
	bl	_perf_pop
	add	x0, sp, #88
	bl	_gc_free
Lloh75:
	adrp	x8, _TLS_AUTHENTICATION_FAILED@GOTPAGE
Lloh76:
	ldr	x8, [x8, _TLS_AUTHENTICATION_FAILED@GOTPAGEOFF]
Lloh77:
	ldr	w8, [x8]
Lloh78:
	adrp	x9, _TLSMP_KILL@GOTPAGE
Lloh79:
	ldr	x9, [x9, _TLSMP_KILL@GOTPAGEOFF]
Lloh80:
	ldr	w9, [x9]
	cmp	w21, w8
	ldr	w8, [sp, #52]                   ; 4-byte Folded Reload
	csel	w0, w9, w8, eq
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #112]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh54, Lloh55
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGot	Lloh56, Lloh57
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh78, Lloh79, Lloh80
	.loh AdrpLdrGotLdr	Lloh75, Lloh76, Lloh77
	.cfi_endproc
                                        ; -- End function
	.comm	_TLSMP_INACTIVE,4,2             ; @TLSMP_INACTIVE
	.comm	_PERF_TLS_MULTI_PROCESS,4,2     ; @PERF_TLS_MULTI_PROCESS
	.comm	_TM_SIZE,4,2                    ; @TM_SIZE
	.comm	_KS_PRIMARY,8,3                 ; @KS_PRIMARY
	.comm	_KS_LAME_DUCK,8,3               ; @KS_LAME_DUCK
	.comm	_TM_ACTIVE,4,2                  ; @TM_ACTIVE
	.comm	_S_INITIAL,8,3                  ; @S_INITIAL
	.comm	_D_TLS_DEBUG,4,2                ; @D_TLS_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"TLS: tls_multi_process: i=%d state=%s, mysid=%s, stored-sid=%s, stored-ip=%s"

	.comm	_TLSMP_ACTIVE,4,2               ; @TLSMP_ACTIVE
	.comm	_S_ERROR,8,3                    ; @S_ERROR
	.comm	_S_ACTIVE,8,3                   ; @S_ACTIVE
	.comm	_TM_LAME_DUCK,8,3               ; @TM_LAME_DUCK
	.comm	_TLS_MULTI_AUTH_STATUS_INTERVAL,4,2 ; @TLS_MULTI_AUTH_STATUS_INTERVAL
	.comm	_D_TLS_DEBUG_LOW,4,2            ; @D_TLS_DEBUG_LOW
l_.str.1:                               ; @.str.1
	.asciz	"TLS: tls_multi_process: killed expiring key"

	.comm	_TM_UNTRUSTED,8,3               ; @TM_UNTRUSTED
l_.str.2:                               ; @.str.2
	.asciz	"TLS: tls_multi_process: untrusted session promoted to %strusted"

	.comm	_TLS_AUTHENTICATION_SUCCEEDED,4,2 ; @TLS_AUTHENTICATION_SUCCEEDED
l_.str.3:                               ; @.str.3
	.space	1

l_.str.4:                               ; @.str.4
	.asciz	"semi-"

	.comm	_TLS_AUTHENTICATION_FAILED,4,2  ; @TLS_AUTHENTICATION_FAILED
	.comm	_TLSMP_KILL,4,2                 ; @TLSMP_KILL
.subsections_via_symbols
