	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p8000_set_voltage
_p8000_set_voltage:                     ## @p8000_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
	movq	_SEC_VOLTAGE_18@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_MC417_RWD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$7680, %esi                     ## imm = 0x1E00
	jmp	LBB0_5
LBB0_2:
	movq	_SEC_VOLTAGE_13@GOTPCREL(%rip), %rax
	movq	_MC417_RWD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpl	%esi, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	$6656, %esi                     ## imm = 0x1A00
	jmp	LBB0_5
LBB0_4:
	movl	$6144, %esi                     ## imm = 0x1800
LBB0_5:
	callq	_cx_write
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SEC_VOLTAGE_18,4,2             ## @SEC_VOLTAGE_18
	.comm	_MC417_RWD,4,2                  ## @MC417_RWD
	.comm	_SEC_VOLTAGE_13,4,2             ## @SEC_VOLTAGE_13
	.no_dead_strip	_p8000_set_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p8000_set_voltage
_p8000_set_voltage:                     ; @p8000_set_voltage
	.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
Lloh0:
	adrp	x8, _SEC_VOLTAGE_18@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEC_VOLTAGE_18@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MC417_RWD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MC417_RWD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #7680
	b	LBB0_5
LBB0_2:
Lloh6:
	adrp	x8, _SEC_VOLTAGE_13@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SEC_VOLTAGE_13@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _MC417_RWD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MC417_RWD@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x9]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.3:
	mov	w1, #6656
	b	LBB0_5
LBB0_4:
	mov	w1, #6144
LBB0_5:
	bl	_cx_write
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_SEC_VOLTAGE_18,4,2             ; @SEC_VOLTAGE_18
	.comm	_MC417_RWD,4,2                  ; @MC417_RWD
	.comm	_SEC_VOLTAGE_13,4,2             ; @SEC_VOLTAGE_13
	.no_dead_strip	_p8000_set_voltage
.subsections_via_symbols
