	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_func
_test_func:                             ## @test_func
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %r13d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -88(%rbp)
	movabsq	$8386094071696024916, %rax      ## imm = 0x7461642074736554
	movq	%rax, -64(%rbp)
	movw	$97, -56(%rbp)
	movq	_serverctx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_clientctx@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_create_ssl_objects
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_37
## %bb.1:
	movq	-96(%rbp), %rdi
	movq	-88(%rbp), %rsi
	movq	_SSL_ERROR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_create_ssl_connection
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_38
## %bb.2:
	xorl	%eax, %eax
	movq	_SSL_ERROR_SYSCALL@GOTPCREL(%rip), %r12
LBB0_3:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##     Child Loop BB0_20 Depth 2
	movq	%rax, -104(%rbp)                ## 8-byte Spill
	movb	$1, %bl
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	-88(%rbp), %rdi
	leaq	(%r15,%rbp), %rsi
	addq	$-64, %rsi
	movl	$10, %edx
	subl	%r14d, %edx
	callq	_SSL_write
	testl	%eax, %eax
	jle	LBB0_15
## %bb.5:                               ##   in Loop: Header=BB0_7 Depth=2
	addl	%eax, %r14d
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=2
	movslq	%r14d, %r15
	cmpl	$10, %r15d
	setne	%al
	testb	%bl, %al
	movl	$0, %ebx
	je	LBB0_17
LBB0_7:                                 ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	testl	%r13d, %r13d
	jle	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	-88(%rbp), %rdi
	callq	_SSL_free_buffers
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_40
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$2, %r13d
	jb	LBB0_4
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-88(%rbp), %rdi
	callq	_SSL_alloc_buffers
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_40
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$3, %r13d
	jb	LBB0_4
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-88(%rbp), %rdi
	callq	_SSL_alloc_buffers
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_40
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=2
	cmpl	$4, %r13d
	jb	LBB0_4
## %bb.14:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	-88(%rbp), %rdi
	callq	_SSL_free_buffers
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	jne	LBB0_4
	jmp	LBB0_40
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	-88(%rbp), %rdi
	movl	%eax, %esi
	callq	_SSL_get_error
	cmpl	(%r12), %eax
	je	LBB0_44
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=2
	movq	_SSL_ERROR_SSL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
	jmp	LBB0_44
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	movl	%r14d, %edi
	movl	$10, %esi
	callq	_TEST_size_t_eq
	testl	%eax, %eax
	je	LBB0_40
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_MAX_ATTEMPTS@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_34
## %bb.19:                              ##   in Loop: Header=BB0_3 Depth=1
	xorl	%ebx, %ebx
	movl	$1, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_20:                                ##   Parent Loop BB0_3 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpl	$5, %r13d
	jl	LBB0_28
## %bb.21:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdi
	callq	_SSL_free_buffers
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_40
## %bb.22:                              ##   in Loop: Header=BB0_20 Depth=2
	cmpl	$6, %r13d
	jb	LBB0_28
## %bb.23:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdi
	callq	_SSL_free_buffers
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_40
## %bb.24:                              ##   in Loop: Header=BB0_20 Depth=2
	cmpl	$7, %r13d
	jb	LBB0_28
## %bb.25:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdi
	callq	_SSL_alloc_buffers
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_40
## %bb.26:                              ##   in Loop: Header=BB0_20 Depth=2
	cmpl	$8, %r13d
	jb	LBB0_28
## %bb.27:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdi
	callq	_SSL_free_buffers
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_40
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdi
	leaq	(%rbx,%rbp), %rsi
	addq	$-74, %rsi
	movl	$10, %edx
	subl	%r15d, %edx
	callq	_SSL_read
	testl	%eax, %eax
	jle	LBB0_30
