	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function timeval_subtract
_timeval_subtract:                      ## @timeval_subtract
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdx, %r8
	movq	(%rsi), %rax
	movq	(%rdx), %r10
	movq	%r10, %rdx
	movabsq	$4835703278458516699, %r9       ## imm = 0x431BDE82D7B634DB
	subq	%rax, %rdx
	jle	LBB0_2
## %bb.1:
	movq	%rdx, %rax
	imulq	%r9
	movq	%rdx, %rax
	shrq	$18, %rax
	shrq	$63, %rdx
	addl	%edx, %eax
	incl	%eax
	imull	$1000000, %eax, %edx            ## imm = 0xF4240
	movslq	%edx, %rdx
	subq	%rdx, %r10
	movq	%r10, (%r8)
	cltq
	addq	%rax, 8(%r8)
	movq	(%rsi), %rax
LBB0_2:
	subq	%r10, %rax
	cmpq	$1000000, %rax                  ## imm = 0xF4240
	jle	LBB0_3
## %bb.4:
	mulq	%r9
	shrq	$18, %rdx
	movabsq	$4294967296000000, %rcx         ## imm = 0xF424000000000
	imulq	%rdx, %rcx
	sarq	$32, %rcx
	addq	%r10, %rcx
	movq	%rcx, (%r8)
	movslq	%edx, %rax
	movq	8(%r8), %rdx
	subq	%rax, %rdx
	movq	%rdx, 8(%r8)
	movq	(%rsi), %rax
	subq	%rcx, %rax
	jmp	LBB0_5
LBB0_3:
	movq	8(%r8), %rdx
LBB0_5:
	movq	8(%rsi), %rcx
	subq	%rdx, %rcx
	movq	%rcx, 8(%rdi)
	movq	%rax, (%rdi)
	movq	8(%rsi), %rcx
	xorl	%eax, %eax
	cmpq	8(%r8), %rcx
	setl	%al
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_timeval_subtract
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function timeval_subtract
_timeval_subtract:                      ; @timeval_subtract
	.cfi_startproc
; %bb.0:
	mov	w9, #16960
	movk	w9, #15, lsl #16
	ldr	x10, [x1]
	ldr	x8, [x2]
	subs	x11, x8, x10
	b.le	LBB0_2
; %bb.1:
	sdiv	x10, x11, x9
	add	w10, w10, #1
	mul	w11, w10, w9
	sub	x8, x8, w11, sxtw
	ldr	x11, [x2, #8]
	add	x10, x11, w10, sxtw
	stp	x8, x10, [x2]
	ldr	x10, [x1]
LBB0_2:
	sub	x10, x10, x8
	cmp	x10, x9
	b.le	LBB0_4
; %bb.3:
	udiv	x9, x10, x9
	mov	x10, #72842645340160
	movk	x10, #15, lsl #48
	mul	x10, x9, x10
	add	x10, x8, x10, asr #32
	ldr	x8, [x2, #8]
	sub	x8, x8, w9, sxtw
	stp	x10, x8, [x2]
	ldr	x9, [x1]
	sub	x10, x9, x10
	b	LBB0_5
LBB0_4:
	ldr	x8, [x2, #8]
LBB0_5:
	ldr	x9, [x1, #8]
	sub	x8, x9, x8
	stp	x10, x8, [x0]
	ldr	x8, [x1, #8]
	ldr	x9, [x2, #8]
	cmp	x8, x9
	cset	w0, lt
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_timeval_subtract
.subsections_via_symbols
