	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gm107_fan_pwm_set
_gm107_fan_pwm_set:                     ## @gm107_fan_pwm_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%ecx, %ebx
	movl	%edx, %ecx
	movq	(%rdi), %r14
	movq	%r14, %rdi
	movl	$1108752, %esi                  ## imm = 0x10EB10
	movl	$8191, %edx                     ## imm = 0x1FFF
	callq	_nvkm_mask
	orl	$-2147483648, %ebx              ## imm = 0x80000000
	movq	%r14, %rdi
	movl	$1108756, %esi                  ## imm = 0x10EB14
	movl	%ebx, %edx
	callq	_nvkm_wr32
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_gm107_fan_pwm_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gm107_fan_pwm_set
_gm107_fan_pwm_set:                     ; @gm107_fan_pwm_set
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x3
	mov	x3, x2
	ldr	x20, [x0]
	mov	w21, #60176
	movk	w21, #16, lsl #16
	mov	x0, x20
	mov	w1, #60176
	movk	w1, #16, lsl #16
	mov	w2, #8191
	bl	_nvkm_mask
	orr	w2, w19, #0x80000000
	orr	w1, w21, #0x4
	mov	x0, x20
	bl	_nvkm_wr32
	mov	w0, #0
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_gm107_fan_pwm_set
.subsections_via_symbols
