	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function lm25066_write_word_data
_lm25066_write_word_data:               ## @lm25066_write_word_data
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %ebx
	movq	%rdi, %r14
	callq	_pmbus_get_driver_info
	movq	%rax, %rdi
	callq	_to_lm25066_data
	movq	%rax, %r15
	leal	-128(%rbx), %eax
	cmpl	$15, %eax
	ja	LBB0_26
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_2:
	testl	$-2147483648, %r12d             ## imm = 0x80000000
	jne	LBB0_3
## %bb.4:
	movl	(%r15), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_clamp_val
	movq	%rax, %rcx
	jmp	LBB0_5
LBB0_3:
	xorl	%ecx, %ecx
LBB0_5:
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	jmp	LBB0_6
LBB0_16:
	imull	$6140, %r12d, %edi              ## imm = 0x17FC
	movl	$293, %esi                      ## imm = 0x125
	callq	_DIV_ROUND_CLOSEST
	testl	$-2147483648, %eax              ## imm = 0x80000000
	jne	LBB0_17
## %bb.18:
	movl	(%r15), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_clamp_val
	movq	%rax, %rcx
	movq	_LM25056_VAUX_UV_WARN_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_20:
	imull	$6140, %r12d, %edi              ## imm = 0x17FC
	movl	$293, %esi                      ## imm = 0x125
	callq	_DIV_ROUND_CLOSEST
	testl	$-2147483648, %eax              ## imm = 0x80000000
	jne	LBB0_21
## %bb.22:
	movl	(%r15), %edx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_clamp_val
	movq	%rax, %rcx
	movq	_LM25056_VAUX_OV_WARN_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_25:
	movq	_LM25066_SAMPLES_FOR_AVG_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_clamp_val
	movq	_LM25066_SAMPLES_FOR_AVG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	movq	%rax, %rdi
	callq	_ilog2
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	movl	%eax, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pmbus_write_byte_data          ## TAILCALL
LBB0_24:
	movq	_LM25066_CLEAR_PIN_PEAK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pmbus_write_byte               ## TAILCALL
LBB0_12:
	testl	$-2147483648, %r12d             ## imm = 0x80000000
	jne	LBB0_13
## %bb.14:
	movl	(%r15), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_clamp_val
	movq	%rax, %rcx
	movq	_LM25066_MFR_PIN_OP_WARN_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_7:
	testl	$-2147483648, %r12d             ## imm = 0x80000000
	jne	LBB0_8
## %bb.9:
	movl	(%r15), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_clamp_val
	movq	%rax, %rcx
	jmp	LBB0_10
LBB0_26:
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_27
LBB0_17:
	xorl	%ecx, %ecx
	movq	_LM25056_VAUX_UV_WARN_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_21:
	xorl	%ecx, %ecx
	movq	_LM25056_VAUX_OV_WARN_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_13:
	xorl	%ecx, %ecx
	movq	_LM25066_MFR_PIN_OP_WARN_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_11
LBB0_8:
	xorl	%ecx, %ecx
LBB0_10:
	movq	_LM25066_MFR_IIN_OC_WARN_LIMIT@GOTPCREL(%rip), %rax
LBB0_11:
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
LBB0_6:
	callq	_pmbus_write_word_data
	movl	%eax, %ebx
	movq	%r14, %rdi
	callq	_pmbus_clear_cache
	movl	%ebx, %eax
LBB0_27:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_16
	.long	L0_0_set_20
	.long	L0_0_set_25
	.long	L0_0_set_24
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_12
	.long	L0_0_set_2
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_LM25066_MFR_IIN_OC_WARN_LIMIT,4,2 ## @LM25066_MFR_IIN_OC_WARN_LIMIT
	.comm	_LM25066_MFR_PIN_OP_WARN_LIMIT,4,2 ## @LM25066_MFR_PIN_OP_WARN_LIMIT
	.comm	_LM25056_VAUX_UV_WARN_LIMIT,4,2 ## @LM25056_VAUX_UV_WARN_LIMIT
	.comm	_LM25056_VAUX_OV_WARN_LIMIT,4,2 ## @LM25056_VAUX_OV_WARN_LIMIT
	.comm	_LM25066_CLEAR_PIN_PEAK,4,2     ## @LM25066_CLEAR_PIN_PEAK
	.comm	_LM25066_SAMPLES_FOR_AVG_MAX,4,2 ## @LM25066_SAMPLES_FOR_AVG_MAX
	.comm	_LM25066_SAMPLES_FOR_AVG,4,2    ## @LM25066_SAMPLES_FOR_AVG
	.comm	_ENODATA,4,2                    ## @ENODATA
	.no_dead_strip	_lm25066_write_word_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function lm25066_write_word_data
_lm25066_write_word_data:               ; @lm25066_write_word_data
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x3
	mov	x22, x2
	mov	x19, x0
	bl	_pmbus_get_driver_info
	bl	_to_lm25066_data
	sub	w8, w22, #128
	cmp	w8, #15
	b.hi	LBB0_16
