	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_validate_all_contexts      ## -- Begin function tls_validate_all_contexts
	.p2align	4, 0x90
_tls_validate_all_contexts:             ## @tls_validate_all_contexts
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r14d
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	_ext_defs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_OSSL_NELEM
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	_SSL_EXT_CLIENT_HELLO@GOTPCREL(%rip), %rax
	movq	_SSL_EXT_TLS1_2_SERVER_HELLO@GOTPCREL(%rip), %rcx
	movl	%r14d, -48(%rbp)                ## 4-byte Spill
	testl	%r14d, (%rcx)
	jne	LBB0_2
## %bb.1:
	movq	_ENDPOINT_BOTH@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_2:
	movq	_ENDPOINT_CLIENT@GOTPCREL(%rip), %rcx
LBB0_3:
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	testl	%edx, (%rax)
	jne	LBB0_5
## %bb.4:
	movl	(%rcx), %eax
	jmp	LBB0_6
LBB0_5:
	movq	_ENDPOINT_SERVER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rax
	movq	(%rax), %r12
	movl	$1, %eax
	addq	-64(%rbp), %r12                 ## 8-byte Folded Reload
	je	LBB0_17
## %bb.7:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_11 Depth=1
	movq	_ext_defs@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	addq	%r14, %r13
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r13), %esi
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_validate_context
	testl	%eax, %eax
	je	LBB0_16
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%r15
	addq	$4, %r14
	cmpq	%r15, %r12
	je	LBB0_15
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpl	$0, 4(%rbx,%r14,2)
	je	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	-64(%rbp), %r15                 ## 8-byte Folded Reload
	jb	LBB0_8
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	movl	(%rbx,%r14,2), %edx
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	leaq	-72(%rbp), %rcx
	callq	_custom_ext_find
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_ossl_assert
	testl	%eax, %eax
	jne	LBB0_9
LBB0_16:
	xorl	%eax, %eax
	jmp	LBB0_17
LBB0_15:
	movl	$1, %eax
LBB0_17:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ext_defs,8,3                   ## @ext_defs
	.comm	_ENDPOINT_BOTH,4,2              ## @ENDPOINT_BOTH
	.comm	_SSL_EXT_CLIENT_HELLO,4,2       ## @SSL_EXT_CLIENT_HELLO
	.comm	_ENDPOINT_SERVER,4,2            ## @ENDPOINT_SERVER
	.comm	_SSL_EXT_TLS1_2_SERVER_HELLO,4,2 ## @SSL_EXT_TLS1_2_SERVER_HELLO
	.comm	_ENDPOINT_CLIENT,4,2            ## @ENDPOINT_CLIENT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tls_validate_all_contexts      ; -- Begin function tls_validate_all_contexts
	.p2align	2
_tls_validate_all_contexts:             ; @tls_validate_all_contexts
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x24, _ext_defs@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ext_defs@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_OSSL_NELEM
Lloh2:
	adrp	x8, _SSL_EXT_CLIENT_HELLO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSL_EXT_CLIENT_HELLO@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _SSL_EXT_TLS1_2_SERVER_HELLO@GOTPAGE
Lloh6:
	ldr	x9, [x9, _SSL_EXT_TLS1_2_SERVER_HELLO@GOTPAGEOFF]
Lloh7:
	adrp	x10, _ENDPOINT_BOTH@GOTPAGE
Lloh8:
	ldr	x10, [x10, _ENDPOINT_BOTH@GOTPAGEOFF]
Lloh9:
	adrp	x11, _ENDPOINT_CLIENT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _ENDPOINT_CLIENT@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w19
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
Lloh12:
	adrp	x10, _ENDPOINT_SERVER@GOTPAGE
Lloh13:
	ldr	x10, [x10, _ENDPOINT_SERVER@GOTPAGEOFF]
Lloh14:
	ldr	w10, [x10]
	tst	w8, w19
	csel	w22, w9, w10, eq
	ldr	x8, [x20]
	ldr	x8, [x8]
	adds	x25, x8, x0
	b.eq	LBB0_8
; %bb.1:
	mov	x21, x0
	mov	x26, #0
	mov	x27, #0
	add	x28, x23, #4
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x24]
	add	x23, x8, x26
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x23]
	mov	x0, x20
	mov	x2, x19
	bl	_validate_context
	cbz	w0, LBB0_9
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	add	x28, x28, #8
	add	x26, x26, #4
	cmp	x25, x27
	b.eq	LBB0_8
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x28]
	cbz	w8, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x27, x21
	b.lo	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x0, [x20]
	ldur	w2, [x28, #-4]
	add	x3, sp, #8
	mov	x1, x22
	bl	_custom_ext_find
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_ossl_assert
	cbnz	w0, LBB0_3
	b	LBB0_9
LBB0_8:
	mov	w0, #1
LBB0_9:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh11
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ext_defs,8,3                   ; @ext_defs
	.comm	_ENDPOINT_BOTH,4,2              ; @ENDPOINT_BOTH
	.comm	_SSL_EXT_CLIENT_HELLO,4,2       ; @SSL_EXT_CLIENT_HELLO
	.comm	_ENDPOINT_SERVER,4,2            ; @ENDPOINT_SERVER
	.comm	_SSL_EXT_TLS1_2_SERVER_HELLO,4,2 ; @SSL_EXT_TLS1_2_SERVER_HELLO
	.comm	_ENDPOINT_CLIENT,4,2            ; @ENDPOINT_CLIENT
.subsections_via_symbols
