	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssl3_write_bytes               ## -- Begin function ssl3_write_bytes
	.p2align	4, 0x90
_ssl3_write_bytes:                      ## @ssl3_write_bytes
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	104(%rdi), %rbx
	movq	_SSL_NOTHING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 152(%rdi)
	movq	56(%rdi), %r12
	cmpq	%rcx, %r12
	ja	LBB0_3
## %bb.1:
	movq	%r8, %r14
	movq	%rcx, %r15
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.2:
	movq	64(%r13), %rcx
	addq	%r12, %rcx
	cmpq	%r15, %rcx
	jbe	LBB0_8
LBB0_3:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_WRITE_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_BAD_LENGTH@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ecx
	movq	%r13, %rdi
	callq	_SSLfatal
LBB0_5:
	movl	$-1, %eax
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_82
## %bb.7:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	movq	(%r13), %rcx
	movq	_SSL_EARLY_DATA_WRITING@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_11
## %bb.9:
	movq	%r13, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movl	$1, %ecx
	callq	_early_data_count_ok
	testl	%eax, %eax
	je	LBB0_5
## %bb.10:
	movq	(%rbx), %rax
LBB0_11:
	movq	$0, 56(%r13)
	testq	%rax, %rax
	jne	LBB0_14
## %bb.12:
	movq	8(%r13), %rax
	movq	_SSL_KEY_UPDATE_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	movl	$1, %esi
	callq	_ossl_statem_set_in_init
LBB0_14:
	movq	%r13, %rdi
	callq	_SSL_in_init
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:
	movq	%r13, %rdi
	callq	_ossl_statem_get_in_handshake
	testl	%eax, %eax
	jne	LBB0_19
## %bb.16:
	movq	(%r13), %rax
	movq	_SSL_EARLY_DATA_UNAUTH_WRITING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.17:
	movq	%r13, %rdi
	callq	*16(%r13)
	testl	%eax, %eax
	js	LBB0_6
## %bb.18:
	je	LBB0_5
LBB0_19:
	cmpq	$0, (%rbx)
	je	LBB0_26
## %bb.20:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	leaq	(%rbx,%r12), %rdx
	movq	64(%r13), %rcx
	leaq	-72(%rbp), %r8
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_ssl3_write_pending
	testl	%eax, %eax
	jle	LBB0_30
## %bb.21:
	addq	-72(%rbp), %r12
	cmpq	%r15, %r12
	jne	LBB0_27
LBB0_22:
	movq	_SSL_MODE_RELEASE_BUFFERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 28(%r13)
	je	LBB0_25
## %bb.23:
	movq	%r13, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	jne	LBB0_25
## %bb.24:
	movq	%r13, %rdi
	callq	_ssl3_release_write_buffer
LBB0_25:
	movq	%r15, (%r14)
	movl	$1, %eax
	jmp	LBB0_6
LBB0_26:
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
	cmpq	%r15, %r12
	je	LBB0_22
LBB0_27:
	movq	%r14, -104(%rbp)                ## 8-byte Spill
	movq	%r13, %rdi
	callq	_ssl_get_max_send_fragment
	movq	%rax, %r14
	movq	%r13, %rdi
	callq	_ssl_get_split_send_fragment
	movq	%rax, %rdx
	movq	32(%r13), %rcx
	movq	_SSL_MAX_PIPELINES@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jbe	LBB0_31
LBB0_28:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_SSL3_WRITE_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_30:
	movq	%r12, 56(%r13)
	jmp	LBB0_6
LBB0_31:
	testq	%rcx, %rcx
	movq	%rdx, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_35
