	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max8688_read_byte_data
_max8688_read_byte_data:                ## @max8688_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
	testl	%esi, %esi
	jle	LBB0_4
## %bb.1:
	movq	_ENXIO@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_3:
	popq	%rbp
	retq
LBB0_4:
	cmpl	$130, %edx
	je	LBB0_16
## %bb.5:
	cmpl	$129, %edx
	je	LBB0_23
## %bb.6:
	cmpl	$128, %edx
	jne	LBB0_29
## %bb.7:
	movq	_MAX8688_MFG_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_pmbus_read_word_data
	testl	%eax, %eax
	js	LBB0_3
## %bb.8:
	movq	_MAX8688_STATUS_UV_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	je	LBB0_10
## %bb.9:
	movq	_PB_VOLTAGE_UV_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
LBB0_10:
	movq	_MAX8688_STATUS_UV_FAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_12
## %bb.11:
	movq	_PB_VOLTAGE_UV_FAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_12:
	orl	%edx, %ecx
	movq	_MAX8688_STATUS_OV_WARNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_14
## %bb.13:
	movq	_PB_VOLTAGE_OV_WARNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_14:
	orl	%edx, %ecx
	movq	_MAX8688_STATUS_OV_FAULT@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_30
## %bb.15:
	movq	_PB_VOLTAGE_OV_FAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_28
LBB0_16:
	movq	_MAX8688_MFG_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_pmbus_read_word_data
	testl	%eax, %eax
	js	LBB0_3
## %bb.17:
	movq	_MAX8688_STATUS_UC_FAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_19
## %bb.18:
	movq	_PB_IOUT_UC_FAULT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_19:
	movq	_MAX8688_STATUS_OC_WARNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	%eax, %edx
	je	LBB0_21
## %bb.20:
	movq	_PB_IOUT_OC_WARNING@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_21:
	orl	%ecx, %edx
	movq	_MAX8688_STATUS_OC_FAULT@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_31
## %bb.22:
	movq	_PB_IOUT_OC_FAULT@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
LBB0_31:
	movl	%edx, %eax
	popq	%rbp
	retq
LBB0_23:
	movq	_MAX8688_MFG_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_pmbus_read_word_data
	testl	%eax, %eax
	js	LBB0_3
## %bb.24:
	movq	_MAX8688_STATUS_OT_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	je	LBB0_26
## %bb.25:
	movq	_PB_TEMP_OT_WARNING@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_26:
	movq	_MAX8688_STATUS_OT_FAULT@GOTPCREL(%rip), %rdx
	testl	%eax, (%rdx)
	je	LBB0_30
## %bb.27:
	movq	_PB_TEMP_OT_FAULT@GOTPCREL(%rip), %rax
LBB0_28:
	orl	(%rax), %ecx
LBB0_30:
	movl	%ecx, %eax
	popq	%rbp
	retq
LBB0_29:
	movq	_ENODATA@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_MAX8688_MFG_STATUS,4,2         ## @MAX8688_MFG_STATUS
	.comm	_MAX8688_STATUS_UV_WARNING,4,2  ## @MAX8688_STATUS_UV_WARNING
	.comm	_PB_VOLTAGE_UV_WARNING,4,2      ## @PB_VOLTAGE_UV_WARNING
	.comm	_MAX8688_STATUS_UV_FAULT,4,2    ## @MAX8688_STATUS_UV_FAULT
	.comm	_PB_VOLTAGE_UV_FAULT,4,2        ## @PB_VOLTAGE_UV_FAULT
	.comm	_MAX8688_STATUS_OV_WARNING,4,2  ## @MAX8688_STATUS_OV_WARNING
	.comm	_PB_VOLTAGE_OV_WARNING,4,2      ## @PB_VOLTAGE_OV_WARNING
	.comm	_MAX8688_STATUS_OV_FAULT,4,2    ## @MAX8688_STATUS_OV_FAULT
	.comm	_PB_VOLTAGE_OV_FAULT,4,2        ## @PB_VOLTAGE_OV_FAULT
	.comm	_MAX8688_STATUS_UC_FAULT,4,2    ## @MAX8688_STATUS_UC_FAULT
	.comm	_PB_IOUT_UC_FAULT,4,2           ## @PB_IOUT_UC_FAULT
	.comm	_MAX8688_STATUS_OC_WARNING,4,2  ## @MAX8688_STATUS_OC_WARNING
	.comm	_PB_IOUT_OC_WARNING,4,2         ## @PB_IOUT_OC_WARNING
	.comm	_MAX8688_STATUS_OC_FAULT,4,2    ## @MAX8688_STATUS_OC_FAULT
	.comm	_PB_IOUT_OC_FAULT,4,2           ## @PB_IOUT_OC_FAULT
	.comm	_MAX8688_STATUS_OT_WARNING,4,2  ## @MAX8688_STATUS_OT_WARNING
	.comm	_PB_TEMP_OT_WARNING,4,2         ## @PB_TEMP_OT_WARNING
	.comm	_MAX8688_STATUS_OT_FAULT,4,2    ## @MAX8688_STATUS_OT_FAULT
	.comm	_PB_TEMP_OT_FAULT,4,2           ## @PB_TEMP_OT_FAULT
	.comm	_ENODATA,4,2                    ## @ENODATA
	.no_dead_strip	_max8688_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 max8688_read_byte_data
