	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lp5562_post_init_device
_lp5562_post_init_device:               ## @lp5562_post_init_device
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_LP5562_DEFAULT_CFG@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_LP5562_REG_OP_MODE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LP5562_CMD_DIRECT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_lp55xx_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_lp5562_wait_opmode_done
	movq	%r14, %rdi
	callq	_lp55xx_is_extclk_used
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	movq	_LP5562_CLK_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_3:
	orl	%r15d, %ebx
	movq	_LP5562_REG_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_lp55xx_write
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_LP5562_REG_R_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_lp55xx_write
	movq	_LP5562_REG_G_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_lp55xx_write
	movq	_LP5562_REG_B_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_lp55xx_write
	movq	_LP5562_REG_W_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_lp55xx_write
	movq	_LP5562_REG_ENG_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LP5562_ENG_SEL_PWM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_lp55xx_write
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LP5562_DEFAULT_CFG,4,2         ## @LP5562_DEFAULT_CFG
	.comm	_LP5562_REG_OP_MODE,4,2         ## @LP5562_REG_OP_MODE
	.comm	_LP5562_CMD_DIRECT,4,2          ## @LP5562_CMD_DIRECT
	.comm	_LP5562_CLK_INT,4,2             ## @LP5562_CLK_INT
	.comm	_LP5562_REG_CONFIG,4,2          ## @LP5562_REG_CONFIG
	.comm	_LP5562_REG_R_PWM,4,2           ## @LP5562_REG_R_PWM
	.comm	_LP5562_REG_G_PWM,4,2           ## @LP5562_REG_G_PWM
	.comm	_LP5562_REG_B_PWM,4,2           ## @LP5562_REG_B_PWM
	.comm	_LP5562_REG_W_PWM,4,2           ## @LP5562_REG_W_PWM
	.comm	_LP5562_REG_ENG_SEL,4,2         ## @LP5562_REG_ENG_SEL
	.comm	_LP5562_ENG_SEL_PWM,4,2         ## @LP5562_ENG_SEL_PWM
	.no_dead_strip	_lp5562_post_init_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lp5562_post_init_device
_lp5562_post_init_device:               ; @lp5562_post_init_device
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _LP5562_DEFAULT_CFG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LP5562_DEFAULT_CFG@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _LP5562_REG_OP_MODE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LP5562_REG_OP_MODE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _LP5562_CMD_DIRECT@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LP5562_CMD_DIRECT@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	bl	_lp55xx_write
	cbnz	w0, LBB0_3
; %bb.1:
	bl	_lp5562_wait_opmode_done
	mov	x0, x19
	bl	_lp55xx_is_extclk_used
Lloh9:
	adrp	x8, _LP5562_CLK_INT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LP5562_CLK_INT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	cmp	w0, #0
	csel	w8, w8, wzr, eq
	orr	w2, w8, w20
Lloh12:
	adrp	x8, _LP5562_REG_CONFIG@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LP5562_REG_CONFIG@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_lp55xx_write
	cbnz	w0, LBB0_3
; %bb.2:
Lloh15:
	adrp	x8, _LP5562_REG_R_PWM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _LP5562_REG_R_PWM@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_lp55xx_write
Lloh18:
	adrp	x8, _LP5562_REG_G_PWM@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LP5562_REG_G_PWM@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_lp55xx_write
Lloh21:
	adrp	x8, _LP5562_REG_B_PWM@GOTPAGE
Lloh22:
	ldr	x8, [x8, _LP5562_REG_B_PWM@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_lp55xx_write
Lloh24:
	adrp	x8, _LP5562_REG_W_PWM@GOTPAGE
Lloh25:
	ldr	x8, [x8, _LP5562_REG_W_PWM@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_lp55xx_write
Lloh27:
	adrp	x8, _LP5562_REG_ENG_SEL@GOTPAGE
Lloh28:
	ldr	x8, [x8, _LP5562_REG_ENG_SEL@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _LP5562_ENG_SEL_PWM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _LP5562_ENG_SEL_PWM@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_lp55xx_write
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_LP5562_DEFAULT_CFG,4,2         ; @LP5562_DEFAULT_CFG
	.comm	_LP5562_REG_OP_MODE,4,2         ; @LP5562_REG_OP_MODE
	.comm	_LP5562_CMD_DIRECT,4,2          ; @LP5562_CMD_DIRECT
	.comm	_LP5562_CLK_INT,4,2             ; @LP5562_CLK_INT
	.comm	_LP5562_REG_CONFIG,4,2          ; @LP5562_REG_CONFIG
	.comm	_LP5562_REG_R_PWM,4,2           ; @LP5562_REG_R_PWM
	.comm	_LP5562_REG_G_PWM,4,2           ; @LP5562_REG_G_PWM
	.comm	_LP5562_REG_B_PWM,4,2           ; @LP5562_REG_B_PWM
	.comm	_LP5562_REG_W_PWM,4,2           ; @LP5562_REG_W_PWM
	.comm	_LP5562_REG_ENG_SEL,4,2         ; @LP5562_REG_ENG_SEL
	.comm	_LP5562_ENG_SEL_PWM,4,2         ; @LP5562_ENG_SEL_PWM
	.no_dead_strip	_lp5562_post_init_device
.subsections_via_symbols
