	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f71882fg_create_fan_sysfs_files
_f71882fg_create_fan_sysfs_files:       ## @f71882fg_create_fan_sysfs_files
	.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, %r13d
	movq	%rdi, %r14
	callq	_platform_get_drvdata
	movq	%rax, %r15
	movl	(%rax), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$134, %eax
	je	LBB0_14
## %bb.2:
	cmpl	$135, %eax
	jne	LBB0_6
## %bb.3:
	movl	4(%r15), %edx
	leal	(%r13,%r13), %ecx
	movl	%edx, %eax
	sarl	%cl, %eax
	notl	%eax
	testb	$3, %al
	je	LBB0_15
	jmp	LBB0_6
LBB0_4:
	cmpl	$2, %r13d
	jne	LBB0_6
## %bb.5:
	movl	4(%r15), %edx
	movl	$4, %ecx
	testb	$32, %dl
	je	LBB0_6
LBB0_15:
                                        ## kill: def $cl killed $cl killed $ecx
	sarl	%cl, %edx
	andl	$3, %edx
	incl	%r13d
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%r13d, %ecx
	callq	_dev_err
	jmp	LBB0_16
LBB0_14:
	movl	4(%r15), %edx
	leal	(%r13,%r13), %ecx
	btl	%ecx, %edx
	jae	LBB0_15
LBB0_6:
	movq	_fxxxx_fan_attr@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r13d, %r12
	movq	(%rax,%r12,8), %rbx
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_f71882fg_create_sysfs_files
	testl	%eax, %eax
	jne	LBB0_17
## %bb.7:
	movq	_f71882fg_fan_has_beep@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	(%r15), %rcx
	cmpq	$0, (%rax,%rcx,8)
	je	LBB0_9
## %bb.8:
	movq	_fxxxx_fan_beep_attr@GOTPCREL(%rip), %rax
	leaq	(,%r12,4), %rsi
	addq	(%rax), %rsi
	movq	%r14, %rdi
	movl	$1, %edx
	callq	_f71882fg_create_sysfs_files
	testl	%eax, %eax
	jne	LBB0_17
LBB0_9:
	leal	1(%r13), %ebx
	movl	4(%r15), %eax
	leal	(%r13,%r13), %ecx
	btl	%ecx, %eax
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rcx
	cmovaeq	%rax, %rcx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_info
	movl	(%r15), %eax
	leal	-129(%rax), %ecx
	cmpl	$8, %ecx
	ja	LBB0_19
## %bb.10:
	movl	$415, %edx                      ## imm = 0x19F
	btl	%ecx, %edx
	jae	LBB0_19
## %bb.11:
	movl	%r13d, %edi
	callq	_F71882FG_REG_POINT_MAPPING
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_f71882fg_read8
	movq	8(%r15), %rcx
	movl	%eax, (%rcx,%r12,4)
	testb	$-128, %al
	jne	LBB0_13
## %bb.12:
	andl	$3, %eax
	je	LBB0_13
## %bb.18:
	movl	(%r15), %eax
LBB0_19:
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_25
## %bb.20:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_23:
	movq	_f71869_auto_pwm_attr@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_13:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_dev_warn
LBB0_16:
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	movq	_f8000_auto_pwm_attr@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_25:
	movq	_fxxxx_auto_pwm_attr@GOTPCREL(%rip), %rax
	jmp	LBB0_22
LBB0_21:
	movq	_f71862fg_auto_pwm_attr@GOTPCREL(%rip), %rax
LBB0_22:
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %rbx
	movq	(%rax), %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_f71882fg_create_sysfs_files    ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
LJTI0_0:
	.long	L0_0_set_24
	.long	L0_0_set_25
	.long	L0_0_set_25
	.long	L0_0_set_25
	.long	L0_0_set_25
	.long	L0_0_set_23
	.long	L0_0_set_21
	.long	L0_0_set_25
	.long	L0_0_set_23
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid (reserved) pwm settings: 0x%02x, skipping fan %d\n"

	.comm	_fxxxx_fan_attr,8,3             ## @fxxxx_fan_attr
	.comm	_f71882fg_fan_has_beep,8,3      ## @f71882fg_fan_has_beep
	.comm	_fxxxx_fan_beep_attr,8,3        ## @fxxxx_fan_beep_attr
L_.str.1:                               ## @.str.1
	.asciz	"Fan: %d is in %s mode\n"

L_.str.2:                               ## @.str.2
	.asciz	"duty-cycle"

L_.str.3:                               ## @.str.3
	.asciz	"RPM"

L_.str.4:                               ## @.str.4
	.asciz	"Auto pwm controlled by raw digital data, disabling pwm auto_point sysfs attributes for fan %d\n"

	.comm	_f71862fg_auto_pwm_attr,8,3     ## @f71862fg_auto_pwm_attr
	.comm	_f71869_auto_pwm_attr,8,3       ## @f71869_auto_pwm_attr
	.comm	_f8000_auto_pwm_attr,8,3        ## @f8000_auto_pwm_attr
	.comm	_fxxxx_auto_pwm_attr,8,3        ## @fxxxx_auto_pwm_attr
	.no_dead_strip	_f71882fg_create_fan_sysfs_files
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f71882fg_create_fan_sysfs_files
_f71882fg_create_fan_sysfs_files:       ; @f71882fg_create_fan_sysfs_files
	.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	x20, x1
	mov	x19, x0
	bl	_platform_get_drvdata
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #134
	b.eq	LBB0_7
; %bb.2:
	cmp	w8, #135
	b.ne	LBB0_8