## %bb.29:                              ##   in Loop: Header=BB0_20 Depth=2
	addl	%eax, %r15d
	jmp	LBB0_32
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_20 Depth=2
	movq	-96(%rbp), %rdi
	movl	%eax, %esi
	callq	_SSL_get_error
	cmpl	(%r12), %eax
	je	LBB0_45
## %bb.31:                              ##   in Loop: Header=BB0_20 Depth=2
	movq	_SSL_ERROR_SSL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_45
LBB0_32:                                ##   in Loop: Header=BB0_20 Depth=2
	cmpl	$10, %r15d
	je	LBB0_35
## %bb.33:                              ##   in Loop: Header=BB0_20 Depth=2
	movslq	%r15d, %rbx
	leaq	1(%r14), %rax
	movq	_MAX_ATTEMPTS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	movq	%rax, %r14
	jb	LBB0_20
	jmp	LBB0_35
LBB0_34:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%r15d, %r15d
LBB0_35:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	-74(%rbp), %rdi
	movl	%r15d, %esi
	leaq	-64(%rbp), %rdx
	movl	$10, %ecx
	callq	_TEST_mem_eq
	testl	%eax, %eax
	je	LBB0_40
## %bb.36:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	-104(%rbp), %rax                ## 8-byte Reload
	incq	%rax
	movl	$1, %ebx
	cmpq	$2, %rax
	jne	LBB0_3
	jmp	LBB0_41
LBB0_37:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_39
LBB0_38:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_39
LBB0_44:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_39
LBB0_45:
	leaq	L_.str.3(%rip), %rdi
LBB0_39:
	movl	%r13d, %esi
	callq	_TEST_error
LBB0_40:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ERR_print_errors_fp
	xorl	%ebx, %ebx
LBB0_41:
	movq	-88(%rbp), %rdi
	callq	_SSL_free
	movq	-96(%rbp), %rdi
	callq	_SSL_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_46
## %bb.42:
	movl	%ebx, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_46:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L___const.test_func.testdata:           ## @__const.test_func.testdata
	.asciz	"Test data"

	.comm	_serverctx,4,2                  ## @serverctx
	.comm	_clientctx,4,2                  ## @clientctx
L_.str:                                 ## @.str
	.asciz	"Test %d failed: Create SSL objects failed\n"

	.comm	_SSL_ERROR_NONE,4,2             ## @SSL_ERROR_NONE
L_.str.1:                               ## @.str.1
	.asciz	"Test %d failed: Create SSL connection failed\n"

	.comm	_SSL_ERROR_SYSCALL,4,2          ## @SSL_ERROR_SYSCALL
	.comm	_SSL_ERROR_SSL,4,2              ## @SSL_ERROR_SSL
L_.str.2:                               ## @.str.2
	.asciz	"Test %d failed: Failed to write app data\n"

	.comm	_MAX_ATTEMPTS,8,3               ## @MAX_ATTEMPTS
