	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_write_early_data           ## -- Begin function SSL_write_early_data
	.p2align	4, 0x90
_SSL_write_early_data:                  ## @SSL_write_early_data
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	(%rdi), %r14d
	leal	-128(%r14), %eax
	cmpl	$5, %eax
	ja	LBB0_17
## %bb.1:
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r13
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_14:
	movq	_SSL_EARLY_DATA_UNAUTH_WRITING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_SSL_write_ex
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	8(%r13), %edi
	callq	_BIO_flush
LBB0_16:
	movl	%r14d, (%r13)
	jmp	LBB0_19
LBB0_2:
	cmpl	$0, 32(%r13)
	je	LBB0_3
LBB0_17:
	movq	_SSL_F_SSL_WRITE_EARLY_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_SSLerr
	jmp	LBB0_18
LBB0_3:
	movq	%r13, %rdi
	callq	_SSL_in_before
	testl	%eax, %eax
	je	LBB0_17
## %bb.4:
	movq	24(%r13), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	cmpl	$0, (%rax)
	jne	LBB0_7
LBB0_6:
	cmpq	$0, 16(%r13)
	je	LBB0_17
LBB0_7:
	movq	_SSL_EARLY_DATA_CONNECTING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	%r13, %rdi
	callq	_SSL_connect
	testl	%eax, %eax
	jle	LBB0_8
LBB0_9:
	movq	%rbx, %r14
	movq	_SSL_EARLY_DATA_WRITING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movl	4(%r13), %eax
	movq	_SSL_MODE_ENABLE_PARTIAL_WRITE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, %ebx
	andl	%eax, %ebx
	notl	%ecx
	andl	%eax, %ecx
	movl	%ecx, 4(%r13)
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	callq	_SSL_write_ex
	orl	%ebx, 4(%r13)
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	movl	$129, (%r13)
	movq	%r14, %rbx
LBB0_12:
	movq	%rbx, %r14
	movq	%r13, %rdi
	callq	_statem_flush
	xorl	%ebx, %ebx
	cmpl	$1, %eax
	jne	LBB0_19
## %bb.13:
	movq	%r15, (%r14)
	movl	$128, (%r13)
	movl	$1, %ebx
	jmp	LBB0_19
LBB0_10:
	movl	$128, (%r13)
	jmp	LBB0_18
LBB0_8:
	movl	$133, (%r13)
LBB0_18:
	xorl	%ebx, %ebx
LBB0_19:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_12
	.long	L0_0_set_14
	.long	L0_0_set_2
	.long	L0_0_set_14
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
	.comm	_SSL_F_SSL_WRITE_EARLY_DATA,4,2 ## @SSL_F_SSL_WRITE_EARLY_DATA
	.comm	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED,4,2 ## @ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
	.comm	_SSL_EARLY_DATA_CONNECTING,4,2  ## @SSL_EARLY_DATA_CONNECTING
	.comm	_SSL_EARLY_DATA_WRITING,4,2     ## @SSL_EARLY_DATA_WRITING
	.comm	_SSL_MODE_ENABLE_PARTIAL_WRITE,4,2 ## @SSL_MODE_ENABLE_PARTIAL_WRITE
	.comm	_SSL_EARLY_DATA_UNAUTH_WRITING,4,2 ## @SSL_EARLY_DATA_UNAUTH_WRITING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_write_early_data           ; -- Begin function SSL_write_early_data
	.p2align	2
_SSL_write_early_data:                  ; @SSL_write_early_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	w23, [x0]
	sub	w8, w23, #128
	cmp	w8, #5
	b.hi	LBB0_6
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _SSL_EARLY_DATA_UNAUTH_WRITING@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSL_EARLY_DATA_UNAUTH_WRITING@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	mov	x3, x20
	bl	_SSL_write_ex
	mov	x20, x0
	cbz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x19, #8]
	bl	_BIO_flush
LBB0_4:
	str	w23, [x19]
	b	LBB0_17
LBB0_5:
	ldr	w8, [x19, #32]
	cbz	w8, LBB0_7
LBB0_6:
Lloh5:
	adrp	x8, _SSL_F_SSL_WRITE_EARLY_DATA@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSL_F_SSL_WRITE_EARLY_DATA@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
Lloh8:
	adrp	x8, _ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_SSLerr
	b	LBB0_16
LBB0_7:
	mov	x0, x19
	bl	_SSL_in_before
	cbz	w0, LBB0_6
; %bb.8:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_10
; %bb.9:
	ldr	w8, [x8]
	cbnz	w8, LBB0_11
LBB0_10:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_6
LBB0_11:
Lloh11:
	adrp	x8, _SSL_EARLY_DATA_CONNECTING@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSL_EARLY_DATA_CONNECTING@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	str	w8, [x19]
	mov	x0, x19
	bl	_SSL_connect
	cmp	w0, #0
	b.le	LBB0_19
LBB0_12:
Lloh14:
	adrp	x8, _SSL_EARLY_DATA_WRITING@GOTPAGE
Lloh15:
	ldr	x8, [x8, _SSL_EARLY_DATA_WRITING@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x19]
	ldr	w8, [x19, #4]
Lloh17:
	adrp	x9, _SSL_MODE_ENABLE_PARTIAL_WRITE@GOTPAGE
Lloh18:
	ldr	x9, [x9, _SSL_MODE_ENABLE_PARTIAL_WRITE@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	and	w23, w9, w8
	bic	w8, w8, w9
	str	w8, [x19, #4]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_SSL_write_ex
	ldr	w8, [x19, #4]
	orr	w8, w8, w23
	str	w8, [x19, #4]
	cbz	w0, LBB0_18
; %bb.13:
	mov	w8, #129
	str	w8, [x19]
LBB0_14:
	mov	x0, x19
	bl	_statem_flush
	cmp	w0, #1
	b.ne	LBB0_16
; %bb.15:
	str	x21, [x20]
	mov	w8, #128
	str	w8, [x19]
	mov	w20, #1
	b	LBB0_17
LBB0_16:
	mov	w20, #0
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_18:
	mov	w20, #0
	mov	w8, #128
	str	w8, [x19]
	b	LBB0_17
LBB0_19:
	mov	w20, #0
	mov	w8, #133
	str	w8, [x19]
	b	LBB0_17
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_SSL_F_SSL_WRITE_EARLY_DATA,4,2 ; @SSL_F_SSL_WRITE_EARLY_DATA
	.comm	_ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED,4,2 ; @ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED
	.comm	_SSL_EARLY_DATA_CONNECTING,4,2  ; @SSL_EARLY_DATA_CONNECTING
	.comm	_SSL_EARLY_DATA_WRITING,4,2     ; @SSL_EARLY_DATA_WRITING
	.comm	_SSL_MODE_ENABLE_PARTIAL_WRITE,4,2 ; @SSL_MODE_ENABLE_PARTIAL_WRITE
	.comm	_SSL_EARLY_DATA_UNAUTH_WRITING,4,2 ; @SSL_EARLY_DATA_UNAUTH_WRITING
.subsections_via_symbols
