	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_tls13ccs
_test_tls13ccs:                         ## @test_tls13ccs
	.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	$152, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r12d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -176(%rbp)
	movq	$0, -160(%rbp)
	movq	$0, -152(%rbp)
	movabsq	$7017769825249097028, %rax      ## imm = 0x616420796D6D7544
	movq	%rax, -64(%rbp)
	movl	$6386785, -57(%rbp)             ## imm = 0x617461
	movq	_ccsbeforesh@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_ccsaftersh@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_sccsseen@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_shseen@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_chseen@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_badsessid@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_badvers@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_badccs@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_cappdataseen@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_sappdataseen@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_chsessidlen@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	xorl	%eax, %eax
	callq	_TLS_server_method
	movl	%eax, %r15d
	xorl	%eax, %eax
	callq	_TLS_client_method
	movq	_TLS1_VERSION@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_cert@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_privkey@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	leaq	-168(%rbp), %r14
	leaq	-176(%rbp), %r13
	movl	%r15d, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	movq	%r14, %r8
	movq	%r13, %r9
	pushq	%rbx
	pushq	%r10
	callq	_create_ssl_ctx_pair
	addq	$16, %rsp
	movq	%rax, %rdi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_12
## %bb.1:
	movq	-168(%rbp), %rdi
	movq	_SSL3_RT_MAX_PLAIN_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSL_CTX_set_max_early_data
	movq	%rax, %rdi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_30
## %bb.2:
	cmpl	$11, %r12d
	ja	LBB0_29
## %bb.3:
	movl	$585, %eax                      ## imm = 0x249
	btl	%r12d, %eax
	jb	LBB0_7
## %bb.4:
	movl	$1170, %eax                     ## imm = 0x492
	btl	%r12d, %eax
	jb	LBB0_6
## %bb.5:
	movq	%r14, %r13
LBB0_6:
	movq	(%r13), %rdi
	movq	_SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSL_CTX_clear_options
LBB0_7:
	xorl	%r15d, %r15d
	cmpl	$6, %r12d
	jb	LBB0_13
