	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_ssl_set_bio
_test_ssl_set_bio:                      ## @test_ssl_set_bio
	.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	$104, %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	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -80(%rbp)
	movq	$0, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -72(%rbp)
	movq	_TOTAL_NO_CONN_SSL_SET_BIO_TESTS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jle	LBB0_2
## %bb.1:
	movslq	%r12d, %rax
	imulq	$1431655766, %rax, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,2), %edx
	subl	%edx, %r12d
	movslq	%ecx, %rsi
	imulq	$1431655766, %rsi, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %esi
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	imulq	$954437177, %rax, %rcx          ## imm = 0x38E38E39
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	sarl	%ecx
	addl	%edx, %ecx
	movslq	%ecx, %rsi
	imulq	$1431655766, %rsi, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	addl	%edx, %ecx
	leal	(%rcx,%rcx,2), %ecx
	subl	%ecx, %esi
	movq	%rsi, -144(%rbp)                ## 8-byte Spill
	imulq	$1272582903, %rax, %rax         ## imm = 0x4BDA12F7
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	sarl	$3, %eax
	addl	%ecx, %eax
	movslq	%eax, %r14
	imulq	$1431655766, %r14, %rax         ## imm = 0x55555556
	movq	%rax, %rcx
	shrq	$63, %rcx
	shrq	$32, %rax
	addl	%ecx, %eax
	leal	(%rax,%rax,2), %eax
	subl	%eax, %r14d
	movq	_CONNTYPE_NO_CONNECTION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_3
LBB0_2:
	subl	%eax, %r12d
	movq	_USE_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r12d, %eax
	shrl	$31, %eax
	addl	%r12d, %eax
	movl	%eax, %ecx
	andl	$-2, %ecx
	movl	%r12d, %edx
	subl	%ecx, %edx
	movq	%rdx, -144(%rbp)                ## 8-byte Spill
	movl	%eax, %r14d
	sarl	%r14d
	shrl	$31, %eax
	addl	%r14d, %eax
	andl	$-2, %eax
	subl	%eax, %r14d
	leal	3(%r12), %eax
	testl	%r12d, %r12d
	cmovnsl	%r12d, %eax
	movl	%eax, %ecx
	sarl	$2, %ecx
	shrl	$31, %eax
	addl	%ecx, %eax
	andl	$-2, %eax
	subl	%eax, %ecx
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movl	%esi, %r12d
LBB0_3:
	xorl	%r15d, %r15d
	xorl	%eax, %eax
	callq	_TLS_server_method
	movl	%eax, %r13d
	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	-120(%rbp), %r8
	leaq	-112(%rbp), %r9
	movl	%r13d, %edi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	pushq	%rbx
	pushq	%r10
	callq	_create_ssl_ctx_pair
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	_CONNTYPE_CONNECTION_FAIL@GOTPCREL(%rip), %rax
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	cmpl	(%rax), %ecx
	jne	LBB0_7
## %bb.6:
	movq	-120(%rbp), %rdi
	movq	_TLS1_3_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSL_CTX_set_min_proto_version
	movq	-112(%rbp), %rdi
	movq	_TLS1_2_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSL_CTX_set_max_proto_version
