	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drv260x_init
_drv260x_init:                          ## @drv260x_init
	.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	%rdi, %r14
	movl	(%rdi), %edx
	movl	24(%rdi), %edi
	movq	_DRV260X_RATED_VOLT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_2
LBB0_3:
	movl	4(%r14), %edx
	movl	24(%r14), %edi
	movq	_DRV260X_OD_CLAMP_VOLT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str.1(%rip), %rsi
LBB0_2:
	movl	%ebx, %edx
	callq	_dev_err
LBB0_22:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movl	8(%r14), %eax
	cmpl	$129, %eax
	je	LBB0_9
## %bb.6:
	cmpl	$128, %eax
	jne	LBB0_13
## %bb.7:
	movl	24(%r14), %r15d
	movq	_drv260x_lra_cal_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_regmap_register_patch
	testl	%eax, %eax
	je	LBB0_17
## %bb.8:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_2
LBB0_9:
	movl	24(%r14), %r15d
	movq	_drv260x_erm_cal_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_regmap_register_patch
	testl	%eax, %eax
	je	LBB0_11
## %bb.10:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_2
LBB0_13:
	movl	24(%r14), %r15d
	movq	_drv260x_lra_init_regs@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	movl	%r15d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_regmap_register_patch
	testl	%eax, %eax
	je	LBB0_15
## %bb.14:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str.5(%rip), %rsi
	jmp	LBB0_2
LBB0_11:
	movq	_DRV260X_LIB_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRV260X_LIB_SEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	24(%r14), %edi
	movl	28(%r14), %ecx
	callq	_regmap_update_bits
	testl	%eax, %eax
	jne	LBB0_12
LBB0_17:
	movl	24(%r14), %edi
	movq	_DRV260X_GO@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_DRV260X_GO_BIT@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_regmap_write
	testl	%eax, %eax
	je	LBB0_18
## %bb.23:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str.6(%rip), %rsi
	jmp	LBB0_2
LBB0_15:
	movq	_DRV260X_LIB_SEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DRV260X_LIB_SEL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	24(%r14), %edi
	movl	28(%r14), %ecx
	callq	_regmap_update_bits
	testl	%eax, %eax
	je	LBB0_16
LBB0_12:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str.4(%rip), %rsi
	jmp	LBB0_2
LBB0_18:
	leaq	-44(%rbp), %r15
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	24(%r14), %edi
	movl	(%r12), %esi
	movq	%r15, %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_20
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movl	-44(%rbp), %eax
	xorl	%ebx, %ebx
	cmpl	(%r13), %eax
	je	LBB0_19
	jmp	LBB0_22
LBB0_16:
	xorl	%ebx, %ebx
	jmp	LBB0_22
LBB0_20:
	movl	%eax, %ebx
	movq	16(%r14), %rdi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV260X_RATED_VOLT,4,2         ## @DRV260X_RATED_VOLT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to write DRV260X_RATED_VOLT register: %d\n"

	.comm	_DRV260X_OD_CLAMP_VOLT,4,2      ## @DRV260X_OD_CLAMP_VOLT
L_.str.1:                               ## @.str.1
	.asciz	"Failed to write DRV260X_OD_CLAMP_VOLT register: %d\n"

	.comm	_drv260x_lra_cal_regs,4,2       ## @drv260x_lra_cal_regs
L_.str.2:                               ## @.str.2
	.asciz	"Failed to write LRA calibration registers: %d\n"

	.comm	_drv260x_erm_cal_regs,4,2       ## @drv260x_erm_cal_regs
L_.str.3:                               ## @.str.3
	.asciz	"Failed to write ERM calibration registers: %d\n"

	.comm	_DRV260X_LIB_SEL,4,2            ## @DRV260X_LIB_SEL
	.comm	_DRV260X_LIB_SEL_MASK,4,2       ## @DRV260X_LIB_SEL_MASK
L_.str.4:                               ## @.str.4
	.asciz	"Failed to write DRV260X_LIB_SEL register: %d\n"

	.comm	_drv260x_lra_init_regs,4,2      ## @drv260x_lra_init_regs
L_.str.5:                               ## @.str.5
	.asciz	"Failed to write LRA init registers: %d\n"

	.comm	_DRV260X_GO,4,2                 ## @DRV260X_GO
	.comm	_DRV260X_GO_BIT,4,2             ## @DRV260X_GO_BIT
L_.str.6:                               ## @.str.6
	.asciz	"Failed to write GO register: %d\n"

L_.str.7:                               ## @.str.7
	.asciz	"Failed to read GO register: %d\n"

	.no_dead_strip	_drv260x_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drv260x_init
_drv260x_init:                          ; @drv260x_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	w0, [x0, #24]
Lloh0:
	adrp	x8, _DRV260X_RATED_VOLT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DRV260X_RATED_VOLT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x19]
	bl	_regmap_write
	cbz	w0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19, #16]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	w0, [x19, #24]
