	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ltc3815_write_byte
_ltc3815_write_byte:                    ## @ltc3815_write_byte
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$128, %edx
	jne	LBB0_4
## %bb.1:
	movq	%rdi, %r14
	movq	_PMBUS_STATUS_WORD@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_pmbus_read_word_data
	testl	%eax, %eax
	jle	LBB0_2
## %bb.3:
	movl	(%r15), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	%eax, %ecx
	callq	_pmbus_write_word_data
	jmp	LBB0_5
LBB0_4:
	movq	_ENODATA@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_2:
	movl	%eax, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMBUS_STATUS_WORD,4,2          ## @PMBUS_STATUS_WORD
	.comm	_ENODATA,4,2                    ## @ENODATA
	.no_dead_strip	_ltc3815_write_byte
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ltc3815_write_byte
_ltc3815_write_byte:                    ; @ltc3815_write_byte
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	cmp	w2, #128
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x20, _PMBUS_STATUS_WORD@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PMBUS_STATUS_WORD@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #0
	bl	_pmbus_read_word_data
	mov	x3, x0
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.2:
	ldr	w2, [x20]
	mov	x0, x19
	mov	w1, #0
	bl	_pmbus_write_word_data
	mov	w3, #0
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x8, _ENODATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODATA@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w3, w8
LBB0_4:
	mov	x0, x3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_PMBUS_STATUS_WORD,4,2          ; @PMBUS_STATUS_WORD
	.comm	_ENODATA,4,2                    ; @ENODATA
	.no_dead_strip	_ltc3815_write_byte
.subsections_via_symbols
