	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_stateless                  ## -- Begin function SSL_stateless
	.p2align	4, 0x90
_SSL_stateless:                         ## @SSL_stateless
	.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_clear
	testl	%eax, %eax
	je	LBB0_6
## %bb.1:
	xorl	%eax, %eax
	callq	_ERR_clear_error
	movq	_TLS1_FLAGS_STATELESS@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	orl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	callq	_SSL_accept
	movl	(%r14), %ecx
	notl	%ecx
	andl	%ecx, 16(%rbx)
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	movl	$1, %eax
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
LBB0_3:
	movq	(%rbx), %rax
	movq	_SSL_HRR_PENDING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_ossl_statem_in_error
	testl	%eax, %eax
	je	LBB0_6
LBB0_5:
	movl	$-1, %eax
	jmp	LBB0_7
LBB0_6:
	xorl	%eax, %eax
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TLS1_FLAGS_STATELESS,4,2       ## @TLS1_FLAGS_STATELESS
	.comm	_SSL_HRR_PENDING,8,3            ## @SSL_HRR_PENDING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_SSL_stateless                  ; -- Begin function SSL_stateless
	.p2align	2
_SSL_stateless:                         ; @SSL_stateless
	.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_clear
	cbz	w0, LBB0_7
; %bb.1:
	bl	_ERR_clear_error
Lloh0:
	adrp	x20, _TLS1_FLAGS_STATELESS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _TLS1_FLAGS_STATELESS@GOTPAGEOFF]
	ldr	w8, [x20]
	ldr	w9, [x19, #16]
	orr	w8, w9, w8
	str	w8, [x19, #16]
	mov	x0, x19
	bl	_SSL_accept
	ldr	w8, [x20]
	ldr	w9, [x19, #16]
	bic	w8, w9, w8
	str	w8, [x19, #16]
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #1
	b	LBB0_7
LBB0_4:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _SSL_HRR_PENDING@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SSL_HRR_PENDING@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_ossl_statem_in_error
	cbz	w0, LBB0_7
LBB0_6:
	mov	w0, #-1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TLS1_FLAGS_STATELESS,4,2       ; @TLS1_FLAGS_STATELESS
	.comm	_SSL_HRR_PENDING,8,3            ; @SSL_HRR_PENDING
.subsections_via_symbols
