	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function malidp500_se_write_pp_coefftab
_malidp500_se_write_pp_coefftab:        ## @malidp500_se_write_pp_coefftab
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_MALIDP500_SE_CONTROL@GOTPCREL(%rip), %rax
	movq	_MALIDP_SE_SCALING_CONTROL@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r12d
	addl	(%rax), %r12d
	movq	%rcx, %r14
	movq	%rdi, %r15
	movq	_MALIDP_SE_COEFFTAB_ADDR_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %edx
	orl	%edx, %esi
	movq	_MALIDP_SE_COEFFTAB_ADDR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	addl	%r12d, %edx
	callq	_malidp_hw_write
	movq	_dp500_se_scaling_coeffs@GOTPCREL(%rip), %r13
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_MALIDP_SE_SET_COEFFTAB_DATA
	movq	_MALIDP_SE_COEFFTAB_DATA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	addl	%r12d, %edx
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_malidp_hw_write
	incq	%rbx
	movq	(%r13), %rdi
	callq	_ARRAY_SIZE
	cltq
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MALIDP500_SE_CONTROL,4,2       ## @MALIDP500_SE_CONTROL
	.comm	_MALIDP_SE_SCALING_CONTROL,4,2  ## @MALIDP_SE_SCALING_CONTROL
	.comm	_MALIDP_SE_COEFFTAB_ADDR_MASK,4,2 ## @MALIDP_SE_COEFFTAB_ADDR_MASK
	.comm	_MALIDP_SE_COEFFTAB_ADDR,4,2    ## @MALIDP_SE_COEFFTAB_ADDR
	.comm	_dp500_se_scaling_coeffs,8,3    ## @dp500_se_scaling_coeffs
	.comm	_MALIDP_SE_COEFFTAB_DATA,4,2    ## @MALIDP_SE_COEFFTAB_DATA
	.no_dead_strip	_malidp500_se_write_pp_coefftab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function malidp500_se_write_pp_coefftab
_malidp500_se_write_pp_coefftab:        ; @malidp500_se_write_pp_coefftab
	.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, x3
	mov	x20, x0
Lloh0:
	adrp	x8, _MALIDP500_SE_CONTROL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MALIDP500_SE_CONTROL@GOTPAGEOFF]
Lloh2:
	adrp	x9, _MALIDP_SE_COEFFTAB_ADDR_MASK@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MALIDP_SE_COEFFTAB_ADDR_MASK@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	and	w9, w9, w2
Lloh6:
	adrp	x10, _MALIDP_SE_SCALING_CONTROL@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MALIDP_SE_SCALING_CONTROL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w1, w9, w1
Lloh9:
	adrp	x9, _MALIDP_SE_COEFFTAB_ADDR@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MALIDP_SE_COEFFTAB_ADDR@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	add	w21, w10, w8
	add	w2, w9, w21
	bl	_malidp_hw_write
Lloh12:
	adrp	x22, _dp500_se_scaling_coeffs@GOTPAGE
Lloh13:
	ldr	x22, [x22, _dp500_se_scaling_coeffs@GOTPAGEOFF]
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, #0
Lloh14:
	adrp	x24, _MALIDP_SE_COEFFTAB_DATA@GOTPAGE
Lloh15:
	ldr	x24, [x24, _MALIDP_SE_COEFFTAB_DATA@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x8, [x8, x19, lsl #3]
	ldr	w0, [x8, x23, lsl #2]
	bl	_MALIDP_SE_SET_COEFFTAB_DATA
	mov	x1, x0
	ldr	w8, [x24]
	add	w2, w8, w21
	mov	x0, x20
	bl	_malidp_hw_write
	add	x23, x23, #1
	ldr	x0, [x22]
	bl	_ARRAY_SIZE
	cmp	x23, w0, sxtw
	b.lt	LBB0_2
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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_MALIDP500_SE_CONTROL,4,2       ; @MALIDP500_SE_CONTROL
	.comm	_MALIDP_SE_SCALING_CONTROL,4,2  ; @MALIDP_SE_SCALING_CONTROL
	.comm	_MALIDP_SE_COEFFTAB_ADDR_MASK,4,2 ; @MALIDP_SE_COEFFTAB_ADDR_MASK
	.comm	_MALIDP_SE_COEFFTAB_ADDR,4,2    ; @MALIDP_SE_COEFFTAB_ADDR
	.comm	_dp500_se_scaling_coeffs,8,3    ; @dp500_se_scaling_coeffs
	.comm	_MALIDP_SE_COEFFTAB_DATA,4,2    ; @MALIDP_SE_COEFFTAB_DATA
	.no_dead_strip	_malidp500_se_write_pp_coefftab
.subsections_via_symbols
