	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_therm_fan_user_set     ## -- Begin function nouveau_therm_fan_user_set
	.p2align	4, 0x90
_nouveau_therm_fan_user_set:            ## @nouveau_therm_fan_user_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_NOUVEAU_THERM_CTRL_MANUAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movl	%esi, %edx
	movl	$1, %esi
	popq	%rbp
	jmp	_nouveau_therm_fan_set          ## TAILCALL
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NOUVEAU_THERM_CTRL_MANUAL,8,3  ## @NOUVEAU_THERM_CTRL_MANUAL
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nouveau_therm_fan_user_set     ; -- Begin function nouveau_therm_fan_user_set
	.p2align	2
_nouveau_therm_fan_user_set:            ; @nouveau_therm_fan_user_set
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _NOUVEAU_THERM_CTRL_MANUAL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NOUVEAU_THERM_CTRL_MANUAL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x2, x1
	mov	w1, #1
	b	_nouveau_therm_fan_set
LBB0_2:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NOUVEAU_THERM_CTRL_MANUAL,8,3  ; @NOUVEAU_THERM_CTRL_MANUAL
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
