	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function execute_test_large_message
_execute_test_large_message:            ## @execute_test_large_message
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %ebx
	movl	%edx, -84(%rbp)                 ## 4-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movq	$0, -72(%rbp)
	movq	$0, -48(%rbp)
	movq	_cert@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	callq	_BIO_new_file
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	movl	%ebx, -80(%rbp)                 ## 4-byte Spill
	movl	%r15d, -76(%rbp)                ## 4-byte Spill
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_PEM_read_bio_X509
	movq	%rax, %r15
	movq	%r12, %rdi
	callq	_BIO_free
	movq	%r15, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_19
## %bb.2:
	movl	(%r13), %eax
	movq	_privkey@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	leaq	-56(%rbp), %r8
	leaq	-64(%rbp), %r9
	movq	%r14, %rdi
	movq	-96(%rbp), %rsi                 ## 8-byte Reload
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movl	-80(%rbp), %ecx                 ## 4-byte Reload
	pushq	%rbx
	pushq	%rax
	callq	_create_ssl_ctx_pair
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_18
## %bb.3:
	cmpl	$0, -76(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_5
## %bb.4:
	movq	-64(%rbp), %rdi
	movl	$1, %esi
	callq	_SSL_CTX_set_read_ahead
LBB0_5:
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_i2d_X509
	movq	_NUM_EXTRA_CERTS@GOTPCREL(%rip), %r14
	imull	(%r14), %eax
	movq	_SSL3_RT_MAX_PLAIN_LENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	shll	$2, %ecx
	movslq	%ecx, %rcx
	imulq	$1431655766, %rcx, %rcx         ## imm = 0x55555556
	movq	%rcx, %rdx
	shrq	$63, %rdx
	shrq	$32, %rcx
	addl	%edx, %ecx
	xorl	%edi, %edi
	cmpl	%ecx, %eax
	setg	%dil
	callq	_OPENSSL_assert
	cmpl	$0, (%r14)
	jle	LBB0_10
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_X509_up_ref
	testl	%eax, %eax
	je	LBB0_18
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	-56(%rbp), %rdi
	movq	%r15, %rsi
	callq	_SSL_CTX_add_extra_chain_cert
	testl	%eax, %eax
	je	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_7
LBB0_10:
	movq	-56(%rbp), %rdi
	movq	-64(%rbp), %rsi
	leaq	-48(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_create_ssl_objects
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_18
## %bb.11:
	movq	-48(%rbp), %rdi
	movq	-72(%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_18
## %bb.12:
	movq	-48(%rbp), %rdi
	callq	_SSL_clear
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setne	%bl
	jmp	LBB0_19
LBB0_13:
	xorl	%r15d, %r15d
LBB0_18:
	xorl	%ebx, %ebx
LBB0_19:
	movq	%r15, %rdi
	callq	_X509_free
	movq	-48(%rbp), %rdi
	callq	_SSL_free
	movq	-72(%rbp), %rdi
	callq	_SSL_free
	movq	-56(%rbp), %rdi
	callq	_SSL_CTX_free
	movq	-64(%rbp), %rdi
	callq	_SSL_CTX_free
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	movq	%r15, %rdi
	callq	_X509_free
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_cert,4,2                       ## @cert
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_privkey,4,2                    ## @privkey
	.comm	_NUM_EXTRA_CERTS,4,2            ## @NUM_EXTRA_CERTS
	.comm	_SSL3_RT_MAX_PLAIN_LENGTH,4,2   ## @SSL3_RT_MAX_PLAIN_LENGTH
	.comm	_SSL_ERROR_NONE,4,2             ## @SSL_ERROR_NONE
	.no_dead_strip	_execute_test_large_message
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function execute_test_large_message
_execute_test_large_message:            ; @execute_test_large_message
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x24, x0
	stp	xzr, xzr, [sp, #16]
	stp	xzr, xzr, [sp]
Lloh0:
	adrp	x26, _cert@GOTPAGE
Lloh1:
	ldr	x26, [x26, _cert@GOTPAGEOFF]
	ldr	w0, [x26]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_BIO_new_file
	mov	x25, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_13
; %bb.1:
	mov	x0, x25
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	bl	_PEM_read_bio_X509
	mov	x19, x0
	mov	x0, x25
	bl	_BIO_free
	mov	x0, x19
	bl	_TEST_ptr
	cbz	w0, LBB0_14
; %bb.2:
	ldr	w6, [x26]
Lloh4:
	adrp	x8, _privkey@GOTPAGE
Lloh5:
	ldr	x8, [x8, _privkey@GOTPAGEOFF]
Lloh6:
	ldr	w7, [x8]
	add	x4, sp, #16
	add	x5, sp, #24
	mov	x0, x24
	mov	x1, x23
	mov	x2, x22
	mov	x3, x21
	bl	_create_ssl_ctx_pair
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.3:
	cbz	w20, LBB0_5
; %bb.4:
	ldr	x0, [sp, #24]
	mov	w1, #1
	bl	_SSL_CTX_set_read_ahead
LBB0_5:
	mov	x0, x19
	mov	x1, #0
	bl	_i2d_X509
Lloh7:
	adrp	x20, _NUM_EXTRA_CERTS@GOTPAGE
Lloh8:
	ldr	x20, [x20, _NUM_EXTRA_CERTS@GOTPAGEOFF]
	ldr	w8, [x20]
	mul	w8, w8, w0
Lloh9:
	adrp	x9, _SSL3_RT_MAX_PLAIN_LENGTH@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SSL3_RT_MAX_PLAIN_LENGTH@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	lsl	w9, w9, #2
	mov	w10, #21846
	movk	w10, #21845, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	lsr	x9, x9, #32
	add	w9, w9, w10
	cmp	w8, w9
	cset	w0, gt
	bl	_OPENSSL_assert
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	mov	w21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_X509_up_ref
	cbz	w0, LBB0_14
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x0, [sp, #16]
	mov	x1, x19
	bl	_SSL_CTX_add_extra_chain_cert
	cbz	w0, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	add	w21, w21, #1
	ldr	w8, [x20]
	cmp	w21, w8
	b.lt	LBB0_7
LBB0_10:
	ldp	x0, x1, [sp, #16]
	mov	x2, sp
	add	x3, sp, #8
	mov	x4, #0
	mov	x5, #0
	bl	_create_ssl_objects
	bl	_TEST_true
	cbz	w0, LBB0_14
; %bb.11:
	ldp	x0, x1, [sp]
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_14
; %bb.12:
	ldr	x0, [sp]
	bl	_SSL_clear
	bl	_TEST_true
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_15
LBB0_13:
	mov	x19, #0
LBB0_14:
	mov	w20, #0
LBB0_15:
	mov	x0, x19
	bl	_X509_free
	ldr	x0, [sp]
	bl	_SSL_free
	ldr	x0, [sp, #8]
	bl	_SSL_free
	ldr	x0, [sp, #16]
	bl	_SSL_CTX_free
	ldr	x0, [sp, #24]
	bl	_SSL_CTX_free
	mov	x0, x20
	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
	add	sp, sp, #112
	ret
LBB0_16:
	mov	x0, x19
	bl	_X509_free
	b	LBB0_14
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_cert,4,2                       ; @cert
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_privkey,4,2                    ; @privkey
	.comm	_NUM_EXTRA_CERTS,4,2            ; @NUM_EXTRA_CERTS
	.comm	_SSL3_RT_MAX_PLAIN_LENGTH,4,2   ; @SSL3_RT_MAX_PLAIN_LENGTH
	.comm	_SSL_ERROR_NONE,4,2             ; @SSL_ERROR_NONE
	.no_dead_strip	_execute_test_large_message
.subsections_via_symbols