; %bb.1:
	mov	x21, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	tbnz	w20, #31, LBB0_4
; %bb.3:
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	bl	_clamp_val
	mov	x3, x0
	b	LBB0_5
LBB0_4:
	mov	x3, #0
LBB0_5:
	mov	x0, x19
	mov	w1, #0
	mov	x2, x22
	b	LBB0_26
LBB0_6:
	mov	w8, #6140
	mul	w0, w20, w8
	mov	w1, #293
	bl	_DIV_ROUND_CLOSEST
	tbnz	w0, #31, LBB0_17
; %bb.7:
	ldr	w2, [x21]
	mov	w1, #0
	bl	_clamp_val
	mov	x3, x0
	b	LBB0_18
LBB0_8:
	mov	w8, #6140
	mul	w0, w20, w8
	mov	w1, #293
	bl	_DIV_ROUND_CLOSEST
	tbnz	w0, #31, LBB0_19
; %bb.9:
	ldr	w2, [x21]
	mov	w1, #0
	bl	_clamp_val
	mov	x3, x0
	b	LBB0_20
LBB0_10:
Lloh2:
	adrp	x8, _LM25066_SAMPLES_FOR_AVG_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _LM25066_SAMPLES_FOR_AVG_MAX@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #1
	bl	_clamp_val
Lloh5:
	adrp	x8, _LM25066_SAMPLES_FOR_AVG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LM25066_SAMPLES_FOR_AVG@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
	bl	_ilog2
	mov	x3, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pmbus_write_byte_data
LBB0_11:
Lloh8:
	adrp	x8, _LM25066_CLEAR_PIN_PEAK@GOTPAGE
Lloh9:
	ldr	x8, [x8, _LM25066_CLEAR_PIN_PEAK@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_pmbus_write_byte
LBB0_12:
	tbnz	w20, #31, LBB0_21
; %bb.13:
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	bl	_clamp_val
	mov	x3, x0
	b	LBB0_22
LBB0_14:
	tbnz	w20, #31, LBB0_23
; %bb.15:
	ldr	w2, [x21]
	mov	x0, x20
	mov	w1, #0
	bl	_clamp_val
	mov	x3, x0
	b	LBB0_24
LBB0_16:
Lloh11:
	adrp	x8, _ENODATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_27
LBB0_17:
	mov	x3, #0
LBB0_18:
Lloh14:
	adrp	x8, _LM25056_VAUX_UV_WARN_LIMIT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LM25056_VAUX_UV_WARN_LIMIT@GOTPAGEOFF]
	b	LBB0_25
LBB0_19:
	mov	x3, #0
LBB0_20:
Lloh16:
	adrp	x8, _LM25056_VAUX_OV_WARN_LIMIT@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LM25056_VAUX_OV_WARN_LIMIT@GOTPAGEOFF]
	b	LBB0_25
LBB0_21:
	mov	x3, #0
LBB0_22:
Lloh18:
	adrp	x8, _LM25066_MFR_PIN_OP_WARN_LIMIT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LM25066_MFR_PIN_OP_WARN_LIMIT@GOTPAGEOFF]
	b	LBB0_25
LBB0_23:
	mov	x3, #0
LBB0_24:
Lloh20:
	adrp	x8, _LM25066_MFR_IIN_OC_WARN_LIMIT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _LM25066_MFR_IIN_OC_WARN_LIMIT@GOTPAGEOFF]
LBB0_25:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #0
LBB0_26:
	bl	_pmbus_write_word_data
	mov	x20, x0
	mov	x0, x19
	bl	_pmbus_clear_cache
	mov	x0, x20
LBB0_27:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_14-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_LM25066_MFR_IIN_OC_WARN_LIMIT,4,2 ; @LM25066_MFR_IIN_OC_WARN_LIMIT
	.comm	_LM25066_MFR_PIN_OP_WARN_LIMIT,4,2 ; @LM25066_MFR_PIN_OP_WARN_LIMIT
	.comm	_LM25056_VAUX_UV_WARN_LIMIT,4,2 ; @LM25056_VAUX_UV_WARN_LIMIT
	.comm	_LM25056_VAUX_OV_WARN_LIMIT,4,2 ; @LM25056_VAUX_OV_WARN_LIMIT
	.comm	_LM25066_CLEAR_PIN_PEAK,4,2     ; @LM25066_CLEAR_PIN_PEAK
	.comm	_LM25066_SAMPLES_FOR_AVG_MAX,4,2 ; @LM25066_SAMPLES_FOR_AVG_MAX
	.comm	_LM25066_SAMPLES_FOR_AVG,4,2    ; @LM25066_SAMPLES_FOR_AVG
	.comm	_ENODATA,4,2                    ; @ENODATA
	.no_dead_strip	_lm25066_write_word_data
.subsections_via_symbols
