	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_start_timer              ## -- Begin function dtls1_start_timer
	.p2align	4, 0x90
_dtls1_start_timer:                     ## @dtls1_start_timer
	.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
	callq	_SSL_get_wbio
	movl	%eax, %edi
	callq	_BIO_dgram_is_sctp
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_1
## %bb.10:
	addq	$16, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_memset                         ## TAILCALL
LBB0_1:
	cmpq	$0, 16(%rdi)
	jne	LBB0_7
## %bb.2:
	cmpl	$0, 24(%rdi)
	jne	LBB0_7
## %bb.3:
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.5:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	*%rcx
	movq	(%rbx), %rdi
	jmp	LBB0_6
LBB0_4:
	movl	$1000000, %eax                  ## imm = 0xF4240
LBB0_6:
	movl	%eax, 8(%rdi)
LBB0_7:
	addq	$16, %rdi
	callq	_get_current_time
	movq	(%rbx), %rax
	movslq	8(%rax), %rsi
	imulq	$1125899907, %rsi, %rcx         ## imm = 0x431BDE83
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$50, %rcx
	addl	%edx, %ecx
	imull	$-1000000, %ecx, %edx           ## imm = 0xFFF0BDC0
	addl	%esi, %edx
	addq	16(%rax), %rcx
	movq	%rcx, 16(%rax)
	addl	24(%rax), %edx
	movl	%edx, 24(%rax)
	cmpl	$1000000, %edx                  ## imm = 0xF4240
	jb	LBB0_9
## %bb.8:
	incq	%rcx
	movq	%rcx, 16(%rax)
	addl	$-1000000, %edx                 ## imm = 0xFFF0BDC0
	movl	%edx, 24(%rax)
LBB0_9:
	movq	%rbx, %rdi
	callq	_SSL_get_rbio
	movq	_BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	(%rbx), %rcx
	addq	$16, %rcx
	movl	%eax, %edi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_BIO_ctrl                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT,4,2 ## @BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_start_timer              ; -- Begin function dtls1_start_timer
	.p2align	2
_dtls1_start_timer:                     ; @dtls1_start_timer
	.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	x19, x0
	bl	_SSL_get_wbio
	bl	_BIO_dgram_is_sctp
	ldr	x8, [x19]
	cbz	x0, LBB0_2
; %bb.1:
	add	x0, x8, #16
	mov	w1, #0
	mov	w2, #16
	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	_memset
LBB0_2:
	mov	w20, #16960
	movk	w20, #15, lsl #16
	ldr	x9, [x8, #16]
	cbnz	x9, LBB0_8
; %bb.3:
	ldr	w9, [x8, #24]
	cbnz	w9, LBB0_8
; %bb.4:
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #0
	blr	x9
	ldr	x8, [x19]
	b	LBB0_7
LBB0_6:
	mov	w0, #16960
	movk	w0, #15, lsl #16
LBB0_7:
	str	w0, [x8, #8]
LBB0_8:
	mov	w21, #48576
	movk	w21, #65520, lsl #16
	add	x0, x8, #16
	bl	_get_current_time
	ldr	x8, [x19]
	ldr	w9, [x8, #8]
	sdiv	w10, w9, w20
	madd	w11, w10, w21, w9
	ldr	x9, [x8, #16]
	add	x9, x9, x10
	str	x9, [x8, #16]
	ldr	w10, [x8, #24]
	sub	w12, w20, #1
	add	w10, w11, w10
	cmp	w10, w12
	str	w10, [x8, #24]
	b.ls	LBB0_10
; %bb.9:
	add	x9, x9, #1
	str	x9, [x8, #16]
	add	w9, w10, w21
	str	w9, [x8, #24]
LBB0_10:
	mov	x0, x19
	bl	_SSL_get_rbio
Lloh0:
	adrp	x8, _BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x19]
	add	x3, x8, #16
	mov	w2, #0
	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	_BIO_ctrl
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT,4,2 ; @BIO_CTRL_DGRAM_SET_NEXT_TIMEOUT
.subsections_via_symbols
