	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_read_failed              ## -- Begin function dtls1_read_failed
	.p2align	4, 0x90
_dtls1_read_failed:                     ## @dtls1_read_failed
	.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, %r14
	testl	%esi, %esi
	jle	LBB0_2
## %bb.1:
	movq	_SSL_AD_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_DTLS1_READ_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ERR_R_INTERNAL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_SSLfatal
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movl	%esi, %ebx
	movq	%r14, %rdi
	callq	_dtls1_is_timer_expired
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movq	%r14, %rdi
	callq	_ossl_statem_in_error
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_SSL_in_init
	movq	%r14, %rdi
	testl	%eax, %eax
	je	LBB0_5
## %bb.7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_dtls1_handle_timeout           ## TAILCALL
LBB0_5:
	callq	_SSL_get_rbio
	movq	_BIO_FLAGS_READ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_BIO_set_flags
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ## @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_DTLS1_READ_FAILED,4,2    ## @SSL_F_DTLS1_READ_FAILED
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ## @ERR_R_INTERNAL_ERROR
	.comm	_BIO_FLAGS_READ,4,2             ## @BIO_FLAGS_READ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_read_failed              ; -- Begin function dtls1_read_failed
	.p2align	2
_dtls1_read_failed:                     ; @dtls1_read_failed
	.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	x20, x0
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _SSL_AD_INTERNAL_ERROR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_AD_INTERNAL_ERROR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _SSL_F_DTLS1_READ_FAILED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SSL_F_DTLS1_READ_FAILED@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _ERR_R_INTERNAL_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ERR_R_INTERNAL_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_SSLfatal
	mov	w19, #0
LBB0_2:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x1
	mov	x0, x20
	bl	_dtls1_is_timer_expired
	cbz	w0, LBB0_2
; %bb.4:
	mov	x0, x20
	bl	_ossl_statem_in_error
	cbnz	x0, LBB0_2
; %bb.5:
	mov	x0, x20
	bl	_SSL_in_init
	cbz	w0, LBB0_7
; %bb.6:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_dtls1_handle_timeout
LBB0_7:
	mov	x0, x20
	bl	_SSL_get_rbio
Lloh9:
	adrp	x8, _BIO_FLAGS_READ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _BIO_FLAGS_READ@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	bl	_BIO_set_flags
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_AD_INTERNAL_ERROR,4,2      ; @SSL_AD_INTERNAL_ERROR
	.comm	_SSL_F_DTLS1_READ_FAILED,4,2    ; @SSL_F_DTLS1_READ_FAILED
	.comm	_ERR_R_INTERNAL_ERROR,4,2       ; @ERR_R_INTERNAL_ERROR
	.comm	_BIO_FLAGS_READ,4,2             ; @BIO_FLAGS_READ
.subsections_via_symbols