## %bb.8:
	movq	-168(%rbp), %rdi
	movq	-176(%rbp), %rsi
	leaq	-160(%rbp), %rdx
	leaq	-152(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_create_ssl_objects
	movq	%rax, %rdi
	callq	_TEST_true
	movl	$0, %r14d
	testl	%eax, %eax
	je	LBB0_32
## %bb.9:
	movq	-160(%rbp), %rdi
	movq	-152(%rbp), %rsi
	movq	_SSL_ERROR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_create_ssl_connection
	movq	%rax, %rdi
	callq	_TEST_true
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_31
## %bb.10:
	movq	-152(%rbp), %rdi
	callq	_SSL_get1_session
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_32
## %bb.11:
	movq	-152(%rbp), %rdi
	callq	_SSL_shutdown
	movq	-160(%rbp), %rdi
	callq	_SSL_shutdown
	movq	-160(%rbp), %rdi
	callq	_SSL_free
	movq	-152(%rbp), %rdi
	callq	_SSL_free
	movq	$0, -152(%rbp)
	movq	$0, -160(%rbp)
	cmpl	$8, %r12d
	jbe	LBB0_14
	jmp	LBB0_15
LBB0_12:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_32
LBB0_13:
	xorl	%r14d, %r14d
	cmpl	$8, %r12d
	ja	LBB0_15
LBB0_14:
	leal	-3(%r12), %eax
	cmpl	$2, %eax
	ja	LBB0_16
LBB0_15:
	movq	-168(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_SSL_CTX_set1_groups_list
	movq	%rax, %rdi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_28
LBB0_16:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_bio_f_watchccs_filter
	movl	%eax, %edi
	callq	_BIO_new
	movq	_s_to_c_fbio@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	xorl	%eax, %eax
	callq	_bio_f_watchccs_filter
	movl	%eax, %edi
	callq	_BIO_new
	movq	_c_to_s_fbio@GOTPCREL(%rip), %rbx
	movq	%rax, (%rbx)
	movq	(%r13), %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_26
## %bb.17:
	movq	(%rbx), %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_26
## %bb.18:
	movq	-168(%rbp), %rdi
	movq	-176(%rbp), %rsi
	movq	(%r13), %r8
	movq	(%rbx), %r9
	leaq	-160(%rbp), %rdx
	leaq	-152(%rbp), %rcx
	callq	_create_ssl_objects
	movq	%rax, %rdi
	callq	_TEST_true
	xorl	%r15d, %r15d
	testl	%eax, %eax
	je	LBB0_32
## %bb.19:
	cmpl	$6, %r12d
	jb	LBB0_36
## %bb.20:
	movq	-152(%rbp), %rdi
	movq	%r14, %rsi
	callq	_SSL_set_session
	movq	%rax, %rdi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.21:
	movq	-152(%rbp), %rbx
	leaq	-64(%rbp), %r13
	movq	%r13, %rdi
	callq	_strlen
	leaq	-192(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_SSL_write_early_data
	movq	%rax, %rdi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.22:
	cmpl	$8, %r12d
	ja	LBB0_34
## %bb.23:
	movq	-160(%rbp), %rdi
	leaq	-144(%rbp), %rsi
	leaq	-184(%rbp), %rcx
	movl	$80, %edx
	callq	_SSL_read_early_data
	movq	_SSL_READ_EARLY_DATA_SUCCESS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_32
## %bb.24:
	movq	-152(%rbp), %rdi
	callq	_SSL_connect
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_gt
	testl	%eax, %eax
	jne	LBB0_35
LBB0_28:
	xorl	%r15d, %r15d
	jmp	LBB0_32
LBB0_26:
	movq	(%r13), %rdi
	callq	_BIO_free
	movq	(%rbx), %rdi
	callq	_BIO_free
	jmp	LBB0_32
LBB0_29:
	leaq	L_.str(%rip), %rdi
	callq	_TEST_error
LBB0_30:
	xorl	%r15d, %r15d
LBB0_31:
	xorl	%r14d, %r14d
LBB0_32:
	movq	%r14, %rdi
	callq	_SSL_SESSION_free
	movq	-160(%rbp), %rdi
	callq	_SSL_free
	movq	-152(%rbp), %rdi
	callq	_SSL_free
	movq	-168(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-176(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_62
## %bb.33:
	movl	%r15d, %eax
	addq	$152, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_34:
	movq	-152(%rbp), %rdi
	callq	_SSL_connect
	movl	%eax, %edi
	xorl	%esi, %esi
	callq	_TEST_int_le
	testl	%eax, %eax
	je	LBB0_28
LBB0_35:
	movq	-160(%rbp), %rdi
	leaq	-144(%rbp), %rsi
	leaq	-184(%rbp), %rcx
	movl	$80, %edx
	callq	_SSL_read_early_data
	movq	_SSL_READ_EARLY_DATA_FINISH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_TEST_int_eq
	testl	%eax, %eax
	je	LBB0_32
LBB0_36:
	movq	-160(%rbp), %rdi
	movq	-152(%rbp), %rsi
	movq	_SSL_ERROR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_create_ssl_connection
	movq	%rax, %rdi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.37:
	movq	_badccs@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_32
## %bb.38:
	movq	_badvers@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_32
## %bb.39:
	movq	_badsessid@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_32
## %bb.40:
	cmpl	$11, %r12d
	ja	LBB0_61
## %bb.41:
	movl	%r12d, %eax
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_42:
	movq	_sccsseen@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.43:
	movq	_ccsaftersh@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_32
## %bb.44:
	movq	_ccsbeforesh@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_32
## %bb.45:
	movq	_chsessidlen@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_TEST_size_t_eq
	jmp	LBB0_59
LBB0_47:
	movq	_sccsseen@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_true
	jmp	LBB0_49
LBB0_48:
	movq	_sccsseen@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
LBB0_49:
	testl	%eax, %eax
	je	LBB0_32
## %bb.50:
	movq	_ccsaftersh@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_32
## %bb.51:
	movq	_ccsbeforesh@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
	jmp	LBB0_57
LBB0_52:
	movq	_sccsseen@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_true
	jmp	LBB0_54
LBB0_53:
	movq	_sccsseen@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
LBB0_54:
	testl	%eax, %eax
	je	LBB0_32
## %bb.55:
	movq	_ccsaftersh@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_32
## %bb.56:
	movq	_ccsbeforesh@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_TEST_true
LBB0_57:
	testl	%eax, %eax
	je	LBB0_32
## %bb.58:
	movq	_chsessidlen@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	callq	_TEST_size_t_gt
LBB0_59:
	testl	%eax, %eax
	je	LBB0_32
## %bb.60:
	movl	$1, %r15d
	jmp	LBB0_32
LBB0_61:
	leaq	L_.str(%rip), %rdi
	callq	_TEST_error
	jmp	LBB0_32
LBB0_62:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_47, LBB0_47-LJTI0_0
.set L0_0_set_42, LBB0_42-LJTI0_0
.set L0_0_set_48, LBB0_48-LJTI0_0
.set L0_0_set_52, LBB0_52-LJTI0_0
.set L0_0_set_53, LBB0_53-LJTI0_0
LJTI0_0:
	.long	L0_0_set_47
	.long	L0_0_set_42
	.long	L0_0_set_48
	.long	L0_0_set_47
	.long	L0_0_set_42
	.long	L0_0_set_48
	.long	L0_0_set_52
	.long	L0_0_set_42
	.long	L0_0_set_53
	.long	L0_0_set_52
	.long	L0_0_set_42
	.long	L0_0_set_53
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.test_tls13ccs.msg:            ## @__const.test_tls13ccs.msg
	.asciz	"Dummy data"

	.comm	_ccsbeforesh,8,3                ## @ccsbeforesh
	.comm	_ccsaftersh,8,3                 ## @ccsaftersh
	.comm	_sccsseen,8,3                   ## @sccsseen
	.comm	_shseen,8,3                     ## @shseen
	.comm	_chseen,8,3                     ## @chseen
	.comm	_badsessid,8,3                  ## @badsessid
	.comm	_badvers,8,3                    ## @badvers
	.comm	_badccs,8,3                     ## @badccs
	.comm	_cappdataseen,8,3               ## @cappdataseen
	.comm	_sappdataseen,8,3               ## @sappdataseen
	.comm	_chsessidlen,8,3                ## @chsessidlen
	.comm	_TLS1_VERSION,4,2               ## @TLS1_VERSION
	.comm	_cert,4,2                       ## @cert
	.comm	_privkey,4,2                    ## @privkey
	.comm	_SSL3_RT_MAX_PLAIN_LENGTH,4,2   ## @SSL3_RT_MAX_PLAIN_LENGTH
	.comm	_SSL_OP_ENABLE_MIDDLEBOX_COMPAT,4,2 ## @SSL_OP_ENABLE_MIDDLEBOX_COMPAT
L_.str:                                 ## @.str
	.asciz	"Invalid test value"

	.comm	_SSL_ERROR_NONE,4,2             ## @SSL_ERROR_NONE
L_.str.1:                               ## @.str.1
	.asciz	"P-256"

	.comm	_s_to_c_fbio,8,3                ## @s_to_c_fbio
	.comm	_c_to_s_fbio,8,3                ## @c_to_s_fbio
	.comm	_SSL_READ_EARLY_DATA_SUCCESS,4,2 ## @SSL_READ_EARLY_DATA_SUCCESS
	.comm	_SSL_READ_EARLY_DATA_FINISH,4,2 ## @SSL_READ_EARLY_DATA_FINISH
	.no_dead_strip	_test_tls13ccs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_tls13ccs
_test_tls13ccs:                         ; @test_tls13ccs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #256
	.cfi_def_cfa_offset 256
	stp	x28, x27, [sp, #160]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #176]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #192]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #208]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #224]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #240]            ; 16-byte Folded Spill
	add	x29, sp, #240
	.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	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
	stp	xzr, xzr, [sp, #32]
	stp	xzr, xzr, [sp, #16]
Lloh3:
	adrp	x8, l___const.test_tls13ccs.msg@PAGE
Lloh4:
	add	x8, x8, l___const.test_tls13ccs.msg@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	stur	x8, [x29, #-112]
	mov	w8, #29793
	movk	w8, #97, lsl #16
	stur	w8, [x29, #-105]
Lloh6:
	adrp	x23, _ccsbeforesh@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ccsbeforesh@GOTPAGEOFF]
	str	xzr, [x23]
Lloh8:
	adrp	x24, _ccsaftersh@GOTPAGE
Lloh9:
	ldr	x24, [x24, _ccsaftersh@GOTPAGEOFF]
	str	xzr, [x24]
Lloh10:
	adrp	x25, _sccsseen@GOTPAGE
Lloh11:
	ldr	x25, [x25, _sccsseen@GOTPAGEOFF]
	str	xzr, [x25]
Lloh12:
	adrp	x8, _shseen@GOTPAGE
Lloh13:
	ldr	x8, [x8, _shseen@GOTPAGEOFF]
Lloh14:
	str	xzr, [x8]
Lloh15:
	adrp	x8, _chseen@GOTPAGE
Lloh16:
	ldr	x8, [x8, _chseen@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
Lloh18:
	adrp	x26, _badsessid@GOTPAGE
Lloh19:
	ldr	x26, [x26, _badsessid@GOTPAGEOFF]
	str	xzr, [x26]
Lloh20:
	adrp	x27, _badvers@GOTPAGE
Lloh21:
	ldr	x27, [x27, _badvers@GOTPAGEOFF]
	str	xzr, [x27]
Lloh22:
	adrp	x28, _badccs@GOTPAGE
Lloh23:
	ldr	x28, [x28, _badccs@GOTPAGEOFF]
	str	xzr, [x28]
Lloh24:
	adrp	x8, _cappdataseen@GOTPAGE
Lloh25:
	ldr	x8, [x8, _cappdataseen@GOTPAGEOFF]
Lloh26:
	str	xzr, [x8]
Lloh27:
	adrp	x8, _sappdataseen@GOTPAGE
Lloh28:
	ldr	x8, [x8, _sappdataseen@GOTPAGEOFF]
Lloh29:
	str	xzr, [x8]
Lloh30:
	adrp	x8, _chsessidlen@GOTPAGE
Lloh31:
	ldr	x8, [x8, _chsessidlen@GOTPAGEOFF]
Lloh32:
	str	xzr, [x8]
	bl	_TLS_server_method
	mov	x19, x0
	bl	_TLS_client_method
	mov	x1, x0
Lloh33:
	adrp	x8, _TLS1_VERSION@GOTPAGE
Lloh34:
	ldr	x8, [x8, _TLS1_VERSION@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
Lloh36:
	adrp	x8, _cert@GOTPAGE
Lloh37:
	ldr	x8, [x8, _cert@GOTPAGEOFF]
Lloh38:
	ldr	w6, [x8]
Lloh39:
	adrp	x8, _privkey@GOTPAGE
Lloh40:
	ldr	x8, [x8, _privkey@GOTPAGEOFF]
Lloh41:
	ldr	w7, [x8]
	add	x4, sp, #40
	add	x5, sp, #32
	mov	x0, x19
	mov	w3, #0
	bl	_create_ssl_ctx_pair
	bl	_TEST_true
	cbz	w0, LBB0_24
; %bb.1:
	ldr	x0, [sp, #40]
Lloh42:
	adrp	x8, _SSL3_RT_MAX_PLAIN_LENGTH@GOTPAGE
Lloh43:
	ldr	x8, [x8, _SSL3_RT_MAX_PLAIN_LENGTH@GOTPAGEOFF]
Lloh44:
	ldr	w1, [x8]
	bl	_SSL_CTX_set_max_early_data
	bl	_TEST_true
	cbz	w0, LBB0_24
; %bb.2:
	cmp	w20, #11
	b.hi	LBB0_23
; %bb.3:
	mov	w8, #1
	lsl	w8, w8, w20
	mov	w9, #585
	tst	w8, w9
	b.ne	LBB0_5
; %bb.4:
	add	x9, sp, #32
	mov	w10, #1170
	tst	w8, w10
	add	x8, sp, #40
	csel	x8, x9, x8, ne
	ldr	x0, [x8]
Lloh45:
	adrp	x8, _SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	bl	_SSL_CTX_clear_options
LBB0_5:
	cmp	w20, #6
	b.lo	LBB0_10
; %bb.6:
	ldp	x1, x0, [sp, #32]
	add	x2, sp, #24
	add	x3, sp, #16
	mov	x4, #0
	mov	x5, #0
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_24
; %bb.7:
	ldp	x1, x0, [sp, #16]
Lloh48:
	adrp	x8, _SSL_ERROR_NONE@GOTPAGE
Lloh49:
	ldr	x8, [x8, _SSL_ERROR_NONE@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	bl	_create_ssl_connection
	bl	_TEST_true
	cbz	w0, LBB0_24
; %bb.8:
	ldr	x0, [sp, #16]
	bl	_SSL_get1_session
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_49
; %bb.9:
	ldr	x0, [sp, #16]
	bl	_SSL_shutdown
	ldr	x0, [sp, #24]
	bl	_SSL_shutdown
	ldr	x0, [sp, #24]
	bl	_SSL_free
	ldr	x0, [sp, #16]
	bl	_SSL_free
	stp	xzr, xzr, [sp, #16]
	cmp	w20, #8
	b.ls	LBB0_11
	b	LBB0_12
LBB0_10:
	mov	x19, #0
	cmp	w20, #8
	b.hi	LBB0_12
LBB0_11:
	sub	w8, w20, #3
	cmp	w8, #2
	b.hi	LBB0_13
LBB0_12:
	ldr	x0, [sp, #40]
Lloh51:
	adrp	x1, l_.str.1@PAGE
Lloh52:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_SSL_CTX_set1_groups_list
	bl	_TEST_true
	cbz	w0, LBB0_49
LBB0_13:
	bl	_bio_f_watchccs_filter
	bl	_BIO_new
Lloh53:
	adrp	x21, _s_to_c_fbio@GOTPAGE
Lloh54:
	ldr	x21, [x21, _s_to_c_fbio@GOTPAGEOFF]
	str	x0, [x21]
	bl	_bio_f_watchccs_filter
	bl	_BIO_new
Lloh55:
	adrp	x22, _c_to_s_fbio@GOTPAGE
Lloh56:
	ldr	x22, [x22, _c_to_s_fbio@GOTPAGEOFF]
	str	x0, [x22]
	ldr	x0, [x21]
	bl	_TEST_ptr
	cbz	w0, LBB0_22
; %bb.14:
	ldr	x0, [x22]
	bl	_TEST_ptr
	cbz	w0, LBB0_22
; %bb.15:
	ldp	x1, x0, [sp, #32]
	ldr	x4, [x21]
	ldr	x5, [x22]
	add	x2, sp, #24
	add	x3, sp, #16
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_49
; %bb.16:
	cmp	w20, #6
	b.lo	LBB0_29
; %bb.17:
	ldr	x0, [sp, #16]
	mov	x1, x19
	bl	_SSL_set_session
	bl	_TEST_true
	cbz	w0, LBB0_49
; %bb.18:
	ldr	x21, [sp, #16]
	sub	x0, x29, #112
	bl	_strlen
	mov	x2, x0
	sub	x1, x29, #112
	add	x3, sp, #8
	mov	x0, x21
	bl	_SSL_write_early_data
	bl	_TEST_true
	cbz	w0, LBB0_49
; %bb.19:
	cmp	w20, #8
	b.hi	LBB0_27
; %bb.20:
	ldr	x0, [sp, #24]
	add	x1, sp, #48
	mov	x3, sp
	mov	w2, #80
	bl	_SSL_read_early_data
Lloh57:
	adrp	x8, _SSL_READ_EARLY_DATA_SUCCESS@GOTPAGE
Lloh58:
	ldr	x8, [x8, _SSL_READ_EARLY_DATA_SUCCESS@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	bl	_TEST_int_eq
	cbz	w0, LBB0_49
; %bb.21:
	ldr	x0, [sp, #16]
	bl	_SSL_connect
	mov	w1, #0
	bl	_TEST_int_gt
	cbnz	w0, LBB0_28
	b	LBB0_49
LBB0_22:
	ldr	x0, [x21]
	bl	_BIO_free
	ldr	x0, [x22]
	bl	_BIO_free
	mov	w20, #0
	b	LBB0_25
LBB0_23:
Lloh60:
	adrp	x0, l_.str@PAGE
Lloh61:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEST_error
LBB0_24:
	mov	w20, #0
	mov	x19, #0
LBB0_25:
	mov	x0, x19
	bl	_SSL_SESSION_free
	ldr	x0, [sp, #24]
	bl	_SSL_free
	ldr	x0, [sp, #16]
	bl	_SSL_free
	ldr	x0, [sp, #40]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #32]
	bl	_SSL_CTX_free
	ldur	x8, [x29, #-96]
Lloh62:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh63:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh64:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.26:
	mov	x0, x20
	ldp	x29, x30, [sp, #240]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #224]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #208]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #192]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #176]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #160]            ; 16-byte Folded Reload
	add	sp, sp, #256
	ret
LBB0_27:
	ldr	x0, [sp, #16]
	bl	_SSL_connect
	mov	w1, #0
	bl	_TEST_int_le
	cbz	w0, LBB0_49
LBB0_28:
	ldr	x0, [sp, #24]
	add	x1, sp, #48
	mov	x3, sp
	mov	w2, #80
	bl	_SSL_read_early_data
Lloh65:
	adrp	x8, _SSL_READ_EARLY_DATA_FINISH@GOTPAGE
Lloh66:
	ldr	x8, [x8, _SSL_READ_EARLY_DATA_FINISH@GOTPAGEOFF]
Lloh67:
	ldr	w1, [x8]
	bl	_TEST_int_eq
	cbz	w0, LBB0_49
LBB0_29:
	ldp	x1, x0, [sp, #16]
Lloh68:
	adrp	x8, _SSL_ERROR_NONE@GOTPAGE
Lloh69:
	ldr	x8, [x8, _SSL_ERROR_NONE@GOTPAGEOFF]
Lloh70:
	ldr	w2, [x8]
	bl	_create_ssl_connection
	bl	_TEST_true
	cbz	w0, LBB0_49
; %bb.30:
	ldr	x0, [x28]
	bl	_TEST_false
	cbz	w0, LBB0_49
; %bb.31:
	ldr	x0, [x27]
	bl	_TEST_false
	cbz	w0, LBB0_49
; %bb.32:
	ldr	x0, [x26]
	bl	_TEST_false
	cbz	w0, LBB0_49
; %bb.33:
	cmp	w20, #11
	b.hi	LBB0_50
; %bb.34:
	mov	w8, w20
Lloh71:
	adrp	x9, lJTI0_0@PAGE
Lloh72:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_35
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_35:
	ldr	x0, [x25]
	bl	_TEST_true
	cbz	w0, LBB0_49
; %bb.36:
	ldr	x0, [x24]
	bl	_TEST_false
	cbz	w0, LBB0_49
; %bb.37:
	ldr	x0, [x23]
	bl	_TEST_false
	cbz	w0, LBB0_49
; %bb.38:
Lloh73:
	adrp	x8, _chsessidlen@GOTPAGE
Lloh74:
	ldr	x8, [x8, _chsessidlen@GOTPAGEOFF]
Lloh75:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_TEST_size_t_eq
	cbnz	w0, LBB0_48
	b	LBB0_49
LBB0_39:
	ldr	x0, [x25]
	bl	_TEST_true
	cbnz	w0, LBB0_41
	b	LBB0_49
LBB0_40:
	ldr	x0, [x25]
	bl	_TEST_false
	cbz	w0, LBB0_49
LBB0_41:
	ldr	x0, [x24]
	bl	_TEST_true
	cbz	w0, LBB0_49
; %bb.42:
	ldr	x0, [x23]
	bl	_TEST_false
	cbnz	w0, LBB0_47
	b	LBB0_49
LBB0_43:
	ldr	x0, [x25]
	bl	_TEST_true
	cbnz	w0, LBB0_45
	b	LBB0_49
LBB0_44:
	ldr	x0, [x25]
	bl	_TEST_false
	cbz	w0, LBB0_49
LBB0_45:
	ldr	x0, [x24]
	bl	_TEST_false
	cbz	w0, LBB0_49
; %bb.46:
	ldr	x0, [x23]
	bl	_TEST_true
	cbz	w0, LBB0_49
LBB0_47:
Lloh76:
	adrp	x8, _chsessidlen@GOTPAGE
Lloh77:
	ldr	x8, [x8, _chsessidlen@GOTPAGEOFF]
Lloh78:
	ldr	x0, [x8]
	mov	w1, #0
	bl	_TEST_size_t_gt
	cbz	w0, LBB0_49
LBB0_48:
	mov	w20, #1
	b	LBB0_25
LBB0_49:
	mov	w20, #0
	b	LBB0_25
LBB0_50:
Lloh79:
	adrp	x0, l_.str@PAGE
Lloh80:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TEST_error
	mov	w20, #0
	b	LBB0_25
LBB0_51:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotStr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotStr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotStr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh55, Lloh56
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh62, Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_39-LBB0_35)>>2
	.byte	(LBB0_35-LBB0_35)>>2
	.byte	(LBB0_40-LBB0_35)>>2
	.byte	(LBB0_39-LBB0_35)>>2
	.byte	(LBB0_35-LBB0_35)>>2
	.byte	(LBB0_40-LBB0_35)>>2
	.byte	(LBB0_43-LBB0_35)>>2
	.byte	(LBB0_35-LBB0_35)>>2
	.byte	(LBB0_44-LBB0_35)>>2
	.byte	(LBB0_43-LBB0_35)>>2
	.byte	(LBB0_35-LBB0_35)>>2
	.byte	(LBB0_44-LBB0_35)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.test_tls13ccs.msg:            ; @__const.test_tls13ccs.msg
	.asciz	"Dummy data"

	.comm	_ccsbeforesh,8,3                ; @ccsbeforesh
	.comm	_ccsaftersh,8,3                 ; @ccsaftersh
	.comm	_sccsseen,8,3                   ; @sccsseen
	.comm	_shseen,8,3                     ; @shseen
	.comm	_chseen,8,3                     ; @chseen
	.comm	_badsessid,8,3                  ; @badsessid
	.comm	_badvers,8,3                    ; @badvers
	.comm	_badccs,8,3                     ; @badccs
	.comm	_cappdataseen,8,3               ; @cappdataseen
	.comm	_sappdataseen,8,3               ; @sappdataseen
	.comm	_chsessidlen,8,3                ; @chsessidlen
	.comm	_TLS1_VERSION,4,2               ; @TLS1_VERSION
	.comm	_cert,4,2                       ; @cert
	.comm	_privkey,4,2                    ; @privkey
	.comm	_SSL3_RT_MAX_PLAIN_LENGTH,4,2   ; @SSL3_RT_MAX_PLAIN_LENGTH
	.comm	_SSL_OP_ENABLE_MIDDLEBOX_COMPAT,4,2 ; @SSL_OP_ENABLE_MIDDLEBOX_COMPAT
l_.str:                                 ; @.str
	.asciz	"Invalid test value"

	.comm	_SSL_ERROR_NONE,4,2             ; @SSL_ERROR_NONE
l_.str.1:                               ; @.str.1
	.asciz	"P-256"

	.comm	_s_to_c_fbio,8,3                ; @s_to_c_fbio
	.comm	_c_to_s_fbio,8,3                ; @c_to_s_fbio
	.comm	_SSL_READ_EARLY_DATA_SUCCESS,4,2 ; @SSL_READ_EARLY_DATA_SUCCESS
	.comm	_SSL_READ_EARLY_DATA_FINISH,4,2 ; @SSL_READ_EARLY_DATA_FINISH
	.no_dead_strip	_test_tls13ccs
.subsections_via_symbols
