	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nv40_fan_pwm_ctrl
_nv40_fan_pwm_ctrl:                     ## @nv40_fan_pwm_ctrl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%ecx, %ecx
	testl	%edx, %edx
	setne	%cl
	shll	$31, %ecx
	cmpl	$9, %esi
	je	LBB0_4
## %bb.1:
	movl	%esi, %eax
	cmpl	$2, %esi
	jne	LBB0_5
## %bb.2:
	movl	$4336, %esi                     ## imm = 0x10F0
	jmp	LBB0_3
LBB0_4:
	movl	$5620, %esi                     ## imm = 0x15F4
LBB0_3:
	movl	$-2147483648, %edx              ## imm = 0x80000000
	callq	_nv_mask
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	callq	_nv_error
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unknown pwm ctrl for gpio %d\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_nv40_fan_pwm_ctrl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nv40_fan_pwm_ctrl
_nv40_fan_pwm_ctrl:                     ; @nv40_fan_pwm_ctrl
	.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
	cmp	w2, #0
	cset	w9, ne
	lsl	w3, w9, #31
	cmp	w1, #9
	b.eq	LBB0_3
; %bb.1:
	mov	x8, x1
	cmp	w1, #2
	b.ne	LBB0_5
; %bb.2:
	mov	w1, #4336
	b	LBB0_4
LBB0_3:
	mov	w1, #5620
LBB0_4:
	mov	w2, #-2147483648
	bl	_nv_mask
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x8
	bl	_nv_error
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unknown pwm ctrl for gpio %d\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_nv40_fan_pwm_ctrl
.subsections_via_symbols
