	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zl6100_read_word_data
_zl6100_read_word_data:                 ## @zl6100_read_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	%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
	movl	%edx, %r14d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_pmbus_get_driver_info
	movq	%rax, %rdi
	callq	_to_zl6100_data
	testl	%r12d, %r12d
	jle	LBB0_3
LBB0_1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	%rax, %r15
	movq	(%rax), %rax
	movq	_zl2005@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	leal	-128(%r14), %eax
	cmpl	$7, %eax
	ja	LBB0_11
## %bb.5:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	leal	-130(%r14), %eax
	cmpl	$2, %eax
	jb	LBB0_10
## %bb.7:
	leal	-132(%r14), %eax
	cmpl	$2, %eax
	jae	LBB0_8
LBB0_12:
	movq	_MFR_VMON_OV_FAULT_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_10:
	movq	_MFR_VMON_UV_FAULT_LIMIT@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_8:
	cmpl	$134, %r14d
	jne	LBB0_11
LBB0_9:
	movq	_MFR_READ_VMON@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %r13d
LBB0_14:
	movq	%r15, %rdi
	callq	_zl6100_wait
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_pmbus_read_word_data
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_ktime_get
	movl	%eax, 8(%r15)
	testl	%ebx, %ebx
	js	LBB0_2
## %bb.15:
	cmpl	$130, %r14d
	je	LBB0_19
## %bb.16:
	cmpl	$132, %r14d
	jne	LBB0_2
## %bb.17:
	movl	%ebx, %edi
	callq	_zl6100_l2d
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,8), %edi
	jmp	LBB0_18
LBB0_19:
	movl	%ebx, %edi
	callq	_zl6100_l2d
                                        ## kill: def $eax killed $eax def $rax
	leal	(%rax,%rax,4), %ecx
	leal	(%rax,%rcx,2), %edi
LBB0_18:
	movl	$10, %esi
	callq	_DIV_ROUND_CLOSEST
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_zl6100_d2l                     ## TAILCALL
LBB0_11:
	movq	_PMBUS_VIRT_BASE@GOTPCREL(%rip), %rax
	movl	%r14d, %r13d
	cmpl	%r14d, (%rax)
	jle	LBB0_1
	jmp	LBB0_14
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_1
	.long	L0_0_set_1
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_12
	.long	L0_0_set_12
	.long	L0_0_set_9
	.long	L0_0_set_1
	.end_data_region
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_zl2005,8,3                     ## @zl2005
	.comm	_MFR_READ_VMON,4,2              ## @MFR_READ_VMON
	.comm	_MFR_VMON_OV_FAULT_LIMIT,4,2    ## @MFR_VMON_OV_FAULT_LIMIT
	.comm	_MFR_VMON_UV_FAULT_LIMIT,4,2    ## @MFR_VMON_UV_FAULT_LIMIT
	.comm	_PMBUS_VIRT_BASE,4,2            ## @PMBUS_VIRT_BASE
	.no_dead_strip	_zl6100_read_word_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function zl6100_read_word_data
_zl6100_read_word_data:                 ; @zl6100_read_word_data
	.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, x2
	mov	x20, x1
	mov	x22, x0
	bl	_pmbus_get_driver_info
	bl	_to_zl6100_data
	cmp	w20, #1
	b.lt	LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_2:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x21, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _zl2005@GOTPAGE
Lloh4:
	ldr	x9, [x9, _zl2005@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.4:
	sub	w8, w19, #128
	cmp	w8, #7
	b.hi	LBB0_19
; %bb.5:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_1
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_6:
	sub	w8, w19, #130
	cmp	w8, #2
	b.lo	LBB0_9
; %bb.7:
	sub	w8, w19, #132
	cmp	w8, #2
	b.hs	LBB0_10
LBB0_8:
Lloh8:
	adrp	x8, _MFR_VMON_OV_FAULT_LIMIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MFR_VMON_OV_FAULT_LIMIT@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
Lloh10:
	adrp	x8, _MFR_VMON_UV_FAULT_LIMIT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _MFR_VMON_UV_FAULT_LIMIT@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	cmp	w19, #134
	b.ne	LBB0_19
LBB0_11:
Lloh12:
	adrp	x8, _MFR_READ_VMON@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MFR_READ_VMON@GOTPAGEOFF]
LBB0_12:
	ldr	w23, [x8]
LBB0_13:
	mov	x0, x21
	bl	_zl6100_wait
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	bl	_pmbus_read_word_data
	mov	x20, x0
	bl	_ktime_get
	str	w0, [x21, #8]
	tbnz	w20, #31, LBB0_2
; %bb.14:
	cmp	w19, #130
	b.eq	LBB0_17
; %bb.15:
	cmp	w19, #132
	b.ne	LBB0_2
; %bb.16:
	mov	x0, x20
	bl	_zl6100_l2d
	add	w0, w0, w0, lsl #3
	b	LBB0_18
LBB0_17:
	mov	x0, x20
	bl	_zl6100_l2d
	mov	w8, #11
	mul	w0, w0, w8
LBB0_18:
	mov	w1, #10
	bl	_DIV_ROUND_CLOSEST
	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
	b	_zl6100_d2l
LBB0_19:
Lloh14:
	adrp	x8, _PMBUS_VIRT_BASE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _PMBUS_VIRT_BASE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	mov	x23, x19
	cmp	w8, w19
	b.le	LBB0_1
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_9-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_11-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_zl2005,8,3                     ; @zl2005
	.comm	_MFR_READ_VMON,4,2              ; @MFR_READ_VMON
	.comm	_MFR_VMON_OV_FAULT_LIMIT,4,2    ; @MFR_VMON_OV_FAULT_LIMIT
	.comm	_MFR_VMON_UV_FAULT_LIMIT,4,2    ; @MFR_VMON_UV_FAULT_LIMIT
	.comm	_PMBUS_VIRT_BASE,4,2            ; @PMBUS_VIRT_BASE
	.no_dead_strip	_zl6100_read_word_data
.subsections_via_symbols
