	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mytime_get_flush_timeout       ## -- Begin function mytime_get_flush_timeout
	.p2align	4, 0x90
_mytime_get_flush_timeout:              ## @mytime_get_flush_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_opt_flush_timeout@GOTPCREL(%rip), %rcx
	movl	$-1, %eax
	cmpq	$0, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_opt_mode@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_MODE_COMPRESS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_3
## %bb.2:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_mytime_now
	movq	%rax, %rcx
	movq	_next_flush@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, %rax
	subq	%rcx, %rax
	movq	_INT_MAX@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rsi, %rax
	cmovgeq	%rsi, %rax
	cmpq	%rcx, %rdx
	cmovlel	%ebx, %eax
LBB0_3:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opt_flush_timeout,8,3          ## @opt_flush_timeout
	.comm	_opt_mode,8,3                   ## @opt_mode
	.comm	_MODE_COMPRESS,8,3              ## @MODE_COMPRESS
	.comm	_next_flush,8,3                 ## @next_flush
	.comm	_INT_MAX,8,3                    ## @INT_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mytime_get_flush_timeout       ; -- Begin function mytime_get_flush_timeout
	.p2align	2
_mytime_get_flush_timeout:              ; @mytime_get_flush_timeout
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _opt_flush_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _opt_flush_timeout@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _opt_mode@GOTPAGE
Lloh4:
	ldr	x8, [x8, _opt_mode@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _MODE_COMPRESS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MODE_COMPRESS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	bl	_mytime_now
Lloh9:
	adrp	x8, _next_flush@GOTPAGE
Lloh10:
	ldr	x8, [x8, _next_flush@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _INT_MAX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _INT_MAX@GOTPAGEOFF]
	subs	x10, x8, x0
Lloh14:
	ldr	x9, [x9]
	cmp	x10, x9
	csel	x9, x10, x9, lt
	cmp	x8, x0
	csel	w0, w9, wzr, gt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	w0, #-1
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_opt_flush_timeout,8,3          ; @opt_flush_timeout
	.comm	_opt_mode,8,3                   ; @opt_mode
	.comm	_MODE_COMPRESS,8,3              ; @MODE_COMPRESS
	.comm	_next_flush,8,3                 ; @next_flush
	.comm	_INT_MAX,8,3                    ; @INT_MAX
.subsections_via_symbols