; %bb.3:
	ldr	w8, [x21, #4]
	lsl	w9, w20, #1
	asr	w10, w8, w9
	mvn	w10, w10
	tst	w10, #0x3
	b.ne	LBB0_8
	b	LBB0_19
LBB0_4:
	cmp	w20, #2
	b.ne	LBB0_8
; %bb.5:
	ldr	w8, [x21, #4]
	tbz	w8, #5, LBB0_8
; %bb.6:
	mov	w9, #4
	b	LBB0_19
LBB0_7:
	ldr	w8, [x21, #4]
	lsl	w9, w20, #1
	lsr	w10, w8, w9
	tbz	w10, #0, LBB0_19
LBB0_8:
Lloh0:
	adrp	x8, _fxxxx_fan_attr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fxxxx_fan_attr@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x22, [x8, w20, sxtw #3]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	bl	_f71882fg_create_sysfs_files
	cbnz	w0, LBB0_22
; %bb.9:
	sxtw	x23, w20
Lloh3:
	adrp	x8, _f71882fg_fan_has_beep@GOTPAGE
Lloh4:
	ldr	x8, [x8, _f71882fg_fan_has_beep@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldrsw	x9, [x21]
	ldr	x8, [x8, x9, lsl #3]
	cbz	x8, LBB0_11
; %bb.10:
Lloh6:
	adrp	x8, _fxxxx_fan_beep_attr@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fxxxx_fan_beep_attr@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x1, x8, x23, lsl #2
	mov	x0, x19
	mov	w2, #1
	bl	_f71882fg_create_sysfs_files
	cbnz	w0, LBB0_22
LBB0_11:
	add	w22, w20, #1
	ldr	w8, [x21, #4]
	lsl	w9, w20, #1
	lsr	w8, w8, w9
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
Lloh11:
	adrp	x10, l_.str.3@PAGE
Lloh12:
	add	x10, x10, l_.str.3@PAGEOFF
	tst	w8, #0x1
	csel	x3, x10, x9, eq
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_info
	ldr	w8, [x21]
	sub	w9, w8, #129
	cmp	w9, #8
	b.hi	LBB0_16
; %bb.12:
	mov	w10, #1
	lsl	w9, w10, w9
	mov	w10, #415
	tst	w9, w10
	b.eq	LBB0_16
; %bb.13:
	mov	x0, x20
	bl	_F71882FG_REG_POINT_MAPPING
	mov	x1, x0
	mov	x0, x21
	bl	_f71882fg_read8
	ldr	x8, [x21, #8]
	str	w0, [x8, x23, lsl #2]
	tbnz	w0, #7, LBB0_20
; %bb.14:
	and	w8, w0, #0x3
	cbz	w8, LBB0_20
; %bb.15:
	ldr	w8, [x21]
LBB0_16:
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_24
; %bb.17:
Lloh15:
	adrp	x9, lJTI0_0@PAGE
Lloh16:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_18
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_18:
Lloh17:
	adrp	x8, _f71869_auto_pwm_attr@GOTPAGE
Lloh18:
	ldr	x8, [x8, _f71869_auto_pwm_attr@GOTPAGEOFF]
	b	LBB0_26
LBB0_19:
	asr	w8, w8, w9
	and	w2, w8, #0x3
	add	w3, w20, #1
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	b	LBB0_21
LBB0_20:
Lloh21:
	adrp	x1, l_.str.4@PAGE
Lloh22:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_dev_warn
LBB0_21:
	mov	w0, #0
LBB0_22:
	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_23:
Lloh23:
	adrp	x8, _f8000_auto_pwm_attr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _f8000_auto_pwm_attr@GOTPAGEOFF]
	b	LBB0_26
LBB0_24:
Lloh25:
	adrp	x8, _fxxxx_auto_pwm_attr@GOTPAGE
Lloh26:
	ldr	x8, [x8, _fxxxx_auto_pwm_attr@GOTPAGEOFF]
	b	LBB0_26
LBB0_25:
Lloh27:
	adrp	x8, _f71862fg_auto_pwm_attr@GOTPAGE
Lloh28:
	ldr	x8, [x8, _f71862fg_auto_pwm_attr@GOTPAGEOFF]
LBB0_26:
	ldr	x8, [x8]
	ldr	x20, [x8, x23, lsl #3]
	ldr	x0, [x8]
	bl	_ARRAY_SIZE
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	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
	b	_f71882fg_create_sysfs_files
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_23-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
	.byte	(LBB0_25-LBB0_18)>>2
	.byte	(LBB0_24-LBB0_18)>>2
	.byte	(LBB0_18-LBB0_18)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid (reserved) pwm settings: 0x%02x, skipping fan %d\n"

	.comm	_fxxxx_fan_attr,8,3             ; @fxxxx_fan_attr
	.comm	_f71882fg_fan_has_beep,8,3      ; @f71882fg_fan_has_beep
	.comm	_fxxxx_fan_beep_attr,8,3        ; @fxxxx_fan_beep_attr
l_.str.1:                               ; @.str.1
	.asciz	"Fan: %d is in %s mode\n"

l_.str.2:                               ; @.str.2
	.asciz	"duty-cycle"

l_.str.3:                               ; @.str.3
	.asciz	"RPM"

l_.str.4:                               ; @.str.4
	.asciz	"Auto pwm controlled by raw digital data, disabling pwm auto_point sysfs attributes for fan %d\n"

	.comm	_f71862fg_auto_pwm_attr,8,3     ; @f71862fg_auto_pwm_attr
	.comm	_f71869_auto_pwm_attr,8,3       ; @f71869_auto_pwm_attr
	.comm	_f8000_auto_pwm_attr,8,3        ; @f8000_auto_pwm_attr
	.comm	_fxxxx_auto_pwm_attr,8,3        ; @fxxxx_auto_pwm_attr
	.no_dead_strip	_f71882fg_create_fan_sysfs_files
.subsections_via_symbols
