	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ossl_statem_fatal              ## -- Begin function ossl_statem_fatal
	.p2align	4, 0x90
_ossl_statem_fatal:                     ## @ossl_statem_fatal
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, %r12
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_ERR_LIB_SSL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ecx, %esi
	callq	_ERR_raise
	movq	%r12, %rdi
	movl	%r15d, %esi
	xorl	%edx, %edx
	callq	_ERR_set_debug
	cmpl	$0, (%rbx)
	je	LBB0_1
## %bb.2:
	movq	_MSG_FLOW_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, 8(%rbx)
	jne	LBB0_3
	jmp	LBB0_5
LBB0_1:
	movq	_MSG_FLOW_ERROR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_3:
	movl	$1, (%rbx)
	movq	%rax, 8(%rbx)
	movq	_SSL_AD_NO_ALERT@GOTPCREL(%rip), %rax
	cmpl	%r14d, (%rax)
	je	LBB0_5
## %bb.4:
	movq	16(%rbx), %rax
	movq	_ENC_WRITE_STATE_INVALID@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_SSL3_AL_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ssl3_send_alert                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_LIB_SSL,4,2                ## @ERR_LIB_SSL
	.comm	_MSG_FLOW_ERROR,8,3             ## @MSG_FLOW_ERROR
	.comm	_SSL_AD_NO_ALERT,4,2            ## @SSL_AD_NO_ALERT
	.comm	_ENC_WRITE_STATE_INVALID,8,3    ## @ENC_WRITE_STATE_INVALID
	.comm	_SSL3_AL_FATAL,4,2              ## @SSL3_AL_FATAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ossl_statem_fatal              ; -- Begin function ossl_statem_fatal
	.p2align	2
_ossl_statem_fatal:                     ; @ossl_statem_fatal
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x5
	mov	x22, x4
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ERR_LIB_SSL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_LIB_SSL@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x3
	bl	_ERR_raise
	mov	x0, x22
	mov	x1, x21
	mov	x2, #0
	bl	_ERR_set_debug
	ldr	w8, [x20]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x9, [x20, #8]
Lloh3:
	adrp	x8, _MSG_FLOW_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_FLOW_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ne	LBB0_3
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, _MSG_FLOW_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MSG_FLOW_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
LBB0_3:
	mov	w9, #1
	str	w9, [x20]
	str	x8, [x20, #8]
Lloh9:
	adrp	x8, _SSL_AD_NO_ALERT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_AD_NO_ALERT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w8, w19
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x20, #16]
Lloh12:
	adrp	x9, _ENC_WRITE_STATE_INVALID@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ENC_WRITE_STATE_INVALID@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh15:
	adrp	x8, _SSL3_AL_FATAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL3_AL_FATAL@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ssl3_send_alert
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_LIB_SSL,4,2                ; @ERR_LIB_SSL
	.comm	_MSG_FLOW_ERROR,8,3             ; @MSG_FLOW_ERROR
	.comm	_SSL_AD_NO_ALERT,4,2            ; @SSL_AD_NO_ALERT
	.comm	_ENC_WRITE_STATE_INVALID,8,3    ; @ENC_WRITE_STATE_INVALID
	.comm	_SSL3_AL_FATAL,4,2              ; @SSL3_AL_FATAL
.subsections_via_symbols
