	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lpddr_point
_lpddr_point:                           ## @lpddr_point
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%rdi), %r10
	movq	(%r10), %r14
	testq	%r14, %r14
	je	LBB0_9
## %bb.1:
	movq	8(%r10), %r12
	movq	8(%r12), %r9
	movl	(%r12), %r13d
	movl	%esi, %ebx
	movl	%r13d, %ecx
	sarl	%cl, %ebx
	movslq	%ebx, %rbx
	movl	%ebx, %r11d
	shll	%cl, %r11d
	leaq	(%rbx,%rbx,2), %r15
	subl	%r11d, %esi
	addq	(%r9,%r15,8), %r14
	movslq	%esi, %rax
	addq	%rax, %r14
	movq	%r14, (%r8)
	testq	%rdx, %rdx
	je	LBB0_13
## %bb.2:
	movq	%r10, -56(%rbp)                 ## 8-byte Spill
	leaq	(%r9,%r15,8), %r14
	decq	%rbx
	leaq	24(,%r15,8), %r9
	xorl	%esi, %esi
	movq	_FL_POINT@GOTPCREL(%rip), %r8
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movslq	4(%r12), %rdi
	incq	%rbx
	cmpq	%rdi, %rbx
	jge	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%r14), %rdi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%rsi, %rdi
	je	LBB0_7
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, %rsi
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, %r15
	movq	%rbx, -88(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	leaq	16(%r14), %rdi
	movq	%rdi, -96(%rbp)                 ## 8-byte Spill
	movq	%r8, %rbx
	callq	_mutex_lock
	movl	(%rbx), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_get_chip
	movl	%eax, %ebx
	movq	-96(%rbp), %rdi                 ## 8-byte Reload
	callq	_mutex_unlock
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%r12, %rdx
	leaq	(%r12,%r15), %rax
	decq	%rax
	movl	%r13d, %ecx
	shrq	%cl, %rax
	movl	$1, %esi
	shll	%cl, %esi
	movslq	%esi, %rdi
	subq	%r15, %rdi
	testq	%rax, %rax
	cmoveq	%r12, %rdi
	movq	_FL_POINT@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	movl	%eax, 12(%r14)
	incl	8(%r14)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	addq	%rdi, (%rax)
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %r13d
	movl	$1, %eax
	movl	%r13d, %ecx
	shll	%cl, %eax
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rsi, %r14
	leaq	24(%rsi), %r9
	cltq
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	addq	%rax, %rsi
	addq	8(%r12), %r14
	xorl	%eax, %eax
	subq	%rdi, %rdx
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	jne	LBB0_3
	jmp	LBB0_14
LBB0_13:
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_9:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_FL_POINT,4,2                   ## @FL_POINT
	.no_dead_strip	_lpddr_point
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lpddr_point
_lpddr_point:                           ; @lpddr_point
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	str	x3, [sp, #16]                   ; 8-byte Folded Spill
	ldr	x12, [x0]
	ldr	x8, [x12]
	cbz	x8, LBB0_10
; %bb.1:
	ldr	x27, [x12, #8]
	ldr	x10, [x27, #8]
	ldr	w26, [x27]
	asr	w9, w1, w26
	mov	w11, #24
	smaddl	x22, w9, w11, x10
	lsl	w10, w9, w26
	sub	w10, w1, w10
	sxtw	x20, w10
	ldr	x10, [x22]
	add	x8, x8, x10
	add	x8, x8, x20
	str	x8, [x4]
	cbz	x2, LBB0_9
; %bb.2:
	mov	x14, x26
	str	x12, [sp, #8]                   ; 8-byte Folded Spill
	mov	x28, #0
	sxtw	x8, w9
	sub	x21, x8, #1
	mov	w9, #24
	orr	x10, xzr, #0x18
	madd	x19, x8, x9, x10
Lloh0:
	adrp	x25, _FL_POINT@GOTPAGE
Lloh1:
	ldr	x25, [x25, _FL_POINT@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldrsw	x8, [x27, #4]
	add	x21, x21, #1
	cmp	x21, x8
	b.ge	LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x22]
	cbz	x28, LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x28
	b.eq	LBB0_7
	b	LBB0_9
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x28, x8
LBB0_7:                                 ;   in Loop: Header=BB0_3 Depth=1
	mov	x26, x2
	str	x14, [sp, #24]                  ; 8-byte Folded Spill
	add	x23, x22, #16
	mov	x0, x23
	bl	_mutex_lock
	ldr	w2, [x25]
	ldr	x0, [sp, #8]                    ; 8-byte Folded Reload
	mov	x1, x22
	bl	_get_chip
	mov	x24, x0
	mov	x0, x23
	bl	_mutex_unlock
	cbnz	w24, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x25]
	ldr	w9, [x22, #8]
	add	w9, w9, #1
	stp	w9, w8, [x22, #8]
	ldr	x8, [x27, #8]
	add	x22, x8, x19
	add	x19, x19, #24
	mov	x2, x26
	add	x8, x26, x20
	sub	x8, x8, #1
	ldp	x11, x26, [sp, #16]             ; 16-byte Folded Reload
	lsr	x8, x8, x26
	mov	w10, #1
	lsl	w9, w10, w26
	sxtw	x9, w9
	sub	x9, x9, x20
	cmp	x8, #0
	csel	x8, x2, x9, eq
	ldr	x9, [x11]
	add	x9, x9, x8
	ldr	w26, [x27]
	lsl	w10, w10, w26
	add	x28, x28, w10, sxtw
	str	x9, [x11]
	mov	x14, x26
	mov	x20, #0
	subs	x2, x2, x8
	b.ne	LBB0_3
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_FL_POINT,4,2                   ; @FL_POINT
	.no_dead_strip	_lpddr_point
.subsections_via_symbols
