	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lp3952_configure
_lp3952_configure:                      ## @lp3952_configure
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %edi
	movq	_LP3952_REG_LED_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_lp3952_register_write
	testl	%eax, %eax
	jne	LBB0_4
## %bb.1:
	movl	(%rbx), %edi
	movq	_LP3952_REG_PAT_GEN_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LP3952_PATRN_LOOP@GOTPCREL(%rip), %rax
	movq	_LP3952_PATRN_GEN_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_lp3952_register_write
	testl	%eax, %eax
	jne	LBB0_4
## %bb.2:
	movl	(%rbx), %edi
	movq	_LP3952_REG_ENABLES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LP3952_ACTIVE_MODE@GOTPCREL(%rip), %rax
	movq	_LP3952_INT_B00ST_LDR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_lp3952_register_write
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movq	_I46@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_I71@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_I100@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_TT0@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_CET197@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_lp3952_set_pattern_gen_cmd
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LP3952_REG_LED_CTRL,4,2        ## @LP3952_REG_LED_CTRL
	.comm	_LP3952_REG_PAT_GEN_CTRL,4,2    ## @LP3952_REG_PAT_GEN_CTRL
	.comm	_LP3952_PATRN_LOOP,4,2          ## @LP3952_PATRN_LOOP
	.comm	_LP3952_PATRN_GEN_EN,4,2        ## @LP3952_PATRN_GEN_EN
	.comm	_LP3952_REG_ENABLES,4,2         ## @LP3952_REG_ENABLES
	.comm	_LP3952_ACTIVE_MODE,4,2         ## @LP3952_ACTIVE_MODE
	.comm	_LP3952_INT_B00ST_LDR,4,2       ## @LP3952_INT_B00ST_LDR
	.comm	_I46,4,2                        ## @I46
	.comm	_I71,4,2                        ## @I71
	.comm	_I100,4,2                       ## @I100
	.comm	_TT0,4,2                        ## @TT0
	.comm	_CET197,4,2                     ## @CET197
	.no_dead_strip	_lp3952_configure
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lp3952_configure
_lp3952_configure:                      ; @lp3952_configure
	.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
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _LP3952_REG_LED_CTRL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LP3952_REG_LED_CTRL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w2, #0
	bl	_lp3952_register_write
	cbnz	w0, LBB0_3
; %bb.1:
	ldr	w0, [x19]
Lloh3:
	adrp	x8, _LP3952_REG_PAT_GEN_CTRL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LP3952_REG_PAT_GEN_CTRL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _LP3952_PATRN_LOOP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _LP3952_PATRN_LOOP@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	ldr	w8, [x9]
Lloh9:
	adrp	x9, _LP3952_PATRN_GEN_EN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _LP3952_PATRN_GEN_EN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_lp3952_register_write
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _LP3952_REG_ENABLES@GOTPAGE
Lloh13:
	ldr	x8, [x8, _LP3952_REG_ENABLES@GOTPAGEOFF]
Lloh14:
	adrp	x9, _LP3952_ACTIVE_MODE@GOTPAGE
Lloh15:
	ldr	x9, [x9, _LP3952_ACTIVE_MODE@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
Lloh17:
	ldr	w8, [x9]
Lloh18:
	adrp	x9, _LP3952_INT_B00ST_LDR@GOTPAGE
Lloh19:
	ldr	x9, [x9, _LP3952_INT_B00ST_LDR@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	orr	w2, w9, w8
	bl	_lp3952_register_write
	cbz	w0, LBB0_4
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
Lloh21:
	adrp	x8, _I46@GOTPAGE
Lloh22:
	ldr	x8, [x8, _I46@GOTPAGEOFF]
Lloh23:
	adrp	x9, _I71@GOTPAGE
Lloh24:
	ldr	x9, [x9, _I71@GOTPAGEOFF]
Lloh25:
	ldr	w2, [x8]
Lloh26:
	ldr	w3, [x9]
Lloh27:
	adrp	x8, _I100@GOTPAGE
Lloh28:
	ldr	x8, [x8, _I100@GOTPAGEOFF]
Lloh29:
	adrp	x9, _TT0@GOTPAGE
Lloh30:
	ldr	x9, [x9, _TT0@GOTPAGEOFF]
Lloh31:
	ldr	w4, [x8]
Lloh32:
	ldr	w5, [x9]
Lloh33:
	adrp	x8, _CET197@GOTPAGE
Lloh34:
	ldr	x8, [x8, _CET197@GOTPAGEOFF]
Lloh35:
	ldr	w6, [x8]
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_lp3952_set_pattern_gen_cmd
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh31
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_LP3952_REG_LED_CTRL,4,2        ; @LP3952_REG_LED_CTRL
	.comm	_LP3952_REG_PAT_GEN_CTRL,4,2    ; @LP3952_REG_PAT_GEN_CTRL
	.comm	_LP3952_PATRN_LOOP,4,2          ; @LP3952_PATRN_LOOP
	.comm	_LP3952_PATRN_GEN_EN,4,2        ; @LP3952_PATRN_GEN_EN
	.comm	_LP3952_REG_ENABLES,4,2         ; @LP3952_REG_ENABLES
	.comm	_LP3952_ACTIVE_MODE,4,2         ; @LP3952_ACTIVE_MODE
	.comm	_LP3952_INT_B00ST_LDR,4,2       ; @LP3952_INT_B00ST_LDR
	.comm	_I46,4,2                        ; @I46
	.comm	_I71,4,2                        ; @I71
	.comm	_I100,4,2                       ; @I100
	.comm	_TT0,4,2                        ; @TT0
	.comm	_CET197,4,2                     ; @CET197
	.no_dead_strip	_lp3952_configure
.subsections_via_symbols
