	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ossl_statem_server_write_transition ## -- Begin function ossl_statem_server_write_transition
	.p2align	4, 0x90
_ossl_statem_server_write_transition:   ## @ossl_statem_server_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	callq	_SSL_IS_TLS13
	testq	%rax, %rax
	je	LBB0_1
## %bb.37:
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ossl_statem_server13_write_transition ## TAILCALL
LBB0_1:
	movl	40(%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_33:
	movq	_WRITE_TRAN_FINISHED@GOTPCREL(%rip), %rax
	jmp	LBB0_36
LBB0_3:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_OSSL_STATEM_SERVER_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_36
LBB0_14:
	cmpl	$0, (%rbx)
	je	LBB0_16
## %bb.15:
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	sete	%al
	leal	130(,%rax,4), %ecx
	movl	%ecx, 40(%rbx)
	jmp	LBB0_35
LBB0_30:
	movl	$134, 40(%rbx)
	jmp	LBB0_35
LBB0_32:
	cmpl	$0, (%rbx)
	jne	LBB0_33
	jmp	LBB0_34
LBB0_31:
	movl	$133, 40(%rbx)
	jmp	LBB0_35
LBB0_21:
	cmpl	$0, 8(%rbx)
	je	LBB0_23
## %bb.22:
	movl	$135, 40(%rbx)
	jmp	LBB0_35
LBB0_23:
	movq	%rbx, %rdi
	callq	_send_server_key_exchange
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	$131, 40(%rbx)
	jmp	LBB0_35
LBB0_25:
	movq	%rbx, %rdi
	callq	_send_certificate_request
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:
	movl	$136, 40(%rbx)
	jmp	LBB0_35
LBB0_27:
	movl	$129, 40(%rbx)
	jmp	LBB0_35
LBB0_28:
	cmpl	$0, (%rbx)
	je	LBB0_29
LBB0_34:
	movl	$140, 40(%rbx)
	jmp	LBB0_35
LBB0_8:
	movq	%rbx, %rdi
	callq	_SSL_IS_DTLS
	testl	%eax, %eax
	je	LBB0_11
## %bb.9:
	movq	32(%rbx), %rax
	cmpl	$0, (%rax)
	je	LBB0_10
LBB0_11:
	movl	$128, %r14d
	cmpl	$0, 24(%rbx)
	jne	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_SSL_IS_FIRST_HANDSHAKE
	testl	%eax, %eax
	jne	LBB0_13
	jmp	LBB0_34
LBB0_4:
	cmpl	$132, 44(%rbx)
	jne	LBB0_6
## %bb.5:
	movabsq	$605590388868, %rax             ## imm = 0x8D00000084
	movq	%rax, 40(%rbx)
	jmp	LBB0_35
LBB0_6:
	movq	%rbx, %rdi
	callq	_tls_setup_handshake
	testl	%eax, %eax
	jne	LBB0_33
## %bb.7:
	movq	_WRITE_TRAN_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_36
LBB0_16:
	movq	16(%rbx), %rax
	movq	_SSL_aNULL@GOTPCREL(%rip), %rcx
	movq	_SSL_aSRP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_SSL_aPSK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	testl	%edx, (%rax)
	je	LBB0_17
## %bb.18:
	movq	%rbx, %rdi
	callq	_send_server_key_exchange
	movl	$131, %ecx
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	callq	_send_certificate_request
	testl	%eax, %eax
	movl	$129, %eax
	movl	$136, %ecx
	cmovel	%eax, %ecx
LBB0_20:
	movl	%ecx, 40(%rbx)
	jmp	LBB0_35
LBB0_29:
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	sete	%al
	leal	130(,%rax,4), %eax
	movl	%eax, 40(%rbx)
	jmp	LBB0_35
LBB0_10:
	movq	%rbx, %rdi
	callq	_SSL_get_options
	movq	_SSL_OP_COOKIE_EXCHANGE@GOTPCREL(%rip), %rcx
	movl	$142, %r14d
	testl	%eax, (%rcx)
	je	LBB0_11
LBB0_13:
	movl	%r14d, 40(%rbx)
LBB0_35:
	movq	_WRITE_TRAN_CONTINUE@GOTPCREL(%rip), %rax
LBB0_36:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_17:
	movl	$137, %ecx
	movl	%ecx, 40(%rbx)
	jmp	LBB0_35
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_33
	.long	L0_0_set_30
	.long	L0_0_set_25
	.long	L0_0_set_34
	.long	L0_0_set_32
	.long	L0_0_set_31
	.long	L0_0_set_23
	.long	L0_0_set_27
	.long	L0_0_set_21
	.long	L0_0_set_28
	.long	L0_0_set_8
	.long	L0_0_set_4
	.long	L0_0_set_33
	.long	L0_0_set_33
	.end_data_region
                                        ## -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION,4,2 ## @SSL_F_OSSL_STATEM_SERVER_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_CONTINUE,4,2        ## @WRITE_TRAN_CONTINUE
	.comm	_WRITE_TRAN_FINISHED,4,2        ## @WRITE_TRAN_FINISHED
	.comm	_SSL_OP_COOKIE_EXCHANGE,4,2     ## @SSL_OP_COOKIE_EXCHANGE
	.comm	_SSL_aNULL,4,2                  ## @SSL_aNULL
	.comm	_SSL_aSRP,4,2                   ## @SSL_aSRP
	.comm	_SSL_aPSK,4,2                   ## @SSL_aPSK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ossl_statem_server_write_transition
lCPI0_0:
	.long	132                             ; 0x84
	.long	141                             ; 0x8d
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ossl_statem_server_write_transition
	.p2align	2
_ossl_statem_server_write_transition:   ; @ossl_statem_server_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_server13_write_transition
LBB0_2:
	ldr	w8, [x19, #40]
	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:
Lloh2:
	adrp	x8, _WRITE_TRAN_FINISHED@GOTPAGE
Lloh3:
	ldr	x8, [x8, _WRITE_TRAN_FINISHED@GOTPAGEOFF]
	b	LBB0_33
LBB0_5:
Lloh4:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh5:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh6:
	ldr	w1, [x8]
Lloh7:
	adrp	x8, _SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
LBB0_6:
Lloh13:
	adrp	x8, _WRITE_TRAN_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _WRITE_TRAN_ERROR@GOTPAGEOFF]
	b	LBB0_33
LBB0_7:
	ldr	w8, [x19]
	cbnz	w8, LBB0_30
; %bb.8:
	ldr	x8, [x19, #16]
	ldr	w8, [x8]
Lloh15:
	adrp	x9, _SSL_aNULL@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SSL_aNULL@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
Lloh18:
	adrp	x10, _SSL_aSRP@GOTPAGE
Lloh19:
	ldr	x10, [x10, _SSL_aSRP@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh21:
	adrp	x10, _SSL_aPSK@GOTPAGE
Lloh22:
	ldr	x10, [x10, _SSL_aPSK@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_37
; %bb.9:
	mov	x0, x19
	bl	_send_server_key_exchange
	cbnz	w0, LBB0_17
; %bb.10:
	mov	x0, x19
	bl	_send_certificate_request
	mov	w8, #136
	mov	w9, #129
	cmp	w0, #0
	csel	w8, w9, w8, eq
	b	LBB0_31
LBB0_11:
	mov	w8, #134
	b	LBB0_31
LBB0_12:
	ldr	w8, [x19]
	cbnz	w8, LBB0_4
	b	LBB0_22
LBB0_13:
	mov	w8, #133
	b	LBB0_31
LBB0_14:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_16
; %bb.15:
	mov	w8, #135
	b	LBB0_31
LBB0_16:
	mov	x0, x19
	bl	_send_server_key_exchange
	cbz	w0, LBB0_18
LBB0_17:
	mov	w8, #131
	b	LBB0_31
LBB0_18:
	mov	x0, x19
	bl	_send_certificate_request
	cbz	w0, LBB0_20
; %bb.19:
	mov	w8, #136
	b	LBB0_31
LBB0_20:
	mov	w8, #129
	b	LBB0_31
LBB0_21:
	ldr	w8, [x19]
	cbz	w8, LBB0_30
LBB0_22:
	mov	w8, #140
	b	LBB0_31
LBB0_23:
	mov	x0, x19
	bl	_SSL_IS_DTLS
	cbz	w0, LBB0_25
; %bb.24:
	ldr	x8, [x19, #32]
	ldr	w8, [x8]
	cbz	w8, LBB0_35
LBB0_25:
	ldr	w8, [x19, #24]
	cbnz	w8, LBB0_27
; %bb.26:
	mov	x0, x19
	bl	_SSL_IS_FIRST_HANDSHAKE
	cbz	w0, LBB0_22
LBB0_27:
	mov	w8, #128
	b	LBB0_31
LBB0_28:
	ldr	w8, [x19, #44]
	cmp	w8, #132
	b.ne	LBB0_34
; %bb.29:
Lloh24:
	adrp	x8, lCPI0_0@PAGE
Lloh25:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #40]
	b	LBB0_32
LBB0_30:
	ldr	w8, [x19, #4]
	mov	w9, #130
	mov	w10, #134
	cmp	w8, #0
	csel	w8, w10, w9, eq
LBB0_31:
	str	w8, [x19, #40]
LBB0_32:
Lloh26:
	adrp	x8, _WRITE_TRAN_CONTINUE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _WRITE_TRAN_CONTINUE@GOTPAGEOFF]
LBB0_33:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_34:
	mov	x0, x19
	bl	_tls_setup_handshake
	cbnz	w0, LBB0_4
	b	LBB0_6
LBB0_35:
	mov	x0, x19
	bl	_SSL_get_options
Lloh28:
	adrp	x8, _SSL_OP_COOKIE_EXCHANGE@GOTPAGE
Lloh29:
	ldr	x8, [x8, _SSL_OP_COOKIE_EXCHANGE@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_25
; %bb.36:
	mov	w8, #142
	b	LBB0_31
LBB0_37:
	mov	w8, #137
	b	LBB0_31
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdr	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
	.byte	(LBB0_18-LBB0_4)>>2
	.byte	(LBB0_22-LBB0_4)>>2
	.byte	(LBB0_12-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_16-LBB0_4)>>2
	.byte	(LBB0_20-LBB0_4)>>2
	.byte	(LBB0_14-LBB0_4)>>2
	.byte	(LBB0_21-LBB0_4)>>2
	.byte	(LBB0_23-LBB0_4)>>2
	.byte	(LBB0_28-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
                                        ; -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_OSSL_STATEM_SERVER_WRITE_TRANSITION,4,2 ; @SSL_F_OSSL_STATEM_SERVER_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_CONTINUE,4,2        ; @WRITE_TRAN_CONTINUE
	.comm	_WRITE_TRAN_FINISHED,4,2        ; @WRITE_TRAN_FINISHED
	.comm	_SSL_OP_COOKIE_EXCHANGE,4,2     ; @SSL_OP_COOKIE_EXCHANGE
	.comm	_SSL_aNULL,4,2                  ; @SSL_aNULL
	.comm	_SSL_aSRP,4,2                   ; @SSL_aSRP
	.comm	_SSL_aPSK,4,2                   ; @SSL_aPSK
.subsections_via_symbols
