	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ossl_statem_client_write_transition ## -- Begin function ossl_statem_client_write_transition
	.p2align	4, 0x90
_ossl_statem_client_write_transition:   ## @ossl_statem_client_write_transition
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	je	LBB0_1
## %bb.31:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ossl_statem_client13_write_transition ## TAILCALL
LBB0_1:
	movl	32(%rbx), %eax
	addl	$-128, %eax
	cmpl	$14, %eax
	ja	LBB0_3
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	cmpl	$0, 28(%rbx)
	jne	LBB0_28
	jmp	LBB0_5
LBB0_3:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	movq	_WRITE_TRAN_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_20:
	movl	$132, 32(%rbx)
	jmp	LBB0_29
LBB0_14:
	movl	16(%rbx), %eax
	movq	_TLS1_FLAGS_SKIP_CERT_VERIFY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	8(%rbx), %ecx
	xorl	$1, %eax
	xorl	%edx, %edx
	orl	%eax, %ecx
	sete	%dl
	orl	$134, %edx
	movl	%edx, 32(%rbx)
	jmp	LBB0_29
LBB0_21:
	cmpl	$0, 4(%rbx)
	jne	LBB0_22
	jmp	LBB0_5
LBB0_6:
	movl	20(%rbx), %eax
	movq	_SSL_EARLY_DATA_CONNECTING@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.7:
	movq	_SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%ecx, %ecx
	andl	(%rbx), %eax
	setne	%cl
	leal	(%rcx,%rcx,4), %eax
	addl	$129, %eax
	movl	%eax, 32(%rbx)
	jmp	LBB0_29
LBB0_5:
	movq	_WRITE_TRAN_FINISHED@GOTPCREL(%rip), %rax
	jmp	LBB0_30
LBB0_15:
	movl	24(%rbx), %ecx
	movq	_SSL_HRR_PENDING@GOTPCREL(%rip), %rdx
	movl	$133, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_11
## %bb.16:
	movl	20(%rbx), %ecx
	movq	_SSL_EARLY_DATA_CONNECTING@GOTPCREL(%rip), %rdx
	movl	$129, %eax
	cmpl	(%rdx), %ecx
	je	LBB0_11
## %bb.17:
	movq	%rbx, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	jne	LBB0_19
## %bb.18:
	movl	$130, %eax
	cmpl	$0, 12(%rbx)
	jne	LBB0_11
LBB0_19:
	movl	$132, %eax
	movl	%eax, 32(%rbx)
	jmp	LBB0_29
LBB0_13:
	movl	$131, 32(%rbx)
	jmp	LBB0_29
LBB0_8:
	movq	_SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_10
## %bb.9:
	movl	20(%rbx), %ecx
	movq	_SSL_EARLY_DATA_FINISHED_WRITING@GOTPCREL(%rip), %rdx
	movl	$134, %eax
	cmpl	(%rdx), %ecx
	jne	LBB0_11
LBB0_10:
	movl	$133, %eax
LBB0_11:
	movl	%eax, 32(%rbx)
	jmp	LBB0_29
LBB0_12:
	xorl	%eax, %eax
	cmpl	$0, 16(%rbx)
	setne	%al
	leal	(%rax,%rax,4), %eax
	addl	$131, %eax
	movl	%eax, 32(%rbx)
	jmp	LBB0_29
LBB0_25:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_ssl3_renegotiate_check
	testl	%eax, %eax
	je	LBB0_22
## %bb.26:
	movq	%rbx, %rdi
	callq	_tls_setup_handshake
	testl	%eax, %eax
	je	LBB0_27
LBB0_28:
	movl	$133, 32(%rbx)
	jmp	LBB0_29
LBB0_23:
	cmpl	$0, 4(%rbx)
	je	LBB0_22
LBB0_24:
	movl	$134, 32(%rbx)
	jmp	LBB0_29
LBB0_22:
	movl	$128, 32(%rbx)
LBB0_29:
	movq	_WRITE_TRAN_CONTINUE@GOTPCREL(%rip), %rax
LBB0_30:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_27:
	movq	_WRITE_TRAN_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_30
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_20
	.long	L0_0_set_14
	.long	L0_0_set_21
	.long	L0_0_set_6
	.long	L0_0_set_15
	.long	L0_0_set_24
	.long	L0_0_set_13
	.long	L0_0_set_8
	.long	L0_0_set_12
	.long	L0_0_set_25
	.long	L0_0_set_23
	.long	L0_0_set_28
	.long	L0_0_set_28
	.end_data_region
                                        ## -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION,4,2 ## @SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_WRITE_TRAN_ERROR,4,2           ## @WRITE_TRAN_ERROR
	.comm	_WRITE_TRAN_FINISHED,4,2        ## @WRITE_TRAN_FINISHED
	.comm	_WRITE_TRAN_CONTINUE,4,2        ## @WRITE_TRAN_CONTINUE
	.comm	_SSL_EARLY_DATA_CONNECTING,4,2  ## @SSL_EARLY_DATA_CONNECTING
	.comm	_SSL_OP_ENABLE_MIDDLEBOX_COMPAT,4,2 ## @SSL_OP_ENABLE_MIDDLEBOX_COMPAT
	.comm	_SSL_EARLY_DATA_FINISHED_WRITING,4,2 ## @SSL_EARLY_DATA_FINISHED_WRITING
	.comm	_TLS1_FLAGS_SKIP_CERT_VERIFY,4,2 ## @TLS1_FLAGS_SKIP_CERT_VERIFY
	.comm	_SSL_HRR_PENDING,4,2            ## @SSL_HRR_PENDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ossl_statem_client_write_transition ; -- Begin function ossl_statem_client_write_transition
	.p2align	2
