	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fan_boost_mode_switch_next
_fan_boost_mode_switch_next:            ## @fan_boost_mode_switch_next
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	8(%rdi), %rdx
	movq	_ASUS_FAN_BOOST_MODE_NORMAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %rdx
	jne	LBB0_4
## %bb.1:
	movq	_ASUS_FAN_BOOST_MODE_OVERBOOST_MASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_ASUS_FAN_BOOST_MODE_OVERBOOST@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_ASUS_FAN_BOOST_MODE_OVERBOOST@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rdx
	jne	LBB0_8
## %bb.5:
	movq	_ASUS_FAN_BOOST_MODE_SILENT_MASK@GOTPCREL(%rip), %rdx
	testl	%ecx, (%rdx)
	jne	LBB0_6
	jmp	LBB0_8
LBB0_3:
	movq	_ASUS_FAN_BOOST_MODE_SILENT_MASK@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_9
LBB0_6:
	movq	_ASUS_FAN_BOOST_MODE_SILENT@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
LBB0_8:
	movq	%rax, 8(%rdi)
LBB0_9:
	popq	%rbp
	jmp	_fan_boost_mode_write           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ASUS_FAN_BOOST_MODE_NORMAL,8,3 ## @ASUS_FAN_BOOST_MODE_NORMAL
	.comm	_ASUS_FAN_BOOST_MODE_OVERBOOST_MASK,4,2 ## @ASUS_FAN_BOOST_MODE_OVERBOOST_MASK
	.comm	_ASUS_FAN_BOOST_MODE_OVERBOOST,8,3 ## @ASUS_FAN_BOOST_MODE_OVERBOOST
	.comm	_ASUS_FAN_BOOST_MODE_SILENT_MASK,4,2 ## @ASUS_FAN_BOOST_MODE_SILENT_MASK
	.comm	_ASUS_FAN_BOOST_MODE_SILENT,8,3 ## @ASUS_FAN_BOOST_MODE_SILENT
	.no_dead_strip	_fan_boost_mode_switch_next
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fan_boost_mode_switch_next
_fan_boost_mode_switch_next:            ; @fan_boost_mode_switch_next
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	ldr	x10, [x0, #8]
Lloh0:
	adrp	x8, _ASUS_FAN_BOOST_MODE_NORMAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ASUS_FAN_BOOST_MODE_NORMAL@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x10, x8
	b.ne	LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ASUS_FAN_BOOST_MODE_OVERBOOST_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ASUS_FAN_BOOST_MODE_OVERBOOST_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_5
; %bb.2:
Lloh6:
	adrp	x8, _ASUS_FAN_BOOST_MODE_OVERBOOST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ASUS_FAN_BOOST_MODE_OVERBOOST@GOTPAGEOFF]
	b	LBB0_7
LBB0_3:
Lloh8:
	adrp	x11, _ASUS_FAN_BOOST_MODE_OVERBOOST@GOTPAGE
Lloh9:
	ldr	x11, [x11, _ASUS_FAN_BOOST_MODE_OVERBOOST@GOTPAGEOFF]
Lloh10:
	ldr	x11, [x11]
	cmp	x10, x11
	b.ne	LBB0_8
; %bb.4:
Lloh11:
	adrp	x10, _ASUS_FAN_BOOST_MODE_SILENT_MASK@GOTPAGE
Lloh12:
	ldr	x10, [x10, _ASUS_FAN_BOOST_MODE_SILENT_MASK@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	tst	w10, w9
	b.ne	LBB0_6
	b	LBB0_8
LBB0_5:
Lloh14:
	adrp	x8, _ASUS_FAN_BOOST_MODE_SILENT_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ASUS_FAN_BOOST_MODE_SILENT_MASK@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_9
LBB0_6:
Lloh17:
	adrp	x8, _ASUS_FAN_BOOST_MODE_SILENT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ASUS_FAN_BOOST_MODE_SILENT@GOTPAGEOFF]
LBB0_7:
	ldr	x8, [x8]
LBB0_8:
	str	x8, [x0, #8]
LBB0_9:
	b	_fan_boost_mode_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_ASUS_FAN_BOOST_MODE_NORMAL,8,3 ; @ASUS_FAN_BOOST_MODE_NORMAL
	.comm	_ASUS_FAN_BOOST_MODE_OVERBOOST_MASK,4,2 ; @ASUS_FAN_BOOST_MODE_OVERBOOST_MASK
	.comm	_ASUS_FAN_BOOST_MODE_OVERBOOST,8,3 ; @ASUS_FAN_BOOST_MODE_OVERBOOST
	.comm	_ASUS_FAN_BOOST_MODE_SILENT_MASK,4,2 ; @ASUS_FAN_BOOST_MODE_SILENT_MASK
	.comm	_ASUS_FAN_BOOST_MODE_SILENT,8,3 ; @ASUS_FAN_BOOST_MODE_SILENT
	.no_dead_strip	_fan_boost_mode_switch_next
.subsections_via_symbols