Lloh5:
	adrp	x8, _DRV260X_OD_CLAMP_VOLT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DRV260X_OD_CLAMP_VOLT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	ldr	w2, [x19, #4]
	bl	_regmap_write
	cbz	w0, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	x0, [x19, #16]
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	mov	x2, x20
	bl	_dev_err
LBB0_5:
	mov	x0, x20
	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
	add	sp, sp, #64
	ret
LBB0_6:
	ldr	w8, [x19, #8]
	cmp	w8, #129
	b.eq	LBB0_10
; %bb.7:
	cmp	w8, #128
	b.ne	LBB0_12
; %bb.8:
	ldr	w20, [x19, #24]
Lloh10:
	adrp	x8, _drv260x_lra_cal_regs@GOTPAGE
Lloh11:
	ldr	x8, [x8, _drv260x_lra_cal_regs@GOTPAGEOFF]
Lloh12:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_regmap_register_patch
	cbz	w0, LBB0_16
; %bb.9:
	mov	x20, x0
	ldr	x0, [x19, #16]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_10:
	ldr	w20, [x19, #24]
Lloh15:
	adrp	x8, _drv260x_erm_cal_regs@GOTPAGE
Lloh16:
	ldr	x8, [x8, _drv260x_erm_cal_regs@GOTPAGEOFF]
Lloh17:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_regmap_register_patch
	cbz	w0, LBB0_14
; %bb.11:
	mov	x20, x0
	ldr	x0, [x19, #16]
Lloh18:
	adrp	x1, l_.str.3@PAGE
Lloh19:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_4
LBB0_12:
	ldr	w20, [x19, #24]
Lloh20:
	adrp	x8, _drv260x_lra_init_regs@GOTPAGE
Lloh21:
	ldr	x8, [x8, _drv260x_lra_init_regs@GOTPAGEOFF]
Lloh22:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_regmap_register_patch
	cbz	w0, LBB0_21
; %bb.13:
	mov	x20, x0
	ldr	x0, [x19, #16]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	b	LBB0_4
LBB0_14:
Lloh25:
	adrp	x8, _DRV260X_LIB_SEL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _DRV260X_LIB_SEL@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
Lloh28:
	adrp	x8, _DRV260X_LIB_SEL_MASK@GOTPAGE
Lloh29:
	ldr	x8, [x8, _DRV260X_LIB_SEL_MASK@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	ldp	w0, w3, [x19, #24]
	bl	_regmap_update_bits
	cbz	w0, LBB0_16
; %bb.15:
	mov	x20, x0
	b	LBB0_22
LBB0_16:
	ldr	w0, [x19, #24]
Lloh31:
	adrp	x21, _DRV260X_GO@GOTPAGE
Lloh32:
	ldr	x21, [x21, _DRV260X_GO@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh33:
	adrp	x22, _DRV260X_GO_BIT@GOTPAGE
Lloh34:
	ldr	x22, [x22, _DRV260X_GO_BIT@GOTPAGEOFF]
	ldr	w2, [x22]
	bl	_regmap_write
	cbz	w0, LBB0_19
; %bb.17:
	mov	x20, x0
	ldr	x0, [x19, #16]
Lloh35:
	adrp	x1, l_.str.6@PAGE
Lloh36:
	add	x1, x1, l_.str.6@PAGEOFF
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x22]
	cmp	w8, w9
	b.ne	LBB0_5
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #24]
	ldr	w1, [x21]
	add	x2, sp, #12
	bl	_regmap_read
	mov	x20, x0
	cbz	w0, LBB0_18
; %bb.20:
	ldr	x0, [x19, #16]
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_4
LBB0_21:
Lloh39:
	adrp	x8, _DRV260X_LIB_SEL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _DRV260X_LIB_SEL@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
Lloh42:
	adrp	x8, _DRV260X_LIB_SEL_MASK@GOTPAGE
Lloh43:
	ldr	x8, [x8, _DRV260X_LIB_SEL_MASK@GOTPAGEOFF]
Lloh44:
	ldr	w2, [x8]
	ldp	w0, w3, [x19, #24]
	bl	_regmap_update_bits
	mov	x20, x0
	cbz	w0, LBB0_5
LBB0_22:
	ldr	x0, [x19, #16]
Lloh45:
	adrp	x1, l_.str.4@PAGE
Lloh46:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh45, Lloh46
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV260X_RATED_VOLT,4,2         ; @DRV260X_RATED_VOLT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to write DRV260X_RATED_VOLT register: %d\n"

	.comm	_DRV260X_OD_CLAMP_VOLT,4,2      ; @DRV260X_OD_CLAMP_VOLT
l_.str.1:                               ; @.str.1
	.asciz	"Failed to write DRV260X_OD_CLAMP_VOLT register: %d\n"

	.comm	_drv260x_lra_cal_regs,4,2       ; @drv260x_lra_cal_regs
l_.str.2:                               ; @.str.2
	.asciz	"Failed to write LRA calibration registers: %d\n"

	.comm	_drv260x_erm_cal_regs,4,2       ; @drv260x_erm_cal_regs
l_.str.3:                               ; @.str.3
	.asciz	"Failed to write ERM calibration registers: %d\n"

	.comm	_DRV260X_LIB_SEL,4,2            ; @DRV260X_LIB_SEL
	.comm	_DRV260X_LIB_SEL_MASK,4,2       ; @DRV260X_LIB_SEL_MASK
l_.str.4:                               ; @.str.4
	.asciz	"Failed to write DRV260X_LIB_SEL register: %d\n"

	.comm	_drv260x_lra_init_regs,4,2      ; @drv260x_lra_init_regs
l_.str.5:                               ; @.str.5
	.asciz	"Failed to write LRA init registers: %d\n"

	.comm	_DRV260X_GO,4,2                 ; @DRV260X_GO
	.comm	_DRV260X_GO_BIT,4,2             ; @DRV260X_GO_BIT
l_.str.6:                               ; @.str.6
	.asciz	"Failed to write GO register: %d\n"

l_.str.7:                               ; @.str.7
	.asciz	"Failed to read GO register: %d\n"

	.no_dead_strip	_drv260x_init
.subsections_via_symbols
