	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xlgmac_riwt_to_usec
_xlgmac_riwt_to_usec:                   ## @xlgmac_riwt_to_usec
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movabsq	$4835703278458516699, %rax      ## imm = 0x431BDE82D7B634DB
	mulq	(%rdi)
	movq	%rdx, %rcx
                                        ## kill: def $esi killed $esi def $rsi
	shll	$8, %esi
	shrq	$18, %rcx
	cmpq	%rcx, %rsi
	jb	LBB0_1
## %bb.2:
	movl	%esi, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $eax killed $eax def $rax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_xlgmac_riwt_to_usec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xlgmac_riwt_to_usec
_xlgmac_riwt_to_usec:                   ; @xlgmac_riwt_to_usec
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	lsl	w9, w1, #8
	mov	x10, #13531
	movk	x10, #55222, lsl #16
	movk	x10, #56962, lsl #32
	movk	x10, #17179, lsl #48
	umulh	x8, x8, x10
	lsr	x8, x8, #18
	udiv	x0, x9, x8
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_xlgmac_riwt_to_usec
.subsections_via_symbols
