	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_turbo
_do_turbo:                              ## @do_turbo
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_currentConfig@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%eax, %eax
	testl	$4096, %esi                     ## imm = 0x1000
	je	LBB0_3
## %bb.1:
	movb	_do_turbo.turbo_cnt.0(%rip), %cl
	addb	%al, %cl
	movb	%cl, _do_turbo.turbo_cnt.0(%rip)
	cmpb	$60, %cl
	jb	LBB0_3
## %bb.2:
	xorb	$16, _do_turbo.turbo_pad(%rip)
	movb	$0, _do_turbo.turbo_cnt.0(%rip)
LBB0_3:
	testl	$8192, %esi                     ## imm = 0x2000
	je	LBB0_6
## %bb.4:
	movb	_do_turbo.turbo_cnt.1(%rip), %cl
	addb	%al, %cl
	movb	%cl, _do_turbo.turbo_cnt.1(%rip)
	cmpb	$60, %cl
	jb	LBB0_6
## %bb.5:
	xorb	$32, _do_turbo.turbo_pad(%rip)
	movb	$0, _do_turbo.turbo_cnt.1(%rip)
LBB0_6:
	testl	$16384, %esi                    ## imm = 0x4000
	je	LBB0_9
## %bb.7:
	addb	_do_turbo.turbo_cnt.2(%rip), %al
	movb	%al, _do_turbo.turbo_cnt.2(%rip)
	cmpb	$60, %al
	jb	LBB0_9
## %bb.8:
	xorb	$64, _do_turbo.turbo_pad(%rip)
	movb	$0, _do_turbo.turbo_cnt.2(%rip)
LBB0_9:
	sarl	$8, %esi
	andl	_do_turbo.turbo_pad(%rip), %esi
	orl	%esi, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_do_turbo.turbo_pad,4,2 ## @do_turbo.turbo_pad
.zerofill __DATA,__bss,_do_turbo.turbo_cnt.0,1,0 ## @do_turbo.turbo_cnt.0
.zerofill __DATA,__bss,_do_turbo.turbo_cnt.1,1,0 ## @do_turbo.turbo_cnt.1
.zerofill __DATA,__bss,_do_turbo.turbo_cnt.2,1,0 ## @do_turbo.turbo_cnt.2
	.comm	_currentConfig,4,2              ## @currentConfig
	.no_dead_strip	_do_turbo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_turbo
_do_turbo:                              ; @do_turbo
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _currentConfig@GOTPAGE
Lloh1:
	ldr	x8, [x8, _currentConfig@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w9, w8, #1
	adrp	x8, _do_turbo.turbo_pad@PAGE
	tbz	w1, #12, LBB0_3
; %bb.1:
	adrp	x10, _do_turbo.turbo_cnt.0@PAGE
	ldrb	w11, [x10, _do_turbo.turbo_cnt.0@PAGEOFF]
	add	w11, w11, w9
	and	w12, w11, #0xff
	strb	w11, [x10, _do_turbo.turbo_cnt.0@PAGEOFF]
	cmp	w12, #60
	b.lo	LBB0_3
; %bb.2:
	ldr	w11, [x8, _do_turbo.turbo_pad@PAGEOFF]
	eor	w11, w11, #0x10
	str	w11, [x8, _do_turbo.turbo_pad@PAGEOFF]
	strb	wzr, [x10, _do_turbo.turbo_cnt.0@PAGEOFF]
LBB0_3:
	tbz	w1, #13, LBB0_6
; %bb.4:
	adrp	x10, _do_turbo.turbo_cnt.1@PAGE
	ldrb	w11, [x10, _do_turbo.turbo_cnt.1@PAGEOFF]
	add	w11, w11, w9
	and	w12, w11, #0xff
	strb	w11, [x10, _do_turbo.turbo_cnt.1@PAGEOFF]
	cmp	w12, #60
	b.lo	LBB0_6
; %bb.5:
	ldr	w11, [x8, _do_turbo.turbo_pad@PAGEOFF]
	eor	w11, w11, #0x20
	str	w11, [x8, _do_turbo.turbo_pad@PAGEOFF]
	strb	wzr, [x10, _do_turbo.turbo_cnt.1@PAGEOFF]
LBB0_6:
	tbz	w1, #14, LBB0_9
; %bb.7:
	adrp	x10, _do_turbo.turbo_cnt.2@PAGE
	ldrb	w11, [x10, _do_turbo.turbo_cnt.2@PAGEOFF]
	add	w9, w11, w9
	and	w11, w9, #0xff
	strb	w9, [x10, _do_turbo.turbo_cnt.2@PAGEOFF]
	cmp	w11, #60
	b.lo	LBB0_9
; %bb.8:
	ldr	w9, [x8, _do_turbo.turbo_pad@PAGEOFF]
	eor	w9, w9, #0x40
	str	w9, [x8, _do_turbo.turbo_pad@PAGEOFF]
	strb	wzr, [x10, _do_turbo.turbo_cnt.2@PAGEOFF]
LBB0_9:
	ldr	w8, [x8, _do_turbo.turbo_pad@PAGEOFF]
	and	w8, w8, w1, asr #8
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_do_turbo.turbo_pad,4,2 ; @do_turbo.turbo_pad
.zerofill __DATA,__bss,_do_turbo.turbo_cnt.0,1,0 ; @do_turbo.turbo_cnt.0
.zerofill __DATA,__bss,_do_turbo.turbo_cnt.1,1,0 ; @do_turbo.turbo_cnt.1
.zerofill __DATA,__bss,_do_turbo.turbo_cnt.2,1,0 ; @do_turbo.turbo_cnt.2
	.comm	_currentConfig,4,2              ; @currentConfig
	.no_dead_strip	_do_turbo
.subsections_via_symbols