LBB0_7:
	movq	-120(%rbp), %rdi
	movq	-112(%rbp), %rsi
	xorl	%r14d, %r14d
	leaq	-128(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_create_ssl_objects
	movl	%eax, %edi
	callq	_TEST_true
	movl	$0, %ebx
	movl	$0, %r15d
	testl	%eax, %eax
	movq	-144(%rbp), %r13                ## 8-byte Reload
	je	LBB0_43
## %bb.8:
	movq	_USE_BIO_1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	cmpl	%eax, %r12d
	movq	-136(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_18
## %bb.9:
	cmpl	%eax, -88(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_18
## %bb.10:
	cmpl	%eax, %r13d
	je	LBB0_18
## %bb.11:
	cmpl	%eax, %ebx
	je	LBB0_18
## %bb.12:
	xorl	%eax, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_13
LBB0_4:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	jmp	LBB0_43
LBB0_18:
	xorl	%eax, %eax
	callq	_BIO_s_mem
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_19
LBB0_13:
	movq	_USE_BIO_2@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%r15d, %r15d
	cmpl	%eax, %r12d
	je	LBB0_20
## %bb.14:
	cmpl	%eax, -88(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_20
## %bb.15:
	cmpl	%eax, %r13d
	je	LBB0_20
## %bb.16:
	cmpl	%eax, %ebx
	je	LBB0_20
## %bb.17:
	xorl	%ebx, %ebx
	jmp	LBB0_21
LBB0_20:
	xorl	%eax, %eax
	callq	_BIO_s_mem
	movl	%eax, %edi
	callq	_BIO_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_42
LBB0_21:
	movq	_USE_DEFAULT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	je	LBB0_28
## %bb.22:
	leaq	-56(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r12d, %ecx
	callq	_setupbio
	leaq	-80(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_setupbio
	movq	-72(%rbp), %rdi
	movq	-56(%rbp), %rsi
	movq	-80(%rbp), %rdx
	callq	_SSL_set_bio
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_23
## %bb.24:
	callq	_BIO_up_ref
	movq	-56(%rbp), %rax
	jmp	LBB0_25
LBB0_19:
	xorl	%ebx, %ebx
	jmp	LBB0_42
LBB0_23:
	xorl	%eax, %eax
LBB0_25:
	movq	-80(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_28
## %bb.26:
	cmpq	%rax, %rdi
	je	LBB0_28
## %bb.27:
	callq	_BIO_up_ref
LBB0_28:
	movq	_CONNTYPE_NO_CONNECTION@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	je	LBB0_31
## %bb.29:
	movq	-128(%rbp), %rdi
	movq	-72(%rbp), %rsi
	movq	_SSL_ERROR_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_create_ssl_connection
	movq	_CONNTYPE_CONNECTION_SUCCESS@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpl	(%rcx), %r15d
	sete	%dl
	xorl	%edi, %edi
	cmpl	%edx, %eax
	sete	%dil
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_30
LBB0_31:
	leaq	-104(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movl	%r13d, %ecx
	callq	_setupbio
	leaq	-96(%rbp), %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-136(%rbp), %rcx                ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	_setupbio
	movq	-104(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_36
## %bb.32:
	cmpq	-56(%rbp), %rsi
	je	LBB0_36
## %bb.33:
	movq	-96(%rbp), %rax
	cmpq	-80(%rbp), %rax
	jne	LBB0_35
## %bb.34:
	cmpq	%rax, %rsi
	je	LBB0_36
LBB0_35:
	movq	%rsi, %rdi
	callq	_BIO_up_ref
	movq	-104(%rbp), %rsi
LBB0_36:
	movq	-96(%rbp), %rdx
	testq	%rdx, %rdx
	je	LBB0_41
## %bb.37:
	cmpq	%rsi, %rdx
	je	LBB0_41
## %bb.38:
	movq	-80(%rbp), %rax
	cmpq	%rax, %rdx
	jne	LBB0_40
## %bb.39:
	cmpq	%rax, -56(%rbp)
	jne	LBB0_41
LBB0_40:
	movq	%rdx, %rdi
	callq	_BIO_up_ref
	movq	-104(%rbp), %rsi
	movq	-96(%rbp), %rdx
LBB0_41:
	movq	-72(%rbp), %rdi
	callq	_SSL_set_bio
	movl	$1, %r15d
LBB0_42:
	movq	-64(%rbp), %r14                 ## 8-byte Reload
LBB0_43:
	movq	%r14, %rdi
	callq	_BIO_free
	movq	%rbx, %rdi
	callq	_BIO_free
	movq	-128(%rbp), %rdi
	callq	_SSL_free
	movq	-72(%rbp), %rdi
	callq	_SSL_free
	movq	-120(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-112(%rbp), %rdi
	callq	_SSL_CTX_free
	movl	%r15d, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_30:
	xorl	%r15d, %r15d
	jmp	LBB0_43
	.cfi_endproc
                                        ## -- End function
	.comm	_TOTAL_NO_CONN_SSL_SET_BIO_TESTS,4,2 ## @TOTAL_NO_CONN_SSL_SET_BIO_TESTS
	.comm	_CONNTYPE_NO_CONNECTION,4,2     ## @CONNTYPE_NO_CONNECTION
	.comm	_USE_DEFAULT,4,2                ## @USE_DEFAULT
	.comm	_TLS1_VERSION,4,2               ## @TLS1_VERSION
	.comm	_cert,4,2                       ## @cert
	.comm	_privkey,4,2                    ## @privkey
	.comm	_CONNTYPE_CONNECTION_FAIL,4,2   ## @CONNTYPE_CONNECTION_FAIL
	.comm	_TLS1_3_VERSION,4,2             ## @TLS1_3_VERSION
	.comm	_TLS1_2_VERSION,4,2             ## @TLS1_2_VERSION
	.comm	_USE_BIO_1,4,2                  ## @USE_BIO_1
	.comm	_USE_BIO_2,4,2                  ## @USE_BIO_2
	.comm	_SSL_ERROR_NONE,4,2             ## @SSL_ERROR_NONE
	.comm	_CONNTYPE_CONNECTION_SUCCESS,4,2 ## @CONNTYPE_CONNECTION_SUCCESS
	.no_dead_strip	_test_ssl_set_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_ssl_set_bio
_test_ssl_set_bio:                      ; @test_ssl_set_bio
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	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
	stp	xzr, xzr, [sp, #48]
	stp	xzr, xzr, [sp, #32]
	stp	xzr, xzr, [sp, #16]
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x8, _TOTAL_NO_CONN_SSL_SET_BIO_TESTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TOTAL_NO_CONN_SSL_SET_BIO_TESTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_2
; %bb.1:
	mov	w8, #21846
	movk	w8, #21845, lsl #16
	smull	x9, w0, w8
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	smull	x10, w9, w8
	lsr	x11, x10, #63
	lsr	x10, x10, #32
	add	w10, w10, w11
	add	w10, w10, w10, lsl #1
	sub	w24, w9, w10
	add	w9, w9, w9, lsl #1
	sub	w22, w0, w9
	mov	w9, #36409
	movk	w9, #14563, lsl #16
	smull	x9, w0, w9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #1
	smull	x10, w9, w8
	lsr	x11, x10, #63
	lsr	x10, x10, #32
	add	w10, w10, w11
	add	w10, w10, w10, lsl #1
	sub	w19, w9, w10
	mov	w9, #4855
	movk	w9, #19418, lsl #16
	smull	x9, w0, w9
	lsr	x10, x9, #32
	lsr	x9, x9, #63
	add	w9, w9, w10, asr #3
	smull	x8, w9, w8
	lsr	x10, x8, #63
	lsr	x8, x8, #32
	add	w8, w8, w10
	add	w8, w8, w8, lsl #1
	sub	w20, w9, w8
Lloh3:
	adrp	x8, _CONNTYPE_NO_CONNECTION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CONNTYPE_NO_CONNECTION@GOTPAGEOFF]
Lloh5:
	ldr	w25, [x8]
	b	LBB0_3
LBB0_2:
Lloh6:
	adrp	x9, _USE_DEFAULT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USE_DEFAULT@GOTPAGEOFF]
Lloh8:
	ldr	w22, [x9]
	sub	w8, w0, w8
	cmp	w8, #0
	cinc	w9, w8, lt
	asr	w10, w9, #1
	and	w9, w9, #0xfffffffe
	sub	w19, w8, w9
	and	w9, w10, #0x1
	cmp	w10, #0
	cneg	w20, w9, lt
	add	w9, w8, #3
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #2
	and	w9, w8, #0x1
	cmp	w8, #0
	cneg	w25, w9, lt
	mov	x24, x22
LBB0_3:
	bl	_TLS_server_method
	mov	x21, x0
	bl	_TLS_client_method
	mov	x1, x0
Lloh9:
	adrp	x8, _TLS1_VERSION@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TLS1_VERSION@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _cert@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cert@GOTPAGEOFF]
Lloh14:
	ldr	w6, [x8]
Lloh15:
	adrp	x8, _privkey@GOTPAGE
Lloh16:
	ldr	x8, [x8, _privkey@GOTPAGEOFF]
Lloh17:
	ldr	w7, [x8]
	add	x4, sp, #56
	add	x5, sp, #48
	mov	x0, x21
	mov	w3, #0
	bl	_create_ssl_ctx_pair
	bl	_TEST_true
	cbz	w0, LBB0_11
; %bb.4:
Lloh18:
	adrp	x8, _CONNTYPE_CONNECTION_FAIL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _CONNTYPE_CONNECTION_FAIL@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	cmp	w25, w8
	b.ne	LBB0_6
; %bb.5:
	ldr	x0, [sp, #56]
Lloh21:
	adrp	x8, _TLS1_3_VERSION@GOTPAGE
Lloh22:
	ldr	x8, [x8, _TLS1_3_VERSION@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_SSL_CTX_set_min_proto_version
	ldr	x0, [sp, #48]
Lloh24:
	adrp	x8, _TLS1_2_VERSION@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TLS1_2_VERSION@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	bl	_SSL_CTX_set_max_proto_version
LBB0_6:
	ldp	x1, x0, [sp, #48]
	add	x2, sp, #8
	mov	x3, sp
	mov	x4, #0
	mov	x5, #0
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_11
; %bb.7:
Lloh27:
	adrp	x8, _USE_BIO_1@GOTPAGE
Lloh28:
	ldr	x8, [x8, _USE_BIO_1@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_14
; %bb.8:
	cmp	w24, w8
	b.eq	LBB0_14
; %bb.9:
	cmp	w19, w8
	ccmp	w20, w8, #4, ne
	b.eq	LBB0_14
; %bb.10:
	mov	x21, #0
	b	LBB0_15
LBB0_11:
	mov	x21, #0
LBB0_12:
	mov	x23, #0
LBB0_13:
	mov	w19, #0
	b	LBB0_40
LBB0_14:
	bl	_BIO_s_mem
	bl	_BIO_new
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_12
LBB0_15:
Lloh30:
	adrp	x8, _USE_BIO_2@GOTPAGE
Lloh31:
	ldr	x8, [x8, _USE_BIO_2@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_20
; %bb.16:
	cmp	w24, w8
	b.eq	LBB0_20
; %bb.17:
	cmp	w19, w8
	b.eq	LBB0_20
; %bb.18:
	cmp	w20, w8
	b.eq	LBB0_20
; %bb.19:
	mov	x23, #0
	b	LBB0_21
LBB0_20:
	bl	_BIO_s_mem
	bl	_BIO_new
	mov	x23, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_13
LBB0_21:
Lloh33:
	adrp	x8, _USE_DEFAULT@GOTPAGE
Lloh34:
	ldr	x8, [x8, _USE_DEFAULT@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	cmp	w22, w8
	b.eq	LBB0_27
; %bb.22:
	add	x0, sp, #40
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_setupbio
	add	x0, sp, #32
	mov	x1, x21
	mov	x2, x23
	mov	x3, x24
	bl	_setupbio
	ldr	x0, [sp]
	ldp	x2, x1, [sp, #32]
	bl	_SSL_set_bio
	ldr	x0, [sp, #40]
	cbz	x0, LBB0_24
; %bb.23:
	bl	_BIO_up_ref
	ldr	x8, [sp, #40]
	ldr	x0, [sp, #32]
	cbnz	x0, LBB0_25
	b	LBB0_27
LBB0_24:
	mov	x8, #0
	ldr	x0, [sp, #32]
	cbz	x0, LBB0_27
LBB0_25:
	cmp	x0, x8
	b.eq	LBB0_27
; %bb.26:
	bl	_BIO_up_ref
LBB0_27:
Lloh36:
	adrp	x8, _CONNTYPE_NO_CONNECTION@GOTPAGE
Lloh37:
	ldr	x8, [x8, _CONNTYPE_NO_CONNECTION@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	cmp	w25, w8
	b.eq	LBB0_29
; %bb.28:
	ldp	x1, x0, [sp]
Lloh39:
	adrp	x8, _SSL_ERROR_NONE@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SSL_ERROR_NONE@GOTPAGEOFF]
Lloh41:
	ldr	w2, [x8]
	bl	_create_ssl_connection
Lloh42:
	adrp	x8, _CONNTYPE_CONNECTION_SUCCESS@GOTPAGE
Lloh43:
	ldr	x8, [x8, _CONNTYPE_CONNECTION_SUCCESS@GOTPAGEOFF]
Lloh44:
	ldr	w8, [x8]
	cmp	w25, w8
	cset	w8, eq
	cmp	w0, w8
	cset	w0, eq
	bl	_TEST_true
	cbz	w0, LBB0_13
LBB0_29:
	add	x0, sp, #24
	mov	x1, x21
	mov	x2, x23
	mov	x3, x19
	bl	_setupbio
	add	x0, sp, #16
	mov	x1, x21
	mov	x2, x23
	mov	x3, x20
	bl	_setupbio
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_34
; %bb.30:
	ldr	x8, [sp, #40]
	cmp	x1, x8
	b.eq	LBB0_34
; %bb.31:
	ldr	x8, [sp, #16]
	ldr	x9, [sp, #32]
	cmp	x8, x9
	b.ne	LBB0_33
; %bb.32:
	cmp	x1, x8
	b.eq	LBB0_34
LBB0_33:
	mov	x0, x1
	bl	_BIO_up_ref
	ldr	x1, [sp, #24]
LBB0_34:
	ldr	x2, [sp, #16]
	cbz	x2, LBB0_39
; %bb.35:
	cmp	x2, x1
	b.eq	LBB0_39
; %bb.36:
	ldr	x8, [sp, #32]
	cmp	x2, x8
	b.ne	LBB0_38
; %bb.37:
	ldr	x9, [sp, #40]
	cmp	x9, x8
	b.ne	LBB0_39
LBB0_38:
	mov	x0, x2
	bl	_BIO_up_ref
	ldp	x2, x1, [sp, #16]
LBB0_39:
	ldr	x0, [sp]
	bl	_SSL_set_bio
	mov	w19, #1
LBB0_40:
	mov	x0, x21
	bl	_BIO_free
	mov	x0, x23
	bl	_BIO_free
	ldr	x0, [sp, #8]
	bl	_SSL_free
	ldr	x0, [sp]
	bl	_SSL_free
	ldr	x0, [sp, #56]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #48]
	bl	_SSL_CTX_free
	mov	x0, x19
	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
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_TOTAL_NO_CONN_SSL_SET_BIO_TESTS,4,2 ; @TOTAL_NO_CONN_SSL_SET_BIO_TESTS
	.comm	_CONNTYPE_NO_CONNECTION,4,2     ; @CONNTYPE_NO_CONNECTION
	.comm	_USE_DEFAULT,4,2                ; @USE_DEFAULT
	.comm	_TLS1_VERSION,4,2               ; @TLS1_VERSION
	.comm	_cert,4,2                       ; @cert
	.comm	_privkey,4,2                    ; @privkey
	.comm	_CONNTYPE_CONNECTION_FAIL,4,2   ; @CONNTYPE_CONNECTION_FAIL
	.comm	_TLS1_3_VERSION,4,2             ; @TLS1_3_VERSION
	.comm	_TLS1_2_VERSION,4,2             ; @TLS1_2_VERSION
	.comm	_USE_BIO_1,4,2                  ; @USE_BIO_1
	.comm	_USE_BIO_2,4,2                  ; @USE_BIO_2
	.comm	_SSL_ERROR_NONE,4,2             ; @SSL_ERROR_NONE
	.comm	_CONNTYPE_CONNECTION_SUCCESS,4,2 ; @CONNTYPE_CONNECTION_SUCCESS
	.no_dead_strip	_test_ssl_set_bio
.subsections_via_symbols
