	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function dtls1_get_timeout
LCPI0_0:
	.quad	-1                              ## 0xffffffffffffffff
	.quad	1000000                         ## 0xf4240
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_dtls1_get_timeout
	.p2align	4, 0x90
_dtls1_get_timeout:                     ## @dtls1_get_timeout
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	cmpq	$0, (%rax)
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 8(%rax)
	je	LBB0_2
LBB0_3:
	leaq	-32(%rbp), %rdi
	callq	_get_current_time
	movq	(%rbx), %rsi
	movq	-32(%rbp), %rax
	cmpq	%rax, (%rsi)
	jl	LBB0_11
## %bb.4:
	jne	LBB0_6
## %bb.5:
	movq	8(%rsi), %rax
	cmpq	-24(%rbp), %rax
	jle	LBB0_11
LBB0_6:
	movq	%r14, %rdi
	movl	$16, %edx
	callq	_memcpy
	movdqu	(%r14), %xmm0
	psubq	-32(%rbp), %xmm0
	movdqu	%xmm0, (%r14)
	pextrq	$1, %xmm0, %rax
	testq	%rax, %rax
	js	LBB0_8
## %bb.7:
	movq	%xmm0, %rcx
	testq	%rcx, %rcx
	je	LBB0_10
	jmp	LBB0_12
LBB0_2:
	xorl	%r14d, %r14d
	jmp	LBB0_12
LBB0_8:
	paddq	LCPI0_0(%rip), %xmm0
	movdqu	%xmm0, (%r14)
	movq	%xmm0, %rcx
	pextrq	$1, %xmm0, %rax
	testq	%rcx, %rcx
	jne	LBB0_12
LBB0_10:
	cmpq	$14999, %rax                    ## imm = 0x3A97
	jg	LBB0_12
LBB0_11:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
LBB0_12:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dtls1_get_timeout              ; -- Begin function dtls1_get_timeout
	.p2align	2
_dtls1_get_timeout:                     ; @dtls1_get_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	ldr	x9, [x8]
	cbnz	x9, LBB0_2
; %bb.1:
	ldr	x8, [x8, #8]
	cbz	x8, LBB0_11
LBB0_2:
	mov	x0, sp
	bl	_get_current_time
	ldr	x1, [x20]
	ldr	x8, [x1]
	ldr	x9, [sp]
	cmp	x8, x9
	b.lt	LBB0_9
; %bb.3:
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x1, #8]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.le	LBB0_9
LBB0_5:
	mov	x0, x19
	mov	w2, #16
	bl	_memcpy
	ldr	q0, [sp]
	ldr	q1, [x19]
	sub.2d	v0, v1, v0
	str	q0, [x19]
	mov.d	x8, v0[1]
	fmov	x9, d0
	tbz	x8, #63, LBB0_7
; %bb.6:
	sub	x9, x9, #1
	add	x8, x8, #244, lsl #12           ; =999424
	add	x8, x8, #576
	stp	x9, x8, [x19]
LBB0_7:
	cbnz	x9, LBB0_10
; %bb.8:
	mov	w9, #14999
	cmp	x8, x9
	b.gt	LBB0_10
LBB0_9:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #16
	bl	_memset
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_11:
	mov	x19, #0
	b	LBB0_10
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
