	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_check_timeout_num        ## -- Begin function dtls1_check_timeout_num
	.p2align	4, 0x90
_dtls1_check_timeout_num:               ## @dtls1_check_timeout_num
	.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
	movq	(%rdi), %rcx
	movl	8(%rcx), %eax
	leal	1(%rax), %edx
	movl	%edx, 8(%rcx)
	cmpl	$2, %eax
	jl	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	callq	_SSL_get_options
	movq	_SSL_OP_NO_QUERY_MTU@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_3
## %bb.2:
	movq	(%rbx), %rcx
	jmp	LBB0_5
LBB0_3:
	movq	%rbx, %rdi
	callq	_SSL_get_wbio
	movq	_BIO_CTRL_DGRAM_GET_FALLBACK_MTU@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BIO_ctrl
	movq	(%rbx), %rcx
	cmpq	(%rcx), %rax
	jae	LBB0_5
## %bb.4:
	movq	%rax, (%rcx)
LBB0_5:
	movl	8(%rcx), %ecx
	movq	_DTLS1_TMO_ALERT_COUNT@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpl	(%rdx), %ecx
	jle	LBB0_7
## %bb.6:
	movq	_SSL_AD_NO_ALERT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SSL_F_DTLS1_CHECK_TIMEOUT_NUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SSL_R_READ_TIMEOUT_EXPIRED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	_SSLfatal
	movl	$-1, %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SSL_OP_NO_QUERY_MTU,4,2        ## @SSL_OP_NO_QUERY_MTU
	.comm	_BIO_CTRL_DGRAM_GET_FALLBACK_MTU,4,2 ## @BIO_CTRL_DGRAM_GET_FALLBACK_MTU
	.comm	_DTLS1_TMO_ALERT_COUNT,4,2      ## @DTLS1_TMO_ALERT_COUNT
	.comm	_SSL_AD_NO_ALERT,4,2            ## @SSL_AD_NO_ALERT
	.comm	_SSL_F_DTLS1_CHECK_TIMEOUT_NUM,4,2 ## @SSL_F_DTLS1_CHECK_TIMEOUT_NUM
	.comm	_SSL_R_READ_TIMEOUT_EXPIRED,4,2 ## @SSL_R_READ_TIMEOUT_EXPIRED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_check_timeout_num        ; -- Begin function dtls1_check_timeout_num
	.p2align	2
_dtls1_check_timeout_num:               ; @dtls1_check_timeout_num
	.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
	ldr	x8, [x0]
	ldr	w9, [x8, #8]
	add	w10, w9, #1
	str	w10, [x8, #8]
	cmp	w9, #2
	b.lt	LBB0_5
; %bb.1:
	mov	x0, x19
	bl	_SSL_get_options
Lloh0:
	adrp	x8, _SSL_OP_NO_QUERY_MTU@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSL_OP_NO_QUERY_MTU@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19]
	b	LBB0_5
LBB0_3:
	mov	x0, x19
	bl	_SSL_get_wbio
Lloh3:
	adrp	x8, _BIO_CTRL_DGRAM_GET_FALLBACK_MTU@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIO_CTRL_DGRAM_GET_FALLBACK_MTU@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	mov	x3, #0
	bl	_BIO_ctrl
	ldr	x8, [x19]
	ldr	x9, [x8]
	cmp	x0, x9
	b.hs	LBB0_5
; %bb.4:
	str	x0, [x8]
LBB0_5:
	ldr	w8, [x8, #8]
Lloh6:
	adrp	x9, _DTLS1_TMO_ALERT_COUNT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DTLS1_TMO_ALERT_COUNT@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_7
; %bb.6:
Lloh9:
	adrp	x8, _SSL_AD_NO_ALERT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SSL_AD_NO_ALERT@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
Lloh12:
	adrp	x8, _SSL_F_DTLS1_CHECK_TIMEOUT_NUM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SSL_F_DTLS1_CHECK_TIMEOUT_NUM@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
Lloh15:
	adrp	x8, _SSL_R_READ_TIMEOUT_EXPIRED@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SSL_R_READ_TIMEOUT_EXPIRED@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
	mov	x0, x19
	bl	_SSLfatal
	mov	w0, #-1
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_SSL_OP_NO_QUERY_MTU,4,2        ; @SSL_OP_NO_QUERY_MTU
	.comm	_BIO_CTRL_DGRAM_GET_FALLBACK_MTU,4,2 ; @BIO_CTRL_DGRAM_GET_FALLBACK_MTU
	.comm	_DTLS1_TMO_ALERT_COUNT,4,2      ; @DTLS1_TMO_ALERT_COUNT
	.comm	_SSL_AD_NO_ALERT,4,2            ; @SSL_AD_NO_ALERT
	.comm	_SSL_F_DTLS1_CHECK_TIMEOUT_NUM,4,2 ; @SSL_F_DTLS1_CHECK_TIMEOUT_NUM
	.comm	_SSL_R_READ_TIMEOUT_EXPIRED,4,2 ; @SSL_R_READ_TIMEOUT_EXPIRED
.subsections_via_symbols
