	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_add_beacon_time             ## -- Begin function il_add_beacon_time
	.p2align	4, 0x90
_il_add_beacon_time:                    ## @il_add_beacon_time
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rdx, %r14
	movq	%rsi, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	callq	_il_beacon_time_mask_low
	movq	%rax, %r15
	andq	%r13, %r15
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_il_beacon_time_mask_low
	movq	%rax, %r13
	andq	%r14, %r13
	movq	_TIME_UNIT@GOTPCREL(%rip), %rax
	imulq	(%rax), %r12
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_il_beacon_time_mask_high
	movq	%rax, %r12
	andq	-56(%rbp), %r12                 ## 8-byte Folded Reload
	movl	(%rbx), %esi
	movq	%rbx, %rdi
	callq	_il_beacon_time_mask_high
	andq	%r14, %rax
	addq	%r12, %rax
	movq	%r15, %rdi
	subq	%r13, %rdi
	jle	LBB0_2
## %bb.1:
	addq	%rax, %rdi
	jmp	LBB0_5
LBB0_2:
	movb	(%rbx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movslq	%edx, %rcx
	subq	%r13, %r15
	jge	LBB0_4
## %bb.3:
	addq	-48(%rbp), %r15                 ## 8-byte Folded Reload
	addq	%rax, %r15
	addq	%rcx, %r15
	movq	%r15, %rdi
	jmp	LBB0_5
LBB0_4:
	addq	%rcx, %rax
	movq	%rax, %rdi
LBB0_5:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cpu_to_le32                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TIME_UNIT,8,3                  ## @TIME_UNIT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_il_add_beacon_time             ; -- Begin function il_add_beacon_time
	.p2align	2
_il_add_beacon_time:                    ; @il_add_beacon_time
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	ldr	w1, [x0]
	bl	_il_beacon_time_mask_low
	and	x23, x0, x22
	ldr	w1, [x20]
	mov	x0, x20
	bl	_il_beacon_time_mask_low
	and	x25, x0, x21
Lloh0:
	adrp	x8, _TIME_UNIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TIME_UNIT@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
	ldr	w1, [x20]
	mov	x0, x20
	bl	_il_beacon_time_mask_high
	and	x22, x0, x22
	ldr	w1, [x20]
	mov	x0, x20
	bl	_il_beacon_time_mask_high
	and	x8, x0, x21
	add	x8, x8, x22
	subs	x9, x23, x25
	b.le	LBB0_2
; %bb.1:
	add	x0, x9, x8
	b	LBB0_5
LBB0_2:
	ldr	w9, [x20]
	mov	w10, #1
	lsl	w9, w10, w9
	sxtw	x9, w9
	subs	x10, x23, x25
	b.ge	LBB0_4
; %bb.3:
	mul	x11, x24, x19
	add	x10, x10, x11
	add	x8, x10, x8
LBB0_4:
	add	x0, x8, x9
LBB0_5:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_cpu_to_le32
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TIME_UNIT,8,3                  ; @TIME_UNIT
.subsections_via_symbols