L_.str.3:                               ## @.str.3
	.asciz	"Test %d failed: Failed to read app data\n"

	.comm	_stderr,4,2                     ## @stderr
	.no_dead_strip	_test_func
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_func
_test_func:                             ; @test_func
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	stp	xzr, xzr, [sp, #8]
Lloh3:
	adrp	x8, l___const.test_func.testdata@PAGE
Lloh4:
	add	x8, x8, l___const.test_func.testdata@PAGEOFF
Lloh5:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	mov	w8, #97
	strh	w8, [sp, #48]
Lloh6:
	adrp	x8, _serverctx@GOTPAGE
Lloh7:
	ldr	x8, [x8, _serverctx@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
Lloh9:
	adrp	x8, _clientctx@GOTPAGE
Lloh10:
	ldr	x8, [x8, _clientctx@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x4, #0
	mov	x5, #0
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_44
; %bb.1:
	ldp	x1, x0, [sp, #8]
Lloh12:
	adrp	x8, _SSL_ERROR_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_ERROR_NONE@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	bl	_create_ssl_connection
	bl	_TEST_true
	cbz	w0, LBB0_45
; %bb.2:
	mov	x22, #0
	mov	w24, #10
Lloh15:
	adrp	x25, _MAX_ATTEMPTS@GOTPAGE
Lloh16:
	ldr	x25, [x25, _MAX_ATTEMPTS@GOTPAGEOFF]
	add	x26, sp, #30
Lloh17:
	adrp	x27, _SSL_ERROR_SSL@GOTPAGE
Lloh18:
	ldr	x27, [x27, _SSL_ERROR_SSL@GOTPAGEOFF]
Lloh19:
	adrp	x20, l_.str.2@PAGE
Lloh20:
	add	x20, x20, l_.str.2@PAGEOFF
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_32 Depth 2
	cmp	w19, #1
	b.lt	LBB0_11
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_free_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #2
	b.lo	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_alloc_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #3
	b.lo	LBB0_11
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_alloc_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.9:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #4
	b.lo	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_free_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
LBB0_11:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	add	x1, sp, #40
	mov	w2, #10
	bl	_SSL_write
	mov	x21, x0
	cmp	w0, #0
	b.le	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w21, #10
	b.ne	LBB0_15
	b	LBB0_26
LBB0_13:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	mov	x1, x21
	bl	_SSL_get_error
Lloh21:
	adrp	x8, _SSL_ERROR_SYSCALL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SSL_ERROR_SYSCALL@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	ldr	w9, [x27]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.eq	LBB0_47
; %bb.14:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
	cmp	w21, #10
	b.eq	LBB0_26
LBB0_15:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #1
	b.lt	LBB0_23
; %bb.16:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_free_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.17:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #2
	b.lo	LBB0_23
; %bb.18:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_alloc_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.19:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #3
	b.lo	LBB0_23
; %bb.20:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_alloc_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.21:                               ;   in Loop: Header=BB0_3 Depth=1
	cmp	w19, #4
	b.lo	LBB0_23
; %bb.22:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_free_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
LBB0_23:                                ;   in Loop: Header=BB0_3 Depth=1
	sxtw	x8, w21
	ldr	x0, [sp, #8]
	add	x9, sp, #40
	add	x1, x9, x8
	sub	w2, w24, w21
	bl	_SSL_write
	mov	x1, x0
	cmp	w0, #0
	b.le	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_3 Depth=1
	add	w21, w1, w21
	b	LBB0_26
LBB0_25:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	bl	_SSL_get_error
Lloh24:
	adrp	x8, _SSL_ERROR_SYSCALL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SSL_ERROR_SYSCALL@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	w9, [x27]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.eq	LBB0_47
LBB0_26:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x21
	mov	w1, #10
	bl	_TEST_size_t_eq
	cbz	w0, LBB0_48
; %bb.27:                               ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x25]
	cbz	x8, LBB0_41
; %bb.28:                               ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, #0
	mov	w21, #0
	mov	w23, #1
	b	LBB0_32
LBB0_29:                                ;   in Loop: Header=BB0_32 Depth=2
	ldr	x0, [sp, #16]
	add	x1, x26, x28
	sub	w2, w24, w21
	bl	_SSL_read
	mov	x1, x0
	cmp	w0, #1
	b.lt	LBB0_40
; %bb.30:                               ;   in Loop: Header=BB0_32 Depth=2
	add	w21, w1, w21
LBB0_31:                                ;   in Loop: Header=BB0_32 Depth=2
	sxtw	x28, w21
	ldr	x8, [x25]
	cmp	w21, #10
	ccmp	x23, x8, #2, ne
	add	x23, x23, #1
	b.hs	LBB0_42
LBB0_32:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w19, #5
	b.lt	LBB0_29
; %bb.33:                               ;   in Loop: Header=BB0_32 Depth=2
	ldr	x0, [sp, #16]
	bl	_SSL_free_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.34:                               ;   in Loop: Header=BB0_32 Depth=2
	cmp	w19, #6
	b.lo	LBB0_29
; %bb.35:                               ;   in Loop: Header=BB0_32 Depth=2
	ldr	x0, [sp, #16]
	bl	_SSL_free_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.36:                               ;   in Loop: Header=BB0_32 Depth=2
	cmp	w19, #7
	b.lo	LBB0_29
; %bb.37:                               ;   in Loop: Header=BB0_32 Depth=2
	ldr	x0, [sp, #16]
	bl	_SSL_alloc_buffers
	bl	_TEST_true
	cbz	w0, LBB0_48
; %bb.38:                               ;   in Loop: Header=BB0_32 Depth=2
	cmp	w19, #8
	b.lo	LBB0_29
; %bb.39:                               ;   in Loop: Header=BB0_32 Depth=2
	ldr	x0, [sp, #16]
	bl	_SSL_free_buffers
	bl	_TEST_true
	cbnz	w0, LBB0_29
	b	LBB0_48
LBB0_40:                                ;   in Loop: Header=BB0_32 Depth=2
	ldr	x0, [sp, #16]
	bl	_SSL_get_error
Lloh27:
	adrp	x8, _SSL_ERROR_SYSCALL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SSL_ERROR_SYSCALL@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	ldr	w9, [x27]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	b.ne	LBB0_31
	b	LBB0_46
LBB0_41:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	w21, #0
LBB0_42:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x0, sp, #30
	add	x2, sp, #40
	mov	x1, x21
	mov	w3, #10
	bl	_TEST_mem_eq
	cbz	w0, LBB0_48
; %bb.43:                               ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	mov	w21, #1
	cmp	x22, #2
	b.ne	LBB0_3
	b	LBB0_49
LBB0_44:
Lloh30:
	adrp	x20, l_.str@PAGE
Lloh31:
	add	x20, x20, l_.str@PAGEOFF
	b	LBB0_47
LBB0_45:
Lloh32:
	adrp	x20, l_.str.1@PAGE
Lloh33:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_47
LBB0_46:
Lloh34:
	adrp	x20, l_.str.3@PAGE
Lloh35:
	add	x20, x20, l_.str.3@PAGEOFF
LBB0_47:
	mov	x0, x20
	mov	x1, x19
	bl	_TEST_error
LBB0_48:
Lloh36:
	adrp	x8, _stderr@GOTPAGE
Lloh37:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	bl	_ERR_print_errors_fp
	mov	w21, #0
LBB0_49:
	ldr	x0, [sp, #8]
	bl	_SSL_free
	ldr	x0, [sp, #16]
	bl	_SSL_free
	ldr	x8, [sp, #56]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_51
; %bb.50:
	mov	x0, x21
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_51:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.test_func.testdata:           ; @__const.test_func.testdata
	.asciz	"Test data"

	.comm	_serverctx,4,2                  ; @serverctx
	.comm	_clientctx,4,2                  ; @clientctx
l_.str:                                 ; @.str
	.asciz	"Test %d failed: Create SSL objects failed\n"

	.comm	_SSL_ERROR_NONE,4,2             ; @SSL_ERROR_NONE
l_.str.1:                               ; @.str.1
	.asciz	"Test %d failed: Create SSL connection failed\n"

	.comm	_SSL_ERROR_SYSCALL,4,2          ; @SSL_ERROR_SYSCALL
	.comm	_SSL_ERROR_SSL,4,2              ; @SSL_ERROR_SSL
l_.str.2:                               ; @.str.2
	.asciz	"Test %d failed: Failed to write app data\n"

	.comm	_MAX_ATTEMPTS,8,3               ; @MAX_ATTEMPTS
l_.str.3:                               ; @.str.3
	.asciz	"Test %d failed: Failed to read app data\n"

	.comm	_stderr,4,2                     ; @stderr
	.no_dead_strip	_test_func
.subsections_via_symbols
