	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_usecs_to_beacons            ## -- Begin function il_usecs_to_beacons
	.p2align	4, 0x90
_il_usecs_to_beacons:                   ## @il_usecs_to_beacons
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movl	%edx, %r15d
	movq	_TIME_UNIT@GOTPCREL(%rip), %rax
	imull	(%rax), %r15d
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.2:
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	(%rdi), %esi
	callq	_il_beacon_time_mask_high
	movl	%eax, %esi
	movl	(%r14), %ecx
	sarl	%cl, %esi
	movl	%r12d, %eax
	cltd
	idivl	%r15d
	movl	%edx, %r15d
	movl	%eax, %ebx
	andl	%esi, %ebx
	movq	%r14, %rdi
	movl	%ecx, %esi
	callq	_il_beacon_time_mask_low
	andl	%r15d, %eax
	movb	(%r14), %cl
	shll	%cl, %ebx
	addl	%eax, %ebx
LBB0_3:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIME_UNIT,4,2                  ## @TIME_UNIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_usecs_to_beacons            ; -- Begin function il_usecs_to_beacons
	.p2align	2
_il_usecs_to_beacons:                   ; @il_usecs_to_beacons
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	mov	w0, #0
	cbz	w1, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _TIME_UNIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIME_UNIT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mul	w21, w8, w2
	cbz	w21, LBB0_3
; %bb.2:
	mov	x20, x1
	ldr	w1, [x19]
	sdiv	w22, w20, w21
	mov	x0, x19
	bl	_il_beacon_time_mask_high
	ldr	w1, [x19]
	asr	w8, w0, w1
	and	w23, w8, w22
	msub	w20, w22, w21, w20
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_il_beacon_time_mask_low
	and	w8, w0, w20
	ldr	w9, [x19]
	lsl	w9, w23, w9
	add	w0, w9, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIME_UNIT,4,2                  ; @TIME_UNIT
.subsections_via_symbols