_ossl_statem_client_write_transition:   ; @ossl_statem_client_write_transition
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	_SSL_IS_TLS13
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ossl_statem_client13_write_transition
LBB0_2:
	ldr	w8, [x19, #32]
	sub	w8, w8, #128
	cmp	w8, #14
	b.hi	LBB0_5
; %bb.3:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	ldr	w8, [x19, #28]
	cbnz	w8, LBB0_21
	b	LBB0_11
LBB0_5:
Lloh2:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_6:
Lloh11:
	adrp	x8, _WRITE_TRAN_ERROR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WRITE_TRAN_ERROR@GOTPAGEOFF]
	b	LBB0_28
LBB0_7:
	ldr	w8, [x19, #16]
	cmp	w8, #1
	ldr	w8, [x19, #8]
Lloh13:
	adrp	x9, _TLS1_FLAGS_SKIP_CERT_VERIFY@GOTPAGE
Lloh14:
	ldr	x9, [x9, _TLS1_FLAGS_SKIP_CERT_VERIFY@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	and	w8, w9, w8
	ccmp	w8, #0, #0, eq
	mov	w8, #134
	cinc	w8, w8, eq
	b	LBB0_27
LBB0_8:
	ldr	w8, [x19, #4]
	cbnz	w8, LBB0_24
	b	LBB0_11
LBB0_9:
	ldr	w8, [x19, #20]
Lloh16:
	adrp	x9, _SSL_EARLY_DATA_CONNECTING@GOTPAGE
Lloh17:
	ldr	x9, [x9, _SSL_EARLY_DATA_CONNECTING@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_11
; %bb.10:
	ldr	w8, [x19]
Lloh19:
	adrp	x9, _SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	mov	w8, #134
	mov	w9, #129
	csel	w8, w9, w8, eq
	b	LBB0_27
LBB0_11:
Lloh22:
	adrp	x8, _WRITE_TRAN_FINISHED@GOTPAGE
Lloh23:
	ldr	x8, [x8, _WRITE_TRAN_FINISHED@GOTPAGEOFF]
	b	LBB0_28
LBB0_12:
	ldr	w8, [x19, #24]
Lloh24:
	adrp	x9, _SSL_HRR_PENDING@GOTPAGE
Lloh25:
	ldr	x9, [x9, _SSL_HRR_PENDING@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_21
; %bb.13:
	ldr	w8, [x19, #20]
Lloh27:
	adrp	x9, _SSL_EARLY_DATA_CONNECTING@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SSL_EARLY_DATA_CONNECTING@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_25
; %bb.14:
	mov	w8, #129
	b	LBB0_27
LBB0_15:
	mov	w8, #131
	b	LBB0_27
LBB0_16:
	ldr	w8, [x19]
Lloh30:
	adrp	x9, _SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SSL_OP_ENABLE_MIDDLEBOX_COMPAT@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.17:
	ldr	w8, [x19, #20]
Lloh33:
	adrp	x9, _SSL_EARLY_DATA_FINISHED_WRITING@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SSL_EARLY_DATA_FINISHED_WRITING@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_21
	b	LBB0_23
LBB0_18:
	ldr	w8, [x19, #16]
	mov	w9, #136
	mov	w10, #131
	cmp	w8, #0
	csel	w8, w10, w9, eq
	b	LBB0_27
LBB0_19:
	mov	x0, x19
	mov	w1, #1
	bl	_ssl3_renegotiate_check
	cbz	w0, LBB0_24
; %bb.20:
	mov	x0, x19
	bl	_tls_setup_handshake
	cbz	w0, LBB0_6
LBB0_21:
	mov	w8, #133
	b	LBB0_27
LBB0_22:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_24
LBB0_23:
	mov	w8, #134
	b	LBB0_27
LBB0_24:
	mov	w8, #128
	b	LBB0_27
LBB0_25:
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbz	w0, LBB0_29
LBB0_26:
	mov	w8, #132
LBB0_27:
	str	w8, [x19, #32]
Lloh36:
	adrp	x8, _WRITE_TRAN_CONTINUE@GOTPAGE
Lloh37:
	ldr	x8, [x8, _WRITE_TRAN_CONTINUE@GOTPAGEOFF]
LBB0_28:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_29:
	ldr	w8, [x19, #12]
	cbz	w8, LBB0_26
; %bb.30:
	mov	w8, #130
	b	LBB0_27
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_26-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_23-LBB0_4)>>2
	.byte	(LBB0_15-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_19-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
                                        ; -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION,4,2 ; @SSL_F_OSSL_STATEM_CLIENT_WRITE_TRANSITION
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_WRITE_TRAN_ERROR,4,2           ; @WRITE_TRAN_ERROR
	.comm	_WRITE_TRAN_FINISHED,4,2        ; @WRITE_TRAN_FINISHED
	.comm	_WRITE_TRAN_CONTINUE,4,2        ; @WRITE_TRAN_CONTINUE
	.comm	_SSL_EARLY_DATA_CONNECTING,4,2  ; @SSL_EARLY_DATA_CONNECTING
	.comm	_SSL_OP_ENABLE_MIDDLEBOX_COMPAT,4,2 ; @SSL_OP_ENABLE_MIDDLEBOX_COMPAT
	.comm	_SSL_EARLY_DATA_FINISHED_WRITING,4,2 ; @SSL_EARLY_DATA_FINISHED_WRITING
	.comm	_TLS1_FLAGS_SKIP_CERT_VERIFY,4,2 ; @TLS1_FLAGS_SKIP_CERT_VERIFY
	.comm	_SSL_HRR_PENDING,4,2            ; @SSL_HRR_PENDING
.subsections_via_symbols
