	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timespec_subtract              ## -- Begin function timespec_subtract
	.p2align	4, 0x90
_timespec_subtract:                     ## @timespec_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	(%rdi), %rcx
	movq	8(%rdi), %r9
	movq	_TB_NSPERSEC@GOTPCREL(%rip), %rax
	movslq	(%rax), %rdi
	movq	(%rsi), %r10
	movq	%rcx, %rax
	subq	%r10, %rax
	jle	LBB0_5
## %bb.1:
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_2
## %bb.3:
	cqto
	idivq	%rdi
	jmp	LBB0_4
LBB0_2:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_4:
	incl	%eax
	cltq
	movq	%rdi, %rdx
	imulq	%rax, %rdx
	subq	%rdx, %rcx
	addq	%rax, %r9
LBB0_5:
	movq	%r10, %rax
	subq	%rcx, %rax
	cmpq	%rdi, %rax
	jle	LBB0_10
## %bb.6:
	movq	%rcx, %rax
	subq	%r10, %rax
	movq	%rax, %rdx
	orq	%rdi, %rdx
	shrq	$32, %rdx
	je	LBB0_7
## %bb.8:
	cqto
	idivq	%rdi
	jmp	LBB0_9
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%edi
                                        ## kill: def $eax killed $eax def $rax
LBB0_9:
	imull	%eax, %edi
	movslq	%edi, %rdx
	addq	%rdx, %rcx
	cltq
	subq	%rax, %r9
	subq	%rcx, %r10
	movq	%r10, %rax
LBB0_10:
	movq	8(%rsi), %rcx
	subq	%r9, %rcx
	movq	%rcx, 8(%r8)
	movq	%rax, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TB_NSPERSEC,4,2                ## @TB_NSPERSEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_timespec_subtract              ; -- Begin function timespec_subtract
	.p2align	2
_timespec_subtract:                     ; @timespec_subtract
	.cfi_startproc
; %bb.0:
	ldp	x9, x8, [x0]
Lloh0:
	adrp	x10, _TB_NSPERSEC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _TB_NSPERSEC@GOTPAGEOFF]
Lloh2:
	ldrsw	x11, [x10]
	ldr	x10, [x1]
	subs	x12, x9, x10
	b.le	LBB0_2
; %bb.1:
	sdiv	x12, x12, x11
	add	w12, w12, #1
	sxtw	x12, w12
	msub	x9, x12, x11, x9
	add	x8, x8, x12
LBB0_2:
	sub	x12, x10, x9
	cmp	x12, x11
	b.le	LBB0_4
; %bb.3:
	sub	x12, x9, x10
	sdiv	x12, x12, x11
	mul	w11, w11, w12
	add	x9, x9, w11, sxtw
	sub	x8, x8, w12, sxtw
	sub	x12, x10, x9
LBB0_4:
	ldr	x9, [x1, #8]
	sub	x8, x9, x8
	stp	x12, x8, [x2]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TB_NSPERSEC,4,2                ; @TB_NSPERSEC
.subsections_via_symbols
