	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function m88rs2000_set_voltage
_m88rs2000_set_voltage:                 ## @m88rs2000_set_voltage
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	(%rdi), %r14
	movq	%r14, %rdi
	movl	$178, %esi
	callq	_m88rs2000_readreg
	cmpl	$130, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_2
## %bb.3:
	andl	$-4, %eax
	jmp	LBB0_5
LBB0_4:
	andl	$-4, %eax
	orl	$1, %eax
	jmp	LBB0_5
LBB0_2:
	orl	$3, %eax
LBB0_5:
	movq	%r14, %rdi
	movl	$178, %esi
	movl	%eax, %edx
	callq	_m88rs2000_writereg
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_m88rs2000_set_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function m88rs2000_set_voltage
_m88rs2000_set_voltage:                 ; @m88rs2000_set_voltage
	.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
	mov	x19, x1
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #178
	bl	_m88rs2000_readreg
	orr	w8, w0, #0x3
	and	w9, w0, #0xfffffffc
	orr	w10, w9, #0x1
	cmp	w19, #129
	csel	w8, w8, w9, ne
	cmp	w19, #130
	csel	w2, w10, w8, eq
	mov	x0, x20
	mov	w1, #178
	bl	_m88rs2000_writereg
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_m88rs2000_set_voltage
.subsections_via_symbols
