	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_peak_usb_set_ts_now            ## -- Begin function peak_usb_set_ts_now
	.p2align	4, 0x90
_peak_usb_set_ts_now:                   ## @peak_usb_set_ts_now
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	32(%rdi), %rdi
	callq	_ktime_to_ns
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	16(%rbx), %rdi
	callq	_ktime_to_ns
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	16(%rbx), %rdi
	movq	32(%rbx), %rsi
	callq	_ktime_sub
	movq	%rax, %rdi
	callq	_ktime_to_ns
	movq	_NSEC_PER_SEC@GOTPCREL(%rip), %rcx
	imulq	$4200, (%rcx), %rcx             ## imm = 0x1068
	cmpq	%rcx, %rax
	jbe	LBB0_5
## %bb.4:
	movq	16(%rbx), %rax
	movq	%rax, 32(%rbx)
	movq	$0, 24(%rbx)
LBB0_5:
	xorl	%eax, %eax
	callq	_ktime_get
	movq	%rax, 16(%rbx)
	incl	8(%rbx)
	jmp	LBB0_6
LBB0_1:
	xorl	%eax, %eax
	callq	_ktime_get
	movq	%rax, 32(%rbx)
	xorl	%edi, %edi
	xorl	%esi, %esi
	callq	_ktime_set
	movq	%rax, 16(%rbx)
LBB0_6:
	movl	(%rbx), %eax
	movl	%eax, 4(%rbx)
	movq	%rbx, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_peak_usb_update_ts_now         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NSEC_PER_SEC,8,3               ## @NSEC_PER_SEC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_peak_usb_set_ts_now            ; -- Begin function peak_usb_set_ts_now
	.p2align	2
_peak_usb_set_ts_now:                   ; @peak_usb_set_ts_now
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.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	x0, [x0, #32]
	bl	_ktime_to_ns
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x0, [x20, #16]
	bl	_ktime_to_ns
	cbz	x0, LBB0_4
; %bb.2:
	ldr	x0, [x20, #16]
	ldr	x1, [x20, #32]
	bl	_ktime_sub
	bl	_ktime_to_ns
Lloh0:
	adrp	x8, _NSEC_PER_SEC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NSEC_PER_SEC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	mov	w9, #4200
	mul	x8, x8, x9
	cmp	x0, x8
	b.ls	LBB0_4
; %bb.3:
	ldr	x8, [x20, #16]
	stp	xzr, x8, [x20, #24]
LBB0_4:
	bl	_ktime_get
	str	x0, [x20, #16]
	ldr	w8, [x20, #8]
	add	w8, w8, #1
	str	w8, [x20, #8]
	b	LBB0_6
LBB0_5:
	bl	_ktime_get
	str	x0, [x20, #32]
	mov	w0, #0
	mov	w1, #0
	bl	_ktime_set
	str	x0, [x20, #16]
LBB0_6:
	ldr	w8, [x20]
	str	w8, [x20, #4]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_peak_usb_update_ts_now
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NSEC_PER_SEC,8,3               ; @NSEC_PER_SEC
.subsections_via_symbols
