	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function zl6100_read_byte_data
_zl6100_read_byte_data:                 ## @zl6100_read_byte_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
	movl	%edx, %r15d
	movl	%esi, %r12d
	movq	%rdi, %rbx
	callq	_pmbus_get_driver_info
	movq	%rax, %rdi
	callq	_to_zl6100_data
	testl	%r12d, %r12d
	jle	LBB0_2
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_16
LBB0_2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_zl6100_wait
	cmpl	$128, %r15d
	jne	LBB0_13
## %bb.3:
	movq	_PMBUS_STATUS_MFR_SPECIFIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_pmbus_read_byte_data
	movl	%eax, %ebx
	testl	%eax, %eax
	js	LBB0_15
## %bb.4:
	movq	_VMON_UV_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	andl	%ebx, %ecx
	je	LBB0_6
## %bb.5:
	movq	_PB_VOLTAGE_UV_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_6:
	movq	_VMON_OV_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%ebx, %eax
	je	LBB0_8
## %bb.7:
	movq	_PB_VOLTAGE_OV_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_8:
	movq	_VMON_UV_FAULT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%ebx, %edx
	je	LBB0_10
## %bb.9:
	movq	_PB_VOLTAGE_UV_FAULT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_10:
	orl	%ecx, %eax
	movq	_VMON_OV_FAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%ebx, %ecx
	je	LBB0_12
## %bb.11:
	movq	_PB_VOLTAGE_OV_FAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_12:
	orl	%ecx, %edx
	orl	%edx, %eax
	jmp	LBB0_14
LBB0_13:
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r15d, %edx
	callq	_pmbus_read_byte_data
LBB0_14:
	movl	%eax, %ebx
LBB0_15:
	xorl	%eax, %eax
	callq	_ktime_get
	movl	%eax, (%r14)
LBB0_16:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_PMBUS_STATUS_MFR_SPECIFIC,4,2  ## @PMBUS_STATUS_MFR_SPECIFIC
	.comm	_VMON_UV_WARNING,4,2            ## @VMON_UV_WARNING
	.comm	_PB_VOLTAGE_UV_WARNING,4,2      ## @PB_VOLTAGE_UV_WARNING
	.comm	_VMON_OV_WARNING,4,2            ## @VMON_OV_WARNING
	.comm	_PB_VOLTAGE_OV_WARNING,4,2      ## @PB_VOLTAGE_OV_WARNING
	.comm	_VMON_UV_FAULT,4,2              ## @VMON_UV_FAULT
	.comm	_PB_VOLTAGE_UV_FAULT,4,2        ## @PB_VOLTAGE_UV_FAULT
	.comm	_VMON_OV_FAULT,4,2              ## @VMON_OV_FAULT
	.comm	_PB_VOLTAGE_OV_FAULT,4,2        ## @PB_VOLTAGE_OV_FAULT
	.no_dead_strip	_zl6100_read_byte_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_byte_data
_zl6100_read_byte_data:                 ; @zl6100_read_byte_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	x21, x2
	mov	x22, x1
	mov	x20, x0
	bl	_pmbus_get_driver_info
	bl	_to_zl6100_data
	cmp	w22, #1
	b.lt	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_7
LBB0_2:
	mov	x19, x0
	bl	_zl6100_wait
	cmp	w21, #128
	b.ne	LBB0_5
; %bb.3:
Lloh3:
	adrp	x8, _PMBUS_STATUS_MFR_SPECIFIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PMBUS_STATUS_MFR_SPECIFIC@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_pmbus_read_byte_data
	mov	x20, x0
	tbnz	w0, #31, LBB0_6
; %bb.4:
Lloh6:
	adrp	x8, _VMON_UV_WARNING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VMON_UV_WARNING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _PB_VOLTAGE_UV_WARNING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _PB_VOLTAGE_UV_WARNING@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w8, w20
	csel	w8, wzr, w9, eq
Lloh12:
	adrp	x9, _VMON_OV_WARNING@GOTPAGE
Lloh13:
	ldr	x9, [x9, _VMON_OV_WARNING@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _PB_VOLTAGE_OV_WARNING@GOTPAGE
Lloh16:
	ldr	x10, [x10, _PB_VOLTAGE_OV_WARNING@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	orr	w8, w9, w8
Lloh18:
	adrp	x9, _VMON_UV_FAULT@GOTPAGE
Lloh19:
	ldr	x9, [x9, _VMON_UV_FAULT@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
Lloh21:
	adrp	x10, _PB_VOLTAGE_UV_FAULT@GOTPAGE
Lloh22:
	ldr	x10, [x10, _PB_VOLTAGE_UV_FAULT@GOTPAGEOFF]
Lloh23:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh24:
	adrp	x9, _VMON_OV_FAULT@GOTPAGE
Lloh25:
	ldr	x9, [x9, _VMON_OV_FAULT@GOTPAGEOFF]
Lloh26:
	ldr	w9, [x9]
Lloh27:
	adrp	x10, _PB_VOLTAGE_OV_FAULT@GOTPAGE
Lloh28:
	ldr	x10, [x10, _PB_VOLTAGE_OV_FAULT@GOTPAGEOFF]
Lloh29:
	ldr	w10, [x10]
	tst	w9, w20
	csel	w9, wzr, w10, eq
	orr	w20, w8, w9
	b	LBB0_6
LBB0_5:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_pmbus_read_byte_data
	mov	x20, x0
LBB0_6:
	bl	_ktime_get
	str	w0, [x19]
LBB0_7:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.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
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_PMBUS_STATUS_MFR_SPECIFIC,4,2  ; @PMBUS_STATUS_MFR_SPECIFIC
	.comm	_VMON_UV_WARNING,4,2            ; @VMON_UV_WARNING
	.comm	_PB_VOLTAGE_UV_WARNING,4,2      ; @PB_VOLTAGE_UV_WARNING
	.comm	_VMON_OV_WARNING,4,2            ; @VMON_OV_WARNING
	.comm	_PB_VOLTAGE_OV_WARNING,4,2      ; @PB_VOLTAGE_OV_WARNING
	.comm	_VMON_UV_FAULT,4,2              ; @VMON_UV_FAULT
	.comm	_PB_VOLTAGE_UV_FAULT,4,2        ; @PB_VOLTAGE_UV_FAULT
	.comm	_VMON_OV_FAULT,4,2              ; @VMON_OV_FAULT
	.comm	_PB_VOLTAGE_OV_FAULT,4,2        ; @PB_VOLTAGE_OV_FAULT
	.no_dead_strip	_zl6100_read_byte_data
.subsections_via_symbols
