	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bridge_get_time_since_tc
_bridge_get_time_since_tc:              ## @bridge_get_time_since_tc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	xorl	%r15d, %r15d
	leaq	-32(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	testq	%rax, %rax
	js	LBB0_1
## %bb.2:
	movslq	-32(%rbp), %rax
	movq	(%rbx), %rcx
	leal	1000000(%rax), %edx
	xorl	%esi, %esi
	cmpq	%rax, %rcx
	setg	%sil
	movl	-28(%rbp), %edi
	cmovlel	%eax, %edx
	subl	%esi, %edi
	subl	8(%rbx), %edi
	subl	%ecx, %edx
	imull	$100, %edi, %eax
	movslq	%edx, %rcx
	imulq	$1759218605, %rcx, %rcx         ## imm = 0x68DB8BAD
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$44, %rcx
	addl	%edx, %ecx
	addl	%eax, %ecx
	movl	%ecx, (%r14)
	jmp	LBB0_3
LBB0_1:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
	callq	_syslog
	movl	$-1, %r15d
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bridge get time since last TC:gettimeofday failed: %s"

	.comm	_errno,4,2                      ## @errno
	.no_dead_strip	_bridge_get_time_since_tc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bridge_get_time_since_tc
_bridge_get_time_since_tc:              ; @bridge_get_time_since_tc
	.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
	add	x0, sp, #8
	mov	x1, #0
	bl	_gettimeofday
	tbnz	x0, #63, LBB0_2
; %bb.1:
	mov	w0, #0
	ldr	x8, [x20]
	ldp	w9, w10, [sp, #8]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	cmp	x8, x9
	add	w11, w9, #244, lsl #12          ; =999424
	add	w11, w11, #576
	csel	w9, w11, w9, gt
	cset	w11, gt
	ldr	w12, [x20, #8]
	sub	w10, w10, w11
	sub	w10, w10, w12
	sub	w8, w9, w8
	mov	w9, #100
	mov	w11, #35757
	movk	w11, #26843, lsl #16
	smull	x8, w8, w11
	lsr	x11, x8, #63
	asr	x8, x8, #44
	add	w8, w8, w11
	madd	w8, w10, w9, w8
	str	w8, [x19]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_strerror
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_syslog
	mov	w0, #-1
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bridge get time since last TC:gettimeofday failed: %s"

	.comm	_errno,4,2                      ; @errno
	.no_dead_strip	_bridge_get_time_since_tc
.subsections_via_symbols
