	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_f300_set_voltage               ## -- Begin function f300_set_voltage
	.p2align	4, 0x90
_f300_set_voltage:                      ## @f300_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
	subq	$80, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -8(%rbp)
	movabsq	$240518168581, %rax             ## imm = 0x3800000005
	movq	%rax, -80(%rbp)
	movl	$1, -72(%rbp)
	addl	$-128, %esi
	cmpl	$2, %esi
	ja	LBB0_2
## %bb.1:
	movslq	%esi, %rax
	leaq	l_switch.table.f300_set_voltage(%rip), %rcx
	movl	(%rcx,%rax,4), %ecx
	leaq	l_switch.table.f300_set_voltage.1(%rip), %rdx
	movl	(%rdx,%rax,4), %edx
	leaq	l_switch.table.f300_set_voltage.2(%rip), %rsi
	movl	(%rsi,%rax,4), %eax
	movl	%ecx, -68(%rbp)
	movl	%edx, -64(%rbp)
	movl	%eax, -60(%rbp)
LBB0_2:
	leaq	-80(%rbp), %rsi
	callq	_f300_xfer
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-8(%rbp), %rcx
	jne	LBB0_4
## %bb.3:
	addq	$80, %rsp
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.f300_set_voltage
l_switch.table.f300_set_voltage:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	1                               ## 0x1

	.p2align	2                               ## @switch.table.f300_set_voltage.1
l_switch.table.f300_set_voltage.1:
	.long	0                               ## 0x0
	.long	2                               ## 0x2
	.long	2                               ## 0x2

	.p2align	2                               ## @switch.table.f300_set_voltage.2
l_switch.table.f300_set_voltage.2:
	.long	0                               ## 0x0
	.long	1                               ## 0x1
	.long	0                               ## 0x0

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function f300_set_voltage
lCPI0_0:
	.long	5                               ; 0x5
	.long	56                              ; 0x38
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_f300_set_voltage
	.p2align	2
_f300_set_voltage:                      ; @f300_set_voltage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-8]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #8]
	mov	w8, #1
	str	w8, [sp, #16]
	sub	w8, w1, #128
	cmp	w8, #2
	b.hi	LBB0_2
; %bb.1:
	sbfiz	x8, x8, #2, #32
Lloh5:
	adrp	x9, l_switch.table.f300_set_voltage@PAGE
Lloh6:
	add	x9, x9, l_switch.table.f300_set_voltage@PAGEOFF
	ldr	w9, [x9, x8]
Lloh7:
	adrp	x10, l_switch.table.f300_set_voltage.1@PAGE
Lloh8:
	add	x10, x10, l_switch.table.f300_set_voltage.1@PAGEOFF
	ldr	w10, [x10, x8]
Lloh9:
	adrp	x11, l_switch.table.f300_set_voltage.2@PAGE
Lloh10:
	add	x11, x11, l_switch.table.f300_set_voltage.2@PAGEOFF
	ldr	w8, [x11, x8]
	stp	w9, w10, [sp, #20]
	str	w8, [sp, #28]
LBB0_2:
	add	x1, sp, #8
	bl	_f300_xfer
	ldur	x8, [x29, #-8]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.f300_set_voltage
l_switch.table.f300_set_voltage:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	1                               ; 0x1

	.p2align	2                               ; @switch.table.f300_set_voltage.1
l_switch.table.f300_set_voltage.1:
	.long	0                               ; 0x0
	.long	2                               ; 0x2
	.long	2                               ; 0x2

	.p2align	2                               ; @switch.table.f300_set_voltage.2
l_switch.table.f300_set_voltage.2:
	.long	0                               ; 0x0
	.long	1                               ; 0x1
	.long	0                               ; 0x0

.subsections_via_symbols
