	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nouveau_therm_fan_safety_checks
_nouveau_therm_fan_safety_checks:       ## @nouveau_therm_fan_safety_checks
	.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
	movl	(%rax), %ecx
	cmpl	$101, %ecx
	jl	LBB0_2
## %bb.1:
	movl	$100, (%rax)
	movl	$100, %ecx
LBB0_2:
	movl	4(%rax), %edx
	cmpl	$101, %edx
	jge	LBB0_3
## %bb.4:
	cmpl	%edx, %ecx
	jg	LBB0_5
LBB0_6:
	popq	%rbp
	retq
LBB0_3:
	movl	$100, 4(%rax)
	movl	$100, %edx
	cmpl	%edx, %ecx
	jle	LBB0_6
LBB0_5:
	movl	%edx, (%rax)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_nouveau_therm_fan_safety_checks
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nouveau_therm_fan_safety_checks
_nouveau_therm_fan_safety_checks:       ; @nouveau_therm_fan_safety_checks
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
	ldr	w9, [x8]
	cmp	w9, #101
	b.lt	LBB0_2
; %bb.1:
	mov	w9, #100
	str	w9, [x8]
LBB0_2:
	ldr	w10, [x8, #4]
	cmp	w10, #101
	b.ge	LBB0_5
; %bb.3:
	cmp	w9, w10
	b.gt	LBB0_6
LBB0_4:
	ret
LBB0_5:
	mov	w10, #100
	str	w10, [x8, #4]
	cmp	w9, w10
	b.le	LBB0_4
LBB0_6:
	str	w10, [x8]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_nouveau_therm_fan_safety_checks
.subsections_via_symbols