## %bb.32:
	movq	112(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_35
## %bb.33:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	callq	_EVP_CIPHER_CTX_cipher
	movl	%eax, %edi
	callq	_EVP_CIPHER_flags
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	movq	_EVP_CIPH_FLAG_PIPELINE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_35
## %bb.34:
	movq	%r13, %rdi
	callq	_SSL_USE_EXPLICIT_IV
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
	testq	%rax, %rax
	jne	LBB0_36
LBB0_35:
	movl	$1, %ecx
LBB0_36:
	testq	%r14, %r14
	je	LBB0_28
## %bb.37:
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.38:
	cmpq	%r14, %rdx
	ja	LBB0_28
## %bb.39:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	subq	%r12, %r15
	movq	%r14, %xmm0
	pshufd	$68, %xmm0, %xmm0               ## xmm0 = xmm0[0,1,0,1]
	movdqa	%xmm0, -128(%rbp)               ## 16-byte Spill
	jmp	LBB0_41
	.p2align	4, 0x90
LBB0_40:                                ##   in Loop: Header=BB0_41 Depth=1
	addq	%rax, %r12
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	movdqa	-128(%rbp), %xmm0               ## 16-byte Reload
LBB0_41:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_64 Depth 2
                                        ##     Child Loop BB0_67 Depth 2
                                        ##     Child Loop BB0_57 Depth 2
                                        ##     Child Loop BB0_60 Depth 2
	movq	%rsp, -88(%rbp)                 ## 8-byte Spill
	movq	_SSL_MAX_PIPELINES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	testq	%r15, %r15
	je	LBB0_44
## %bb.42:                              ##   in Loop: Header=BB0_41 Depth=1
	leaq	-1(%r15), %rax
	movq	%rax, %rdx
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_45
## %bb.43:                              ##   in Loop: Header=BB0_41 Depth=1
	xorl	%edx, %edx
	divq	%rsi
	movq	%rax, %r8
	jmp	LBB0_46
LBB0_44:                                ##   in Loop: Header=BB0_41 Depth=1
	movl	$1, %r8d
	jmp	LBB0_47
LBB0_45:                                ##   in Loop: Header=BB0_41 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
	movl	%eax, %r8d
LBB0_46:                                ##   in Loop: Header=BB0_41 Depth=1
	incq	%r8
LBB0_47:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, %r8
	cmovaeq	%rax, %r8
	movq	%r15, %rax
	orq	%r8, %rax
	shrq	$32, %rax
	je	LBB0_52
## %bb.48:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	%r15, %rax
	xorl	%edx, %edx
	divq	%r8
	cmpq	%r14, %rax
	jae	LBB0_53
LBB0_49:                                ##   in Loop: Header=BB0_41 Depth=1
	testq	%r8, %r8
	je	LBB0_70
## %bb.50:                              ##   in Loop: Header=BB0_41 Depth=1
	leaq	-1(%r8), %rdi
	movl	%r8d, %r10d
	andl	$3, %r10d
	cmpq	$3, %rdi
	jae	LBB0_56
## %bb.51:                              ##   in Loop: Header=BB0_41 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_59
LBB0_52:                                ##   in Loop: Header=BB0_41 Depth=1
	movl	%r15d, %eax
	xorl	%edx, %edx
	divl	%r8d
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
	cmpq	%r14, %rax
	jb	LBB0_49
LBB0_53:                                ##   in Loop: Header=BB0_41 Depth=1
	testq	%r8, %r8
	je	LBB0_70
## %bb.54:                              ##   in Loop: Header=BB0_41 Depth=1
	cmpq	$4, %r8
	jae	LBB0_61
## %bb.55:                              ##   in Loop: Header=BB0_41 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_69
LBB0_56:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	%r8, %r9
	andq	$-4, %r9
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_57:                                ##   Parent Loop BB0_41 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdx, %rdi
	movq	%rax, %rbx
	adcq	$0, %rbx
	movq	%rbx, (%rcx,%rdi,8)
	leaq	1(%rdi), %rbx
	cmpq	%rdx, %rbx
	movq	%rax, %rbx
	adcq	$0, %rbx
	movq	%rbx, 8(%rcx,%rdi,8)
	leaq	2(%rdi), %rbx
	cmpq	%rdx, %rbx
	movq	%rax, %rbx
	adcq	$0, %rbx
	leaq	3(%rdi), %rsi
	cmpq	%rdx, %rsi
	movq	%rax, %rsi
	adcq	$0, %rsi
	movq	%rbx, 16(%rcx,%rdi,8)
	movq	%rsi, 24(%rcx,%rdi,8)
	addq	$4, %rdi
	cmpq	%r9, %rdi
	jne	LBB0_57
## %bb.58:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	-96(%rbp), %rbx                 ## 8-byte Reload
LBB0_59:                                ##   in Loop: Header=BB0_41 Depth=1
	testq	%r10, %r10
	je	LBB0_70
	.p2align	4, 0x90
LBB0_60:                                ##   Parent Loop BB0_41 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpq	%rdx, %rdi
	movq	%rax, %rsi
	adcq	$0, %rsi
	movq	%rsi, (%rcx,%rdi,8)
	incq	%rdi
	decq	%r10
	jne	LBB0_60
	jmp	LBB0_70
LBB0_61:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	%r8, %rax
	andq	$-4, %rax
	leaq	-4(%rax), %rdi
	movq	%rdi, %rsi
	shrq	$2, %rsi
	incq	%rsi
	movl	%esi, %edx
	andl	$7, %edx
	cmpq	$28, %rdi
	jae	LBB0_63
## %bb.62:                              ##   in Loop: Header=BB0_41 Depth=1
	xorl	%edi, %edi
	jmp	LBB0_65
LBB0_63:                                ##   in Loop: Header=BB0_41 Depth=1
	andq	$-8, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_64:                                ##   Parent Loop BB0_41 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm0, (%rcx,%rdi,8)
	movdqa	%xmm0, 16(%rcx,%rdi,8)
	movdqa	%xmm0, 32(%rcx,%rdi,8)
	movdqa	%xmm0, 48(%rcx,%rdi,8)
	movdqa	%xmm0, 64(%rcx,%rdi,8)
	movdqa	%xmm0, 80(%rcx,%rdi,8)
	movdqa	%xmm0, 96(%rcx,%rdi,8)
	movdqa	%xmm0, 112(%rcx,%rdi,8)
	movdqa	%xmm0, 128(%rcx,%rdi,8)
	movdqa	%xmm0, 144(%rcx,%rdi,8)
	movdqa	%xmm0, 160(%rcx,%rdi,8)
	movdqa	%xmm0, 176(%rcx,%rdi,8)
	movdqa	%xmm0, 192(%rcx,%rdi,8)
	movdqa	%xmm0, 208(%rcx,%rdi,8)
	movdqa	%xmm0, 224(%rcx,%rdi,8)
	movdqa	%xmm0, 240(%rcx,%rdi,8)
	addq	$32, %rdi
	addq	$-8, %rsi
	jne	LBB0_64
LBB0_65:                                ##   in Loop: Header=BB0_41 Depth=1
	testq	%rdx, %rdx
	je	LBB0_68
## %bb.66:                              ##   in Loop: Header=BB0_41 Depth=1
	leaq	(%rcx,%rdi,8), %rsi
	addq	$16, %rsi
	shlq	$5, %rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_67:                                ##   Parent Loop BB0_41 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movdqa	%xmm0, -16(%rsi,%rdi)
	movdqa	%xmm0, (%rsi,%rdi)
	addq	$32, %rdi
	cmpq	%rdi, %rdx
	jne	LBB0_67
	jmp	LBB0_68
	.p2align	4, 0x90
LBB0_70:                                ##   in Loop: Header=BB0_41 Depth=1
	leaq	(%rbx,%r12), %rdx
	subq	$8, %rsp
	movq	%r13, %rdi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	xorl	%r9d, %r9d
	leaq	-72(%rbp), %rax
	pushq	%rax
	callq	_do_ssl3_write
	addq	$16, %rsp
	testl	%eax, %eax
	jle	LBB0_75
## %bb.71:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	-72(%rbp), %rax
	subq	%rax, %r15
	je	LBB0_76
## %bb.72:                              ##   in Loop: Header=BB0_41 Depth=1
	movl	-52(%rbp), %ecx                 ## 4-byte Reload
	movq	_SSL3_RT_APPLICATION_DATA@GOTPCREL(%rip), %rdx
	cmpl	%ecx, (%rdx)
	jne	LBB0_40
## %bb.73:                              ##   in Loop: Header=BB0_41 Depth=1
	movq	_SSL_MODE_ENABLE_PARTIAL_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 28(%r13)
	je	LBB0_40
	jmp	LBB0_74
	.p2align	4, 0x90
LBB0_68:                                ##   in Loop: Header=BB0_41 Depth=1
	cmpq	%rax, %r8
	je	LBB0_70
LBB0_69:                                ##   in Loop: Header=BB0_41 Depth=1
	movq	%r14, (%rcx,%rax,8)
	incq	%rax
	jmp	LBB0_68
LBB0_75:
	movq	%r12, 56(%r13)
	jmp	LBB0_80
LBB0_76:
	movq	$0, 40(%r13)
	movq	_SSL_MODE_RELEASE_BUFFERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 28(%r13)
	je	LBB0_79
## %bb.77:
	movq	%r13, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	jne	LBB0_79
## %bb.78:
	movq	%r13, %rdi
	callq	_ssl3_release_write_buffer
	jmp	LBB0_79
LBB0_74:
	movq	$0, 40(%r13)
LBB0_79:
	addq	-72(%rbp), %r12
	movq	-104(%rbp), %rax                ## 8-byte Reload
	movq	%r12, (%rax)
	movl	$1, %eax
LBB0_80:
	movq	-88(%rbp), %rsp                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_82:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_NOTHING,4,2                ## @SSL_NOTHING
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_SSL3_WRITE_BYTES,4,2     ## @SSL_F_SSL3_WRITE_BYTES
	.comm	_SSL_R_BAD_LENGTH,4,2           ## @SSL_R_BAD_LENGTH
	.comm	_SSL_EARLY_DATA_WRITING,8,3     ## @SSL_EARLY_DATA_WRITING
	.comm	_SSL_KEY_UPDATE_NONE,8,3        ## @SSL_KEY_UPDATE_NONE
	.comm	_SSL_EARLY_DATA_UNAUTH_WRITING,8,3 ## @SSL_EARLY_DATA_UNAUTH_WRITING
	.comm	_SSL_MODE_RELEASE_BUFFERS,4,2   ## @SSL_MODE_RELEASE_BUFFERS
	.comm	_SSL_MAX_PIPELINES,8,3          ## @SSL_MAX_PIPELINES
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_EVP_CIPH_FLAG_PIPELINE,4,2     ## @EVP_CIPH_FLAG_PIPELINE
	.comm	_SSL3_RT_APPLICATION_DATA,4,2   ## @SSL3_RT_APPLICATION_DATA
	.comm	_SSL_MODE_ENABLE_PARTIAL_WRITE,4,2 ## @SSL_MODE_ENABLE_PARTIAL_WRITE
	.comm	_EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK,4,2 ## @EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK
	.comm	_EVP_CTRL_TLS1_1_MULTIBLOCK_AAD,4,2 ## @EVP_CTRL_TLS1_1_MULTIBLOCK_AAD
	.comm	_EVP_CTRL_TLS1_1_MULTIBLOCK_ENCRYPT,4,2 ## @EVP_CTRL_TLS1_1_MULTIBLOCK_ENCRYPT
	.comm	_EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE,4,2 ## @EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function ssl3_write_bytes
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ssl3_write_bytes
	.p2align	2
_ssl3_write_bytes:                      ; @ssl3_write_bytes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	sub	sp, sp, #112
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x23, [x0, #104]
Lloh3:
	adrp	x8, _SSL_NOTHING@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_NOTHING@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #152]
	ldr	x26, [x0, #56]
	cmp	x26, x3
	b.hi	LBB0_3
; %bb.1:
	mov	x20, x4
	mov	x25, x3
	mov	x21, x2
	mov	x22, x1
	ldr	x8, [x23]
	cbz	x8, LBB0_8
; %bb.2:
	ldr	x9, [x19, #64]
	add	x9, x9, x26
	cmp	x9, x25
	b.ls	LBB0_8
LBB0_3:
Lloh6:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _SSL_F_SSL3_WRITE_BYTES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_F_SSL3_WRITE_BYTES@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _SSL_R_BAD_LENGTH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_R_BAD_LENGTH@GOTPAGEOFF]
LBB0_4:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_5:
	mov	w0, #-1
LBB0_6:
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_70
; %bb.7:
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_8:
	ldr	x9, [x19]
Lloh17:
	adrp	x10, _SSL_EARLY_DATA_WRITING@GOTPAGE
Lloh18:
	ldr	x10, [x10, _SSL_EARLY_DATA_WRITING@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x19
	mov	x1, x25
	mov	w2, #0
	mov	w3, #1
	bl	_early_data_count_ok
	cbz	w0, LBB0_5
; %bb.10:
	ldr	x8, [x23]
LBB0_11:
	str	xzr, [x19, #56]
	cbnz	x8, LBB0_14
; %bb.12:
	ldr	x8, [x19, #8]
Lloh20:
	adrp	x9, _SSL_KEY_UPDATE_NONE@GOTPAGE
Lloh21:
	ldr	x9, [x9, _SSL_KEY_UPDATE_NONE@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x19
	mov	w1, #1
	bl	_ossl_statem_set_in_init
LBB0_14:
	mov	x0, x19
	bl	_SSL_in_init
	cbz	x0, LBB0_19
; %bb.15:
	mov	x0, x19
	bl	_ossl_statem_get_in_handshake
	cbnz	w0, LBB0_19
; %bb.16:
	ldr	x8, [x19]
Lloh23:
	adrp	x9, _SSL_EARLY_DATA_UNAUTH_WRITING@GOTPAGE
Lloh24:
	ldr	x9, [x9, _SSL_EARLY_DATA_UNAUTH_WRITING@GOTPAGEOFF]
Lloh25:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.17:
	ldr	x8, [x19, #16]
	mov	x0, x19
	blr	x8
	tbnz	w0, #31, LBB0_6
; %bb.18:
	cbz	w0, LBB0_5
LBB0_19:
	ldr	x8, [x23]
	cbz	x8, LBB0_22
; %bb.20:
	add	x2, x21, x26
	ldr	x3, [x19, #64]
	sub	x4, x29, #96
	mov	x0, x19
	mov	x1, x22
	bl	_ssl3_write_pending
	cmp	w0, #0
	b.le	LBB0_29
; %bb.21:
	ldur	x8, [x29, #-96]
	add	x26, x8, x26
LBB0_22:
	cmp	x26, x25
	b.ne	LBB0_27
; %bb.23:
	ldr	w8, [x19, #28]
Lloh26:
	adrp	x9, _SSL_MODE_RELEASE_BUFFERS@GOTPAGE
Lloh27:
	ldr	x9, [x9, _SSL_MODE_RELEASE_BUFFERS@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.24:
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbnz	w0, LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_ssl3_release_write_buffer
LBB0_26:
	str	x25, [x20]
	mov	w0, #1
	b	LBB0_6
LBB0_27:
	mov	x0, x19
	bl	_ssl_get_max_send_fragment
	mov	x23, x0
	mov	x0, x19
	bl	_ssl_get_split_send_fragment
	ldr	x28, [x19, #32]
Lloh29:
	adrp	x8, _SSL_MAX_PIPELINES@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SSL_MAX_PIPELINES@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x28, x8
	b.ls	LBB0_30
LBB0_28:
Lloh32:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh34:
	ldr	w1, [x8]
Lloh35:
	adrp	x8, _SSL_F_SSL3_WRITE_BYTES@GOTPAGE
Lloh36:
	ldr	x8, [x8, _SSL_F_SSL3_WRITE_BYTES@GOTPAGEOFF]
Lloh37:
	ldr	w2, [x8]
Lloh38:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh39:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
	b	LBB0_4
LBB0_29:
	str	x26, [x19, #56]
	b	LBB0_6
LBB0_30:
	mov	x24, x0
	cbz	x28, LBB0_34
; %bb.31:
	ldr	x0, [x19, #112]
	cbz	x0, LBB0_34
; %bb.32:
	bl	_EVP_CIPHER_CTX_cipher
	bl	_EVP_CIPHER_flags
Lloh40:
	adrp	x8, _EVP_CIPH_FLAG_PIPELINE@GOTPAGE
Lloh41:
	ldr	x8, [x8, _EVP_CIPH_FLAG_PIPELINE@GOTPAGEOFF]
Lloh42:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_34
; %bb.33:
	mov	x0, x19
	bl	_SSL_USE_EXPLICIT_IV
	cbnz	x0, LBB0_35
LBB0_34:
	mov	w28, #1
LBB0_35:
	cbz	x23, LBB0_28
; %bb.36:
	cbz	x24, LBB0_28
; %bb.37:
	cmp	x24, x23
	b.hi	LBB0_28
; %bb.38:
	sub	x27, x25, x26
	dup.2d	v7, x23
Lloh43:
	adrp	x8, lCPI0_0@PAGE
Lloh44:
	ldr	q0, [x8, lCPI0_0@PAGEOFF]
	mov	w8, #2
	dup.2d	v16, x8
	mov	w8, #4
	dup.2d	v17, x8
	mov	w8, #6
	dup.2d	v18, x8
	mov	w8, #8
	dup.2d	v19, x8
	stp	q16, q7, [x29, #-128]           ; 32-byte Folded Spill
	stp	q18, q17, [x29, #-160]          ; 32-byte Folded Spill
	stp	q0, q19, [x29, #-192]           ; 32-byte Folded Spill
	b	LBB0_40
LBB0_39:                                ;   in Loop: Header=BB0_40 Depth=1
	add	x26, x8, x26
	mov	sp, x25
	ldp	q16, q7, [x29, #-128]           ; 32-byte Folded Reload
	ldp	q18, q17, [x29, #-160]          ; 32-byte Folded Reload
	ldur	q19, [x29, #-176]               ; 16-byte Folded Reload
LBB0_40:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_53 Depth 2
                                        ;     Child Loop BB0_56 Depth 2
                                        ;     Child Loop BB0_51 Depth 2
	mov	x25, sp
Lloh45:
	adrp	x8, _SSL_MAX_PIPELINES@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SSL_MAX_PIPELINES@GOTPAGEOFF]
Lloh47:
	ldr	x8, [x8]
	lsl	x8, x8, #3
	mov	x9, x8
Lloh48:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh49:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xfffffffffffffff0
	sub	x3, x9, x8
	mov	sp, x3
	cbz	x27, LBB0_42
; %bb.41:                               ;   in Loop: Header=BB0_40 Depth=1
	sub	x8, x27, #1
	udiv	x8, x8, x24
	add	x8, x8, #1
	b	LBB0_43
LBB0_42:                                ;   in Loop: Header=BB0_40 Depth=1
	mov	w8, #1
LBB0_43:                                ;   in Loop: Header=BB0_40 Depth=1
	cmp	x8, x28
	csel	x4, x8, x28, lo
	udiv	x8, x27, x4
	cmp	x8, x23
	b.hs	LBB0_47
; %bb.44:                               ;   in Loop: Header=BB0_40 Depth=1
	cbz	x4, LBB0_59
; %bb.45:                               ;   in Loop: Header=BB0_40 Depth=1
	msub	x9, x8, x4, x27
	cmp	x4, #8
	b.hs	LBB0_50
; %bb.46:                               ;   in Loop: Header=BB0_40 Depth=1
	mov	x10, #0
	b	LBB0_57
LBB0_47:                                ;   in Loop: Header=BB0_40 Depth=1
	cbz	x4, LBB0_59
; %bb.48:                               ;   in Loop: Header=BB0_40 Depth=1
	cmp	x4, #8
	b.hs	LBB0_52
; %bb.49:                               ;   in Loop: Header=BB0_40 Depth=1
	mov	x8, #0
	b	LBB0_55
LBB0_50:                                ;   in Loop: Header=BB0_40 Depth=1
	dup.2d	v0, x9
	and	x10, x4, #0xfffffffffffffff8
	dup.2d	v1, x8
	add	x11, x3, #32
	mov	x12, x10
	ldur	q2, [x29, #-192]                ; 16-byte Folded Reload
LBB0_51:                                ;   Parent Loop BB0_40 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add.2d	v3, v2, v16
	add.2d	v4, v2, v17
	add.2d	v5, v2, v18
	cmhi.2d	v6, v0, v2
	cmhi.2d	v3, v0, v3
	cmhi.2d	v4, v0, v4
	cmhi.2d	v5, v0, v5
	sub.2d	v6, v1, v6
	sub.2d	v3, v1, v3
	sub.2d	v4, v1, v4
	sub.2d	v5, v1, v5
	stp	q6, q3, [x11, #-32]
	stp	q4, q5, [x11], #64
	add.2d	v2, v2, v19
	subs	x12, x12, #8
	b.ne	LBB0_51
	b	LBB0_58
LBB0_52:                                ;   in Loop: Header=BB0_40 Depth=1
	and	x8, x4, #0xfffffffffffffff8
	add	x9, x3, #32
	mov	x10, x8
LBB0_53:                                ;   Parent Loop BB0_40 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	stp	q7, q7, [x9, #-32]
	stp	q7, q7, [x9], #64
	subs	x10, x10, #8
	b.ne	LBB0_53
; %bb.54:                               ;   in Loop: Header=BB0_40 Depth=1
	cmp	x4, x8
	b.eq	LBB0_59
LBB0_55:                                ;   in Loop: Header=BB0_40 Depth=1
	sub	x9, x4, x8
	add	x8, x3, x8, lsl #3
LBB0_56:                                ;   Parent Loop BB0_40 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	str	x23, [x8], #8
	subs	x9, x9, #1
	b.ne	LBB0_56
	b	LBB0_59
LBB0_57:                                ;   in Loop: Header=BB0_40 Depth=1
	cmp	x10, x9
	cinc	x11, x8, lo
	str	x11, [x3, x10, lsl #3]
	add	x10, x10, #1
LBB0_58:                                ;   in Loop: Header=BB0_40 Depth=1
	cmp	x4, x10
	b.ne	LBB0_57
LBB0_59:                                ;   in Loop: Header=BB0_40 Depth=1
	add	x2, x21, x26
	sub	x6, x29, #96
	mov	x0, x19
	mov	x1, x22
	mov	w5, #0
	bl	_do_ssl3_write
	cmp	w0, #0
	b.le	LBB0_64
; %bb.60:                               ;   in Loop: Header=BB0_40 Depth=1
	ldur	x8, [x29, #-96]
	subs	x27, x27, x8
	b.eq	LBB0_65
; %bb.61:                               ;   in Loop: Header=BB0_40 Depth=1
Lloh50:
	adrp	x9, _SSL3_RT_APPLICATION_DATA@GOTPAGE
Lloh51:
	ldr	x9, [x9, _SSL3_RT_APPLICATION_DATA@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	cmp	w9, w22
	b.ne	LBB0_39
; %bb.62:                               ;   in Loop: Header=BB0_40 Depth=1
	ldr	w9, [x19, #28]
Lloh53:
	adrp	x10, _SSL_MODE_ENABLE_PARTIAL_WRITE@GOTPAGE
Lloh54:
	ldr	x10, [x10, _SSL_MODE_ENABLE_PARTIAL_WRITE@GOTPAGEOFF]
Lloh55:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_39
; %bb.63:
	str	xzr, [x19, #40]
	b	LBB0_68
LBB0_64:
	str	x26, [x19, #56]
	b	LBB0_69
LBB0_65:
	str	xzr, [x19, #40]
	ldr	w8, [x19, #28]
Lloh56:
	adrp	x9, _SSL_MODE_RELEASE_BUFFERS@GOTPAGE
Lloh57:
	ldr	x9, [x9, _SSL_MODE_RELEASE_BUFFERS@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_68
; %bb.66:
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbnz	w0, LBB0_68
; %bb.67:
	mov	x0, x19
	bl	_ssl3_release_write_buffer
LBB0_68:
	ldur	x8, [x29, #-96]
	add	x8, x8, x26
	str	x8, [x20]
	mov	w0, #1
LBB0_69:
	mov	sp, x25
	b	LBB0_6
LBB0_70:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdr	Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_NOTHING,4,2                ; @SSL_NOTHING
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_SSL3_WRITE_BYTES,4,2     ; @SSL_F_SSL3_WRITE_BYTES
	.comm	_SSL_R_BAD_LENGTH,4,2           ; @SSL_R_BAD_LENGTH
	.comm	_SSL_EARLY_DATA_WRITING,8,3     ; @SSL_EARLY_DATA_WRITING
	.comm	_SSL_KEY_UPDATE_NONE,8,3        ; @SSL_KEY_UPDATE_NONE
	.comm	_SSL_EARLY_DATA_UNAUTH_WRITING,8,3 ; @SSL_EARLY_DATA_UNAUTH_WRITING
	.comm	_SSL_MODE_RELEASE_BUFFERS,4,2   ; @SSL_MODE_RELEASE_BUFFERS
	.comm	_SSL_MAX_PIPELINES,8,3          ; @SSL_MAX_PIPELINES
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_EVP_CIPH_FLAG_PIPELINE,4,2     ; @EVP_CIPH_FLAG_PIPELINE
	.comm	_SSL3_RT_APPLICATION_DATA,4,2   ; @SSL3_RT_APPLICATION_DATA
	.comm	_SSL_MODE_ENABLE_PARTIAL_WRITE,4,2 ; @SSL_MODE_ENABLE_PARTIAL_WRITE
	.comm	_EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK,4,2 ; @EVP_CIPH_FLAG_TLS1_1_MULTIBLOCK
	.comm	_EVP_CTRL_TLS1_1_MULTIBLOCK_AAD,4,2 ; @EVP_CTRL_TLS1_1_MULTIBLOCK_AAD
	.comm	_EVP_CTRL_TLS1_1_MULTIBLOCK_ENCRYPT,4,2 ; @EVP_CTRL_TLS1_1_MULTIBLOCK_ENCRYPT
	.comm	_EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE,4,2 ; @EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE
.subsections_via_symbols
