	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smu_fan_create
_smu_fan_create:                        ## @smu_fan_create
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$48, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_51
## %bb.1:
	movq	%rax, %r14
	movq	%rax, %r13
	movq	_smu_fan_ops@GOTPCREL(%rip), %rax
	movq	%rax, 24(%r14)
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_50
## %bb.2:
	movq	%rax, %r12
	movl	%ebx, (%r13)
	testl	%ebx, %ebx
	jne	LBB0_3
## %bb.4:
	movq	_WF_CONTROL_RPM_FAN@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_WF_CONTROL_PWM_FAN@GOTPCREL(%rip), %rax
LBB0_5:
	addq	$8, %r14
	movl	(%rax), %eax
	movl	%eax, 16(%r13)
	movq	$0, 8(%r13)
	leaq	L_.str.1(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.6(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.8:
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.9:
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.10:
	leaq	L_.str.7(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.10(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.11:
	leaq	L_.str.8(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.12:
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.13:
	leaq	L_.str.11(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.16(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.14:
	leaq	L_.str.12(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.15:
	leaq	L_.str.13(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.16:
	leaq	L_.str.14(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.17:
	leaq	L_.str.15(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.18:
	leaq	L_.str.17(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.20(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.19:
	leaq	L_.str.18(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.20:
	leaq	L_.str.19(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.21:
	leaq	L_.str.21(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:
	leaq	L_.str.23(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_24
## %bb.25:
	leaq	L_.str.25(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.28(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.26:
	leaq	L_.str.26(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.27:
	leaq	L_.str.27(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.28:
	leaq	L_.str.29(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.32(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_33
## %bb.29:
	leaq	L_.str.30(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.30:
	leaq	L_.str.31(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_33
## %bb.31:
	leaq	L_.str.33(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	movb	$1, %cl
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_34
## %bb.32:
	leaq	L_.str.34(%rip), %rbx
	jmp	LBB0_33
LBB0_22:
	leaq	L_.str.22(%rip), %rbx
	jmp	LBB0_33
LBB0_24:
	leaq	L_.str.24(%rip), %rbx
LBB0_33:
	movq	%rbx, (%r14)
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_34:
	leaq	L_.str.35(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.37(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_44
## %bb.35:
	leaq	L_.str.36(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_44
## %bb.36:
	leaq	L_.str.38(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.40(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_44
## %bb.37:
	leaq	L_.str.39(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_44
## %bb.38:
	leaq	L_.str.41(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	leaq	L_.str.32(%rip), %rbx
	testl	%eax, %eax
	je	LBB0_44
## %bb.39:
	leaq	L_.str.42(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_44
## %bb.40:
	leaq	L_.str.43(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_41
## %bb.42:
	leaq	L_.str.45(%rip), %rsi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_43
## %bb.49:
	cmpb	$0, -44(%rbp)                   ## 1-byte Folded Reload
	je	LBB0_45
	jmp	LBB0_50
LBB0_41:
	leaq	L_.str.44(%rip), %rbx
	jmp	LBB0_44
LBB0_43:
	leaq	L_.str.46(%rip), %rbx
LBB0_44:
	movq	%rbx, (%r14)
LBB0_45:
	leaq	L_.str.47(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_50
## %bb.46:
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	leaq	L_.str.48(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_50
## %bb.47:
	movl	(%rax), %eax
	movl	%eax, 36(%r13)
	leaq	L_.str.49(%rip), %rsi
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_of_get_property
	testq	%rax, %rax
	je	LBB0_50
## %bb.48:
	movl	(%rax), %eax
	movl	%eax, 32(%r13)
	movq	%r14, %rdi
	callq	_wf_register_control
	testq	%rax, %rax
	je	LBB0_52
LBB0_50:
	movq	%r13, %rdi
	callq	_kfree
LBB0_51:
	xorl	%r13d, %r13d
LBB0_52:
	movq	%r13, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_smu_fan_ops,4,2                ## @smu_fan_ops
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"location"

	.comm	_WF_CONTROL_PWM_FAN,4,2         ## @WF_CONTROL_PWM_FAN
	.comm	_WF_CONTROL_RPM_FAN,4,2         ## @WF_CONTROL_RPM_FAN
L_.str.1:                               ## @.str.1
	.asciz	"Rear Fan 0"

L_.str.2:                               ## @.str.2
	.asciz	"Rear Fan"

L_.str.3:                               ## @.str.3
	.asciz	"Rear fan 0"

L_.str.4:                               ## @.str.4
	.asciz	"Rear fan"

L_.str.5:                               ## @.str.5
	.asciz	"CPU A EXHAUST"

L_.str.6:                               ## @.str.6
	.asciz	"cpu-rear-fan-0"

L_.str.7:                               ## @.str.7
	.asciz	"Rear Fan 1"

L_.str.8:                               ## @.str.8
	.asciz	"Rear fan 1"

L_.str.9:                               ## @.str.9
	.asciz	"CPU B EXHAUST"

L_.str.10:                              ## @.str.10
	.asciz	"cpu-rear-fan-1"

L_.str.11:                              ## @.str.11
	.asciz	"Front Fan 0"

L_.str.12:                              ## @.str.12
	.asciz	"Front Fan"

L_.str.13:                              ## @.str.13
	.asciz	"Front fan 0"

L_.str.14:                              ## @.str.14
	.asciz	"Front fan"

L_.str.15:                              ## @.str.15
	.asciz	"CPU A INTAKE"

L_.str.16:                              ## @.str.16
	.asciz	"cpu-front-fan-0"

L_.str.17:                              ## @.str.17
	.asciz	"Front Fan 1"

L_.str.18:                              ## @.str.18
	.asciz	"Front fan 1"

L_.str.19:                              ## @.str.19
	.asciz	"CPU B INTAKE"

L_.str.20:                              ## @.str.20
	.asciz	"cpu-front-fan-1"

L_.str.21:                              ## @.str.21
	.asciz	"CPU A PUMP"

L_.str.22:                              ## @.str.22
	.asciz	"cpu-pump-0"

L_.str.23:                              ## @.str.23
	.asciz	"CPU B PUMP"

L_.str.24:                              ## @.str.24
	.asciz	"cpu-pump-1"

L_.str.25:                              ## @.str.25
	.asciz	"Slots Fan"

L_.str.26:                              ## @.str.26
	.asciz	"Slots fan"

L_.str.27:                              ## @.str.27
	.asciz	"EXPANSION SLOTS INTAKE"

L_.str.28:                              ## @.str.28
	.asciz	"slots-fan"

L_.str.29:                              ## @.str.29
	.asciz	"Drive Bay"

L_.str.30:                              ## @.str.30
	.asciz	"Drive bay"

L_.str.31:                              ## @.str.31
	.asciz	"DRIVE BAY A INTAKE"

L_.str.32:                              ## @.str.32
	.asciz	"drive-bay-fan"

L_.str.33:                              ## @.str.33
	.asciz	"BACKSIDE"

L_.str.34:                              ## @.str.34
	.asciz	"backside-fan"

L_.str.35:                              ## @.str.35
	.asciz	"System Fan"

L_.str.36:                              ## @.str.36
	.asciz	"System fan"

L_.str.37:                              ## @.str.37
	.asciz	"system-fan"

L_.str.38:                              ## @.str.38
	.asciz	"CPU Fan"

L_.str.39:                              ## @.str.39
	.asciz	"CPU fan"

L_.str.40:                              ## @.str.40
	.asciz	"cpu-fan"

L_.str.41:                              ## @.str.41
	.asciz	"Hard Drive"

L_.str.42:                              ## @.str.42
	.asciz	"Hard drive"

L_.str.43:                              ## @.str.43
	.asciz	"HDD Fan"

L_.str.44:                              ## @.str.44
	.asciz	"hard-drive-fan"

L_.str.45:                              ## @.str.45
	.asciz	"ODD Fan"

L_.str.46:                              ## @.str.46
	.asciz	"optical-drive-fan"

L_.str.47:                              ## @.str.47
	.asciz	"min-value"

L_.str.48:                              ## @.str.48
	.asciz	"max-value"

L_.str.49:                              ## @.str.49
	.asciz	"reg"

	.no_dead_strip	_smu_fan_create
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smu_fan_create
_smu_fan_create:                        ; @smu_fan_create
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #48
	bl	_kmalloc
	mov	x19, x0
	cbz	x0, LBB0_48
; %bb.1:
Lloh3:
	adrp	x8, _smu_fan_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _smu_fan_ops@GOTPAGEOFF]
	str	x8, [x19, #24]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	bl	_of_get_property
	cbz	x0, LBB0_47
; %bb.2:
	mov	x22, x0
	add	x21, x19, #8
Lloh7:
	adrp	x8, _WF_CONTROL_PWM_FAN@GOTPAGE
Lloh8:
	ldr	x8, [x8, _WF_CONTROL_PWM_FAN@GOTPAGEOFF]
Lloh9:
	adrp	x9, _WF_CONTROL_RPM_FAN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _WF_CONTROL_RPM_FAN@GOTPAGEOFF]
	str	w23, [x19]
	cmp	w23, #0
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	w0, LBB0_28
; %bb.3:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_28
; %bb.4:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_28
; %bb.5:
Lloh17:
	adrp	x1, l_.str.4@PAGE
Lloh18:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_28
; %bb.6:
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_28
; %bb.7:
Lloh21:
	adrp	x1, l_.str.7@PAGE
Lloh22:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_49
; %bb.8:
Lloh23:
	adrp	x1, l_.str.8@PAGE
Lloh24:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_49
; %bb.9:
Lloh25:
	adrp	x1, l_.str.9@PAGE
Lloh26:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_49
; %bb.10:
Lloh27:
	adrp	x1, l_.str.11@PAGE
Lloh28:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_51
; %bb.11:
Lloh29:
	adrp	x1, l_.str.12@PAGE
Lloh30:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_51
; %bb.12:
Lloh31:
	adrp	x1, l_.str.13@PAGE
Lloh32:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_51
; %bb.13:
Lloh33:
	adrp	x1, l_.str.14@PAGE
Lloh34:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_51
; %bb.14:
Lloh35:
	adrp	x1, l_.str.15@PAGE
Lloh36:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_51
; %bb.15:
Lloh37:
	adrp	x1, l_.str.17@PAGE
Lloh38:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_53
; %bb.16:
Lloh39:
	adrp	x1, l_.str.18@PAGE
Lloh40:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_53
; %bb.17:
Lloh41:
	adrp	x1, l_.str.19@PAGE
Lloh42:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_53
; %bb.18:
Lloh43:
	adrp	x1, l_.str.21@PAGE
Lloh44:
	add	x1, x1, l_.str.21@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_54
; %bb.19:
Lloh45:
	adrp	x1, l_.str.23@PAGE
Lloh46:
	add	x1, x1, l_.str.23@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_56
; %bb.20:
Lloh47:
	adrp	x1, l_.str.25@PAGE
Lloh48:
	add	x1, x1, l_.str.25@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_55
; %bb.21:
Lloh49:
	adrp	x1, l_.str.26@PAGE
Lloh50:
	add	x1, x1, l_.str.26@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_55
; %bb.22:
Lloh51:
	adrp	x1, l_.str.27@PAGE
Lloh52:
	add	x1, x1, l_.str.27@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_55
; %bb.23:
Lloh53:
	adrp	x1, l_.str.29@PAGE
Lloh54:
	add	x1, x1, l_.str.29@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_57
; %bb.24:
Lloh55:
	adrp	x1, l_.str.30@PAGE
Lloh56:
	add	x1, x1, l_.str.30@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_57
; %bb.25:
Lloh57:
	adrp	x1, l_.str.31@PAGE
Lloh58:
	add	x1, x1, l_.str.31@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_57
; %bb.26:
Lloh59:
	adrp	x1, l_.str.33@PAGE
Lloh60:
	add	x1, x1, l_.str.33@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_58
; %bb.27:
	mov	w23, #1
	b	LBB0_30
LBB0_28:
Lloh61:
	adrp	x8, l_.str.6@PAGE
Lloh62:
	add	x8, x8, l_.str.6@PAGEOFF
LBB0_29:
	mov	w23, #0
	str	x8, [x21]
LBB0_30:
Lloh63:
	adrp	x1, l_.str.35@PAGE
Lloh64:
	add	x1, x1, l_.str.35@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_39
; %bb.31:
Lloh65:
	adrp	x1, l_.str.36@PAGE
Lloh66:
	add	x1, x1, l_.str.36@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_39
; %bb.32:
Lloh67:
	adrp	x1, l_.str.38@PAGE
Lloh68:
	add	x1, x1, l_.str.38@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_40
; %bb.33:
Lloh69:
	adrp	x1, l_.str.39@PAGE
Lloh70:
	add	x1, x1, l_.str.39@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_40
; %bb.34:
Lloh71:
	adrp	x1, l_.str.41@PAGE
Lloh72:
	add	x1, x1, l_.str.41@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_41
; %bb.35:
Lloh73:
	adrp	x1, l_.str.42@PAGE
Lloh74:
	add	x1, x1, l_.str.42@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_41
; %bb.36:
Lloh75:
	adrp	x1, l_.str.43@PAGE
Lloh76:
	add	x1, x1, l_.str.43@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_50
; %bb.37:
Lloh77:
	adrp	x1, l_.str.45@PAGE
Lloh78:
	add	x1, x1, l_.str.45@PAGEOFF
	mov	x0, x22
	bl	_strcmp
	cbz	w0, LBB0_52
; %bb.38:
	tbz	w23, #0, LBB0_43
	b	LBB0_47
LBB0_39:
Lloh79:
	adrp	x8, l_.str.37@PAGE
Lloh80:
	add	x8, x8, l_.str.37@PAGEOFF
	b	LBB0_42
LBB0_40:
Lloh81:
	adrp	x8, l_.str.40@PAGE
Lloh82:
	add	x8, x8, l_.str.40@PAGEOFF
	b	LBB0_42
LBB0_41:
Lloh83:
	adrp	x8, l_.str.32@PAGE
Lloh84:
	add	x8, x8, l_.str.32@PAGEOFF
LBB0_42:
	str	x8, [x21]
LBB0_43:
Lloh85:
	adrp	x1, l_.str.47@PAGE
Lloh86:
	add	x1, x1, l_.str.47@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	bl	_of_get_property
	cbz	x0, LBB0_47
; %bb.44:
	ldr	w8, [x0]
	str	w8, [x19, #40]
Lloh87:
	adrp	x1, l_.str.48@PAGE
Lloh88:
	add	x1, x1, l_.str.48@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	bl	_of_get_property
	cbz	x0, LBB0_47
; %bb.45:
	ldr	w8, [x0]
	str	w8, [x19, #36]
Lloh89:
	adrp	x1, l_.str.49@PAGE
Lloh90:
	add	x1, x1, l_.str.49@PAGEOFF
	mov	x0, x20
	mov	x2, #0
	bl	_of_get_property
	cbz	x0, LBB0_47
; %bb.46:
	ldr	w8, [x0]
	str	w8, [x19, #32]
	mov	x0, x21
	bl	_wf_register_control
	cbz	x0, LBB0_48
LBB0_47:
	mov	x0, x19
	bl	_kfree
	mov	x19, #0
LBB0_48:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_49:
Lloh91:
	adrp	x8, l_.str.10@PAGE
Lloh92:
	add	x8, x8, l_.str.10@PAGEOFF
	b	LBB0_29
LBB0_50:
Lloh93:
	adrp	x8, l_.str.44@PAGE
Lloh94:
	add	x8, x8, l_.str.44@PAGEOFF
	b	LBB0_42
LBB0_51:
Lloh95:
	adrp	x8, l_.str.16@PAGE
Lloh96:
	add	x8, x8, l_.str.16@PAGEOFF
	b	LBB0_29
LBB0_52:
Lloh97:
	adrp	x8, l_.str.46@PAGE
Lloh98:
	add	x8, x8, l_.str.46@PAGEOFF
	b	LBB0_42
LBB0_53:
Lloh99:
	adrp	x8, l_.str.20@PAGE
Lloh100:
	add	x8, x8, l_.str.20@PAGEOFF
	b	LBB0_29
LBB0_54:
Lloh101:
	adrp	x8, l_.str.22@PAGE
Lloh102:
	add	x8, x8, l_.str.22@PAGEOFF
	b	LBB0_29
LBB0_55:
Lloh103:
	adrp	x8, l_.str.28@PAGE
Lloh104:
	add	x8, x8, l_.str.28@PAGEOFF
	b	LBB0_29
LBB0_56:
Lloh105:
	adrp	x8, l_.str.24@PAGE
Lloh106:
	add	x8, x8, l_.str.24@PAGEOFF
	b	LBB0_29
LBB0_57:
Lloh107:
	adrp	x8, l_.str.32@PAGE
Lloh108:
	add	x8, x8, l_.str.32@PAGEOFF
	b	LBB0_29
LBB0_58:
Lloh109:
	adrp	x8, l_.str.34@PAGE
Lloh110:
	add	x8, x8, l_.str.34@PAGEOFF
	b	LBB0_29
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh55, Lloh56
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh61, Lloh62
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpAdd	Lloh65, Lloh66
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.loh AdrpAdd	Lloh95, Lloh96
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpAdd	Lloh101, Lloh102
	.loh AdrpAdd	Lloh103, Lloh104
	.loh AdrpAdd	Lloh105, Lloh106
	.loh AdrpAdd	Lloh107, Lloh108
	.loh AdrpAdd	Lloh109, Lloh110
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_smu_fan_ops,4,2                ; @smu_fan_ops
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"location"

	.comm	_WF_CONTROL_PWM_FAN,4,2         ; @WF_CONTROL_PWM_FAN
	.comm	_WF_CONTROL_RPM_FAN,4,2         ; @WF_CONTROL_RPM_FAN
l_.str.1:                               ; @.str.1
	.asciz	"Rear Fan 0"

l_.str.2:                               ; @.str.2
	.asciz	"Rear Fan"

l_.str.3:                               ; @.str.3
	.asciz	"Rear fan 0"

l_.str.4:                               ; @.str.4
	.asciz	"Rear fan"

l_.str.5:                               ; @.str.5
	.asciz	"CPU A EXHAUST"

l_.str.6:                               ; @.str.6
	.asciz	"cpu-rear-fan-0"

l_.str.7:                               ; @.str.7
	.asciz	"Rear Fan 1"

l_.str.8:                               ; @.str.8
	.asciz	"Rear fan 1"

l_.str.9:                               ; @.str.9
	.asciz	"CPU B EXHAUST"

l_.str.10:                              ; @.str.10
	.asciz	"cpu-rear-fan-1"

l_.str.11:                              ; @.str.11
	.asciz	"Front Fan 0"

l_.str.12:                              ; @.str.12
	.asciz	"Front Fan"

l_.str.13:                              ; @.str.13
	.asciz	"Front fan 0"

l_.str.14:                              ; @.str.14
	.asciz	"Front fan"

l_.str.15:                              ; @.str.15
	.asciz	"CPU A INTAKE"

l_.str.16:                              ; @.str.16
	.asciz	"cpu-front-fan-0"

l_.str.17:                              ; @.str.17
	.asciz	"Front Fan 1"

l_.str.18:                              ; @.str.18
	.asciz	"Front fan 1"

l_.str.19:                              ; @.str.19
	.asciz	"CPU B INTAKE"

l_.str.20:                              ; @.str.20
	.asciz	"cpu-front-fan-1"

l_.str.21:                              ; @.str.21
	.asciz	"CPU A PUMP"

l_.str.22:                              ; @.str.22
	.asciz	"cpu-pump-0"

l_.str.23:                              ; @.str.23
	.asciz	"CPU B PUMP"

l_.str.24:                              ; @.str.24
	.asciz	"cpu-pump-1"

l_.str.25:                              ; @.str.25
	.asciz	"Slots Fan"

l_.str.26:                              ; @.str.26
	.asciz	"Slots fan"

l_.str.27:                              ; @.str.27
	.asciz	"EXPANSION SLOTS INTAKE"

l_.str.28:                              ; @.str.28
	.asciz	"slots-fan"

l_.str.29:                              ; @.str.29
	.asciz	"Drive Bay"

l_.str.30:                              ; @.str.30
	.asciz	"Drive bay"

l_.str.31:                              ; @.str.31
	.asciz	"DRIVE BAY A INTAKE"

l_.str.32:                              ; @.str.32
	.asciz	"drive-bay-fan"

l_.str.33:                              ; @.str.33
	.asciz	"BACKSIDE"

l_.str.34:                              ; @.str.34
	.asciz	"backside-fan"

l_.str.35:                              ; @.str.35
	.asciz	"System Fan"

l_.str.36:                              ; @.str.36
	.asciz	"System fan"

l_.str.37:                              ; @.str.37
	.asciz	"system-fan"

l_.str.38:                              ; @.str.38
	.asciz	"CPU Fan"

l_.str.39:                              ; @.str.39
	.asciz	"CPU fan"

l_.str.40:                              ; @.str.40
	.asciz	"cpu-fan"

l_.str.41:                              ; @.str.41
	.asciz	"Hard Drive"

l_.str.42:                              ; @.str.42
	.asciz	"Hard drive"

l_.str.43:                              ; @.str.43
	.asciz	"HDD Fan"

l_.str.44:                              ; @.str.44
	.asciz	"hard-drive-fan"

l_.str.45:                              ; @.str.45
	.asciz	"ODD Fan"

l_.str.46:                              ; @.str.46
	.asciz	"optical-drive-fan"

l_.str.47:                              ; @.str.47
	.asciz	"min-value"

l_.str.48:                              ; @.str.48
	.asciz	"max-value"

l_.str.49:                              ; @.str.49
	.asciz	"reg"

	.no_dead_strip	_smu_fan_create
.subsections_via_symbols