_max8688_read_byte_data:                ; @max8688_read_byte_data
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	cmp	w1, #1
	b.lt	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _ENXIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_4:
	cmp	w2, #130
	b.eq	LBB0_10
; %bb.5:
	cmp	w2, #129
	b.eq	LBB0_13
; %bb.6:
	cmp	w2, #128
	b.ne	LBB0_17
; %bb.7:
Lloh2:
	adrp	x8, _MAX8688_MFG_STATUS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MAX8688_MFG_STATUS@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_pmbus_read_word_data
	tbnz	w0, #31, LBB0_3
; %bb.8:
Lloh5:
	adrp	x8, _MAX8688_STATUS_UV_WARNING@GOTPAGE
Lloh6:
	ldr	x8, [x8, _MAX8688_STATUS_UV_WARNING@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _PB_VOLTAGE_UV_WARNING@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PB_VOLTAGE_UV_WARNING@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh11:
	adrp	x9, _MAX8688_STATUS_UV_FAULT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _MAX8688_STATUS_UV_FAULT@GOTPAGEOFF]
Lloh13:
	adrp	x10, _PB_VOLTAGE_UV_FAULT@GOTPAGE
Lloh14:
	ldr	x10, [x10, _PB_VOLTAGE_UV_FAULT@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
Lloh16:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
Lloh17:
	adrp	x10, _MAX8688_STATUS_OV_WARNING@GOTPAGE
Lloh18:
	ldr	x10, [x10, _MAX8688_STATUS_OV_WARNING@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh19:
	ldr	w9, [x10]
Lloh20:
	adrp	x10, _PB_VOLTAGE_OV_WARNING@GOTPAGE
Lloh21:
	ldr	x10, [x10, _PB_VOLTAGE_OV_WARNING@GOTPAGEOFF]
Lloh22:
	ldr	w10, [x10]
	tst	w9, w0
	csel	w9, wzr, w10, eq
	orr	w8, w8, w9
Lloh23:
	adrp	x9, _MAX8688_STATUS_OV_FAULT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _MAX8688_STATUS_OV_FAULT@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_18
; %bb.9:
Lloh26:
	adrp	x9, _PB_VOLTAGE_OV_FAULT@GOTPAGE
Lloh27:
	ldr	x9, [x9, _PB_VOLTAGE_OV_FAULT@GOTPAGEOFF]
	b	LBB0_16
LBB0_10:
Lloh28:
	adrp	x8, _MAX8688_MFG_STATUS@GOTPAGE
Lloh29:
	ldr	x8, [x8, _MAX8688_MFG_STATUS@GOTPAGEOFF]
Lloh30:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_pmbus_read_word_data
	tbnz	w0, #31, LBB0_3
; %bb.11:
Lloh31:
	adrp	x8, _MAX8688_STATUS_UC_FAULT@GOTPAGE
Lloh32:
	ldr	x8, [x8, _MAX8688_STATUS_UC_FAULT@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	adrp	x9, _PB_IOUT_UC_FAULT@GOTPAGE
Lloh35:
	ldr	x9, [x9, _PB_IOUT_UC_FAULT@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	tst	w8, w0
Lloh37:
	adrp	x8, _MAX8688_STATUS_OC_WARNING@GOTPAGE
Lloh38:
	ldr	x8, [x8, _MAX8688_STATUS_OC_WARNING@GOTPAGEOFF]
	csel	w9, wzr, w9, eq
Lloh39:
	ldr	w8, [x8]
Lloh40:
	adrp	x10, _PB_IOUT_OC_WARNING@GOTPAGE
Lloh41:
	ldr	x10, [x10, _PB_IOUT_OC_WARNING@GOTPAGEOFF]
Lloh42:
	ldr	w10, [x10]
	tst	w8, w0
	csel	w8, wzr, w10, eq
	orr	w8, w8, w9
Lloh43:
	adrp	x9, _MAX8688_STATUS_OC_FAULT@GOTPAGE
Lloh44:
	ldr	x9, [x9, _MAX8688_STATUS_OC_FAULT@GOTPAGEOFF]
Lloh45:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_18
; %bb.12:
Lloh46:
	adrp	x9, _PB_IOUT_OC_FAULT@GOTPAGE
Lloh47:
	ldr	x9, [x9, _PB_IOUT_OC_FAULT@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:
Lloh48:
	adrp	x8, _MAX8688_MFG_STATUS@GOTPAGE
Lloh49:
	ldr	x8, [x8, _MAX8688_MFG_STATUS@GOTPAGEOFF]
Lloh50:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_pmbus_read_word_data
	tbnz	w0, #31, LBB0_3
; %bb.14:
Lloh51:
	adrp	x8, _MAX8688_STATUS_OT_WARNING@GOTPAGE
Lloh52:
	ldr	x8, [x8, _MAX8688_STATUS_OT_WARNING@GOTPAGEOFF]
Lloh53:
	ldr	w8, [x8]
Lloh54:
	adrp	x9, _PB_TEMP_OT_WARNING@GOTPAGE
Lloh55:
	ldr	x9, [x9, _PB_TEMP_OT_WARNING@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w8, w0
	csel	w8, wzr, w9, eq
Lloh57:
	adrp	x9, _MAX8688_STATUS_OT_FAULT@GOTPAGE
Lloh58:
	ldr	x9, [x9, _MAX8688_STATUS_OT_FAULT@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w0
	b.eq	LBB0_18
; %bb.15:
Lloh60:
	adrp	x9, _PB_TEMP_OT_FAULT@GOTPAGE
Lloh61:
	ldr	x9, [x9, _PB_TEMP_OT_FAULT@GOTPAGEOFF]
LBB0_16:
	ldr	w9, [x9]
	orr	w0, w9, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_17:
Lloh62:
	adrp	x8, _ENODATA@GOTPAGE
Lloh63:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
	b	LBB0_2
LBB0_18:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGot	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh62, Lloh63
	.cfi_endproc
                                        ; -- End function
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_MAX8688_MFG_STATUS,4,2         ; @MAX8688_MFG_STATUS
	.comm	_MAX8688_STATUS_UV_WARNING,4,2  ; @MAX8688_STATUS_UV_WARNING
	.comm	_PB_VOLTAGE_UV_WARNING,4,2      ; @PB_VOLTAGE_UV_WARNING
	.comm	_MAX8688_STATUS_UV_FAULT,4,2    ; @MAX8688_STATUS_UV_FAULT
	.comm	_PB_VOLTAGE_UV_FAULT,4,2        ; @PB_VOLTAGE_UV_FAULT
	.comm	_MAX8688_STATUS_OV_WARNING,4,2  ; @MAX8688_STATUS_OV_WARNING
	.comm	_PB_VOLTAGE_OV_WARNING,4,2      ; @PB_VOLTAGE_OV_WARNING
	.comm	_MAX8688_STATUS_OV_FAULT,4,2    ; @MAX8688_STATUS_OV_FAULT
	.comm	_PB_VOLTAGE_OV_FAULT,4,2        ; @PB_VOLTAGE_OV_FAULT
	.comm	_MAX8688_STATUS_UC_FAULT,4,2    ; @MAX8688_STATUS_UC_FAULT
	.comm	_PB_IOUT_UC_FAULT,4,2           ; @PB_IOUT_UC_FAULT
	.comm	_MAX8688_STATUS_OC_WARNING,4,2  ; @MAX8688_STATUS_OC_WARNING
	.comm	_PB_IOUT_OC_WARNING,4,2         ; @PB_IOUT_OC_WARNING
	.comm	_MAX8688_STATUS_OC_FAULT,4,2    ; @MAX8688_STATUS_OC_FAULT
	.comm	_PB_IOUT_OC_FAULT,4,2           ; @PB_IOUT_OC_FAULT
	.comm	_MAX8688_STATUS_OT_WARNING,4,2  ; @MAX8688_STATUS_OT_WARNING
	.comm	_PB_TEMP_OT_WARNING,4,2         ; @PB_TEMP_OT_WARNING
	.comm	_MAX8688_STATUS_OT_FAULT,4,2    ; @MAX8688_STATUS_OT_FAULT
	.comm	_PB_TEMP_OT_FAULT,4,2           ; @PB_TEMP_OT_FAULT
	.comm	_ENODATA,4,2                    ; @ENODATA
	.no_dead_strip	_max8688_read_byte_data
.subsections_via_symbols
