	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f71805f_probe
_f71805f_probe:                         ## @f71805f_probe
	.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
	movq	%rdi, %r15
	callq	_dev_get_platdata
	movq	%rax, %r13
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movl	$40, %esi
	callq	_devm_kzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_IORESOURCE_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%r12d, %r12d
	movq	%r15, %rdi
	xorl	%edx, %edx
	callq	_platform_get_resource
	movq	%rax, %rbx
	movq	_ADDR_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rbx), %rsi
	movq	_DRVNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movl	$2, %edx
	callq	_devm_request_region
	movq	(%rbx), %rcx
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movq	%r14, %rbx
	movq	%rcx, 32(%r14)
	movq	(%r13), %rax
	leaq	_reltable.f71805f_probe(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movq	%rax, (%r14)
	movq	%r14, %rdi
	addq	$28, %rdi
	callq	_mutex_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_platform_set_drvdata
	movq	(%r13), %rax
	cmpq	$128, %rax
	je	LBB0_7
## %bb.5:
	cmpq	$129, %rax
	jne	LBB0_9
## %bb.6:
	movl	$511, 8(%rbx)                   ## imm = 0x1FF
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
	jmp	LBB0_47
LBB0_3:
	movq	_ADDR_REG_OFFSET@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rax,%rcx), %rdx
	addq	%rax, %rcx
	incq	%rcx
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_dev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_47
LBB0_7:
	movl	8(%r13), %eax
	andl	$1, %eax
	shll	$4, %eax
	orl	$1775, %eax                     ## imm = 0x6EF
	movl	%eax, 8(%rbx)
	testb	$2, 8(%r13)
	je	LBB0_9
## %bb.8:
	orl	$256, %eax                      ## imm = 0x100
	movl	%eax, 8(%rbx)
LBB0_9:
	movq	%rbx, %rdi
	callq	_f71805f_init_device
	movq	_f71805f_group@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_47
## %bb.10:
	movl	8(%rbx), %eax
	testb	$16, %al
	je	LBB0_13
## %bb.11:
	movq	_f71805f_group_optin@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_46
## %bb.12:
	movl	8(%rbx), %eax
LBB0_13:
	testl	$256, %eax                      ## imm = 0x100
	je	LBB0_16
## %bb.14:
	movq	_f71805f_group_optin@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_46
## %bb.15:
	movl	8(%rbx), %eax
LBB0_16:
	testl	$512, %eax                      ## imm = 0x200
	je	LBB0_19
## %bb.17:
	movq	_f71805f_group_optin@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$8, %rsi
	movq	%r15, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_46
## %bb.18:
	movl	8(%rbx), %eax
LBB0_19:
	testl	$1024, %eax                     ## imm = 0x400
	je	LBB0_21
## %bb.20:
	movq	_f71805f_group_optin@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	$12, %rsi
	movq	%r15, %rdi
	callq	_sysfs_create_group
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_46
LBB0_21:
	movq	%r15, %r13
	movq	16(%rbx), %rax
	movl	(%rax), %ecx
	movq	_FAN_CTRL_DC_MODE@GOTPCREL(%rip), %r14
	testl	%ecx, (%r14)
	je	LBB0_22
LBB0_24:
	movq	_FAN_CTRL_MODE_MANUAL@GOTPCREL(%rip), %r15
	testl	%ecx, (%r15)
	je	LBB0_29
## %bb.25:
	movq	_f71805f_attr_pwm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r13, %rdi
	callq	_sysfs_chmod_file
	testl	%eax, %eax
	je	LBB0_28
## %bb.26:
	movl	%eax, %r12d
	movl	$1, %edx
	jmp	LBB0_27
LBB0_22:
	movq	_f71805f_attributes_pwm_freq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%r13, %r15
	movq	%r13, %rdi
	callq	_sysfs_create_file
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_46
## %bb.23:
	movq	16(%rbx), %rax
	movl	(%rax), %ecx
	jmp	LBB0_24
LBB0_28:
	movq	16(%rbx), %rax
LBB0_29:
	movl	4(%rax), %ecx
	testl	%ecx, (%r14)
	je	LBB0_30
## %bb.32:
	testl	%ecx, (%r15)
	je	LBB0_36
LBB0_33:
	movq	_f71805f_attr_pwm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r13, %rdi
	callq	_sysfs_chmod_file
	testl	%eax, %eax
	je	LBB0_35
## %bb.34:
	movl	%eax, %r12d
	movl	$2, %edx
	jmp	LBB0_27
LBB0_30:
	movq	_f71805f_attributes_pwm_freq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	movq	%r13, %r15
	movq	%r13, %rdi
	callq	_sysfs_create_file
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_46
## %bb.31:
	movq	16(%rbx), %rax
	movl	4(%rax), %ecx
	movq	_FAN_CTRL_MODE_MANUAL@GOTPCREL(%rip), %r15
	testl	%ecx, (%r15)
	jne	LBB0_33
	jmp	LBB0_36
LBB0_35:
	movq	16(%rbx), %rax
LBB0_36:
	movl	8(%rax), %eax
	testl	%eax, (%r14)
	je	LBB0_37
## %bb.39:
	testl	%eax, (%r15)
	je	LBB0_42
LBB0_40:
	movq	_f71805f_attr_pwm@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	movq	_S_IRUGO@GOTPCREL(%rip), %rax
	movq	_S_IWUSR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	%r13, %rdi
	callq	_sysfs_chmod_file
	testl	%eax, %eax
	je	LBB0_42
## %bb.41:
	movl	%eax, %r12d
	movl	$3, %edx
LBB0_27:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
LBB0_45:
	xorl	%eax, %eax
	callq	_dev_err
	movq	%r13, %r15
LBB0_46:
	movq	_f71805f_group@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
	movq	_f71805f_group_optin@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
	movq	(%rbx), %rsi
	addq	$8, %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
	movq	(%rbx), %rsi
	addq	$12, %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
	movq	_f71805f_group_pwm_freq@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_sysfs_remove_group
LBB0_47:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	%r15, %r14
	movq	_f71805f_attributes_pwm_freq@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	movq	%r13, %r15
	movq	%r13, %rdi
	callq	_sysfs_create_file
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_46
## %bb.38:
	movq	16(%rbx), %rax
	movl	8(%rax), %eax
	movq	%r14, %r15
	testl	%eax, (%r15)
	jne	LBB0_40
LBB0_42:
	movq	%r13, %rdi
	callq	_hwmon_device_register
	movl	%eax, 24(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_43
## %bb.44:
	movl	24(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %r12d
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	movl	%eax, %edx
	jmp	LBB0_45
LBB0_43:
	xorl	%r12d, %r12d
	jmp	LBB0_47
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.f71805f_probe
_reltable.f71805f_probe:
	.long	L_.str-_reltable.f71805f_probe
	.long	L_.str.1-_reltable.f71805f_probe

	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"f71805f"

L_.str.1:                               ## @.str.1
	.asciz	"f71872f"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_IORESOURCE_IO,4,2              ## @IORESOURCE_IO
	.comm	_ADDR_REG_OFFSET,8,3            ## @ADDR_REG_OFFSET
	.comm	_DRVNAME,4,2                    ## @DRVNAME
L_.str.2:                               ## @.str.2
	.asciz	"Failed to request region 0x%lx-0x%lx\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_f71805f_group,4,2              ## @f71805f_group
	.comm	_f71805f_group_optin,8,3        ## @f71805f_group_optin
	.comm	_FAN_CTRL_DC_MODE,4,2           ## @FAN_CTRL_DC_MODE
	.comm	_f71805f_attributes_pwm_freq,8,3 ## @f71805f_attributes_pwm_freq
	.comm	_FAN_CTRL_MODE_MANUAL,4,2       ## @FAN_CTRL_MODE_MANUAL
	.comm	_f71805f_attr_pwm,8,3           ## @f71805f_attr_pwm
	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
L_.str.3:                               ## @.str.3
	.asciz	"chmod +w pwm%d failed\n"

L_.str.4:                               ## @.str.4
	.asciz	"Class registration failed (%d)\n"

	.comm	_f71805f_group_pwm_freq,4,2     ## @f71805f_group_pwm_freq
	.no_dead_strip	_f71805f_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f71805f_probe
_f71805f_probe:                         ; @f71805f_probe
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x19, x0
	bl	_dev_get_platdata
	mov	x21, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w1, #40
	bl	_devm_kzalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _IORESOURCE_IO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IORESOURCE_IO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_platform_get_resource
	mov	x22, x0
Lloh6:
	adrp	x23, _ADDR_REG_OFFSET@GOTPAGE
Lloh7:
	ldr	x23, [x23, _ADDR_REG_OFFSET@GOTPAGEOFF]
	ldr	x8, [x0]
	ldr	x9, [x23]
	add	x1, x9, x8
Lloh8:
	adrp	x8, _DRVNAME@GOTPAGE
Lloh9:
	ldr	x8, [x8, _DRVNAME@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x19
	mov	w2, #2
	bl	_devm_request_region
	ldr	x8, [x22]
	cbz	w0, LBB0_6
; %bb.2:
	str	x8, [x20, #32]
	ldr	x8, [x21]
Lloh11:
	adrp	x9, _f71805f_probe.names@PAGE
Lloh12:
	add	x9, x9, _f71805f_probe.names@PAGEOFF
	ldr	x8, [x9, x8, lsl #3]
	str	x8, [x20]
	add	x0, x20, #28
	bl	_mutex_init
	mov	x0, x19
	mov	x1, x20
	bl	_platform_set_drvdata
	ldr	x8, [x21]
	cmp	x8, #128
	b.eq	LBB0_8
; %bb.3:
	cmp	x8, #129
	b.ne	LBB0_11
; %bb.4:
	mov	w8, #511
	b	LBB0_10
LBB0_5:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
	ldr	x9, [x23]
	add	x2, x9, x8
	add	x8, x2, #1
	str	x8, [sp]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_dev_err
Lloh17:
	adrp	x8, _EBUSY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_7:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_44
LBB0_8:
	ldr	w8, [x21, #8]
	tst	w8, #0x1
	mov	w8, #1791
	mov	w9, #1775
	csel	w8, w9, w8, eq
	str	w8, [x20, #8]
	ldrb	w9, [x21, #8]
	tbz	w9, #1, LBB0_11
; %bb.9:
	orr	w8, w8, #0x100
LBB0_10:
	str	w8, [x20, #8]
LBB0_11:
	mov	x0, x20
	bl	_f71805f_init_device
Lloh19:
	adrp	x1, _f71805f_group@GOTPAGE
Lloh20:
	ldr	x1, [x1, _f71805f_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_44
; %bb.12:
	ldr	w8, [x20, #8]
Lloh21:
	adrp	x22, _f71805f_group_optin@GOTPAGE
Lloh22:
	ldr	x22, [x22, _f71805f_group_optin@GOTPAGEOFF]
	tbz	w8, #4, LBB0_15
; %bb.13:
	ldr	x1, [x22]
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_43
; %bb.14:
	ldr	w8, [x20, #8]
LBB0_15:
	tbz	w8, #8, LBB0_18
; %bb.16:
	ldr	x8, [x22]
	add	x1, x8, #4
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_43
; %bb.17:
	ldr	w8, [x20, #8]
LBB0_18:
	tbz	w8, #9, LBB0_21
; %bb.19:
	ldr	x8, [x22]
	add	x1, x8, #8
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_43
; %bb.20:
	ldr	w8, [x20, #8]
LBB0_21:
	tbz	w8, #10, LBB0_23
; %bb.22:
	ldr	x8, [x22]
	add	x1, x8, #12
	mov	x0, x19
	bl	_sysfs_create_group
	mov	x21, x0
	cbnz	w0, LBB0_43
LBB0_23:
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
Lloh23:
	adrp	x23, _FAN_CTRL_DC_MODE@GOTPAGE
Lloh24:
	ldr	x23, [x23, _FAN_CTRL_DC_MODE@GOTPAGEOFF]
	ldr	w10, [x23]
	tst	w10, w9
	b.eq	LBB0_27
LBB0_24:
Lloh25:
	adrp	x24, _FAN_CTRL_MODE_MANUAL@GOTPAGE
Lloh26:
	ldr	x24, [x24, _FAN_CTRL_MODE_MANUAL@GOTPAGEOFF]
	ldr	w10, [x24]
	tst	w10, w9
	b.eq	LBB0_30
; %bb.25:
Lloh27:
	adrp	x8, _f71805f_attr_pwm@GOTPAGE
Lloh28:
	ldr	x8, [x8, _f71805f_attr_pwm@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _S_IRUGO@GOTPAGE
Lloh31:
	ldr	x9, [x9, _S_IRUGO@GOTPAGEOFF]
	ldr	w1, [x8]
Lloh32:
	ldr	w8, [x9]
Lloh33:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh34:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_sysfs_chmod_file
	cbz	w0, LBB0_29
; %bb.26:
	mov	x21, x0
	mov	w2, #1
	b	LBB0_41
LBB0_27:
Lloh36:
	adrp	x8, _f71805f_attributes_pwm_freq@GOTPAGE
Lloh37:
	ldr	x8, [x8, _f71805f_attributes_pwm_freq@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_sysfs_create_file
	mov	x21, x0
	cbnz	w0, LBB0_43
; %bb.28:
	ldr	x8, [x20, #16]
	ldr	w9, [x8]
	b	LBB0_24
LBB0_29:
	ldr	x8, [x20, #16]
LBB0_30:
	ldr	w9, [x8, #4]
	ldr	w10, [x23]
	tst	w10, w9
	b.eq	LBB0_34
LBB0_31:
	ldr	w10, [x24]
	tst	w10, w9
	b.eq	LBB0_37
; %bb.32:
Lloh39:
	adrp	x8, _f71805f_attr_pwm@GOTPAGE
Lloh40:
	ldr	x8, [x8, _f71805f_attr_pwm@GOTPAGEOFF]
Lloh41:
	ldr	x8, [x8]
Lloh42:
	adrp	x9, _S_IRUGO@GOTPAGE
Lloh43:
	ldr	x9, [x9, _S_IRUGO@GOTPAGEOFF]
	ldr	w1, [x8, #4]
Lloh44:
	ldr	w8, [x9]
Lloh45:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh46:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_sysfs_chmod_file
	cbz	w0, LBB0_36
; %bb.33:
	mov	x21, x0
	mov	w2, #2
	b	LBB0_41
LBB0_34:
Lloh48:
	adrp	x8, _f71805f_attributes_pwm_freq@GOTPAGE
Lloh49:
	ldr	x8, [x8, _f71805f_attributes_pwm_freq@GOTPAGEOFF]
Lloh50:
	ldr	x8, [x8]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_sysfs_create_file
	mov	x21, x0
	cbnz	w0, LBB0_43
; %bb.35:
	ldr	x8, [x20, #16]
	ldr	w9, [x8, #4]
	b	LBB0_31
LBB0_36:
	ldr	x8, [x20, #16]
LBB0_37:
	ldr	w8, [x8, #8]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_47
LBB0_38:
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_45
; %bb.39:
Lloh51:
	adrp	x8, _f71805f_attr_pwm@GOTPAGE
Lloh52:
	ldr	x8, [x8, _f71805f_attr_pwm@GOTPAGEOFF]
Lloh53:
	ldr	x8, [x8]
Lloh54:
	adrp	x9, _S_IRUGO@GOTPAGE
Lloh55:
	ldr	x9, [x9, _S_IRUGO@GOTPAGEOFF]
	ldr	w1, [x8, #8]
Lloh56:
	ldr	w8, [x9]
Lloh57:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh58:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_sysfs_chmod_file
	cbz	w0, LBB0_45
; %bb.40:
	mov	x21, x0
	mov	w2, #3
LBB0_41:
Lloh60:
	adrp	x1, l_.str.3@PAGE
Lloh61:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
LBB0_42:
	bl	_dev_err
LBB0_43:
Lloh62:
	adrp	x1, _f71805f_group@GOTPAGE
Lloh63:
	ldr	x1, [x1, _f71805f_group@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
	ldr	x1, [x22]
	mov	x0, x19
	bl	_sysfs_remove_group
	ldr	x8, [x22]
	add	x1, x8, #4
	mov	x0, x19
	bl	_sysfs_remove_group
	ldr	x8, [x22]
	add	x1, x8, #8
	mov	x0, x19
	bl	_sysfs_remove_group
	ldr	x8, [x22]
	add	x1, x8, #12
	mov	x0, x19
	bl	_sysfs_remove_group
Lloh64:
	adrp	x1, _f71805f_group_pwm_freq@GOTPAGE
Lloh65:
	ldr	x1, [x1, _f71805f_group_pwm_freq@GOTPAGEOFF]
	mov	x0, x19
	bl	_sysfs_remove_group
LBB0_44:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_45:
	mov	x0, x19
	bl	_hwmon_device_register
	str	w0, [x20, #24]
	bl	_IS_ERR
	cbz	x0, LBB0_49
; %bb.46:
	ldr	w0, [x20, #24]
	bl	_PTR_ERR
	mov	x21, x0
Lloh66:
	adrp	x1, l_.str.4@PAGE
Lloh67:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	x2, x21
	b	LBB0_42
LBB0_47:
Lloh68:
	adrp	x8, _f71805f_attributes_pwm_freq@GOTPAGE
Lloh69:
	ldr	x8, [x8, _f71805f_attributes_pwm_freq@GOTPAGEOFF]
Lloh70:
	ldr	x8, [x8]
	ldr	w1, [x8, #8]
	mov	x0, x19
	bl	_sysfs_create_file
	mov	x21, x0
	cbnz	w0, LBB0_43
; %bb.48:
	ldr	x8, [x20, #16]
	ldr	w8, [x8, #8]
	b	LBB0_38
LBB0_49:
	mov	w21, #0
	b	LBB0_44
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpLdrGot	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh62, Lloh63
	.loh AdrpAdd	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__const
	.p2align	3                               ; @f71805f_probe.names
_f71805f_probe.names:
	.quad	l_.str
	.quad	l_.str.1

	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"f71805f"

l_.str.1:                               ; @.str.1
	.asciz	"f71872f"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_IORESOURCE_IO,4,2              ; @IORESOURCE_IO
	.comm	_ADDR_REG_OFFSET,8,3            ; @ADDR_REG_OFFSET
	.comm	_DRVNAME,4,2                    ; @DRVNAME
l_.str.2:                               ; @.str.2
	.asciz	"Failed to request region 0x%lx-0x%lx\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_f71805f_group,4,2              ; @f71805f_group
	.comm	_f71805f_group_optin,8,3        ; @f71805f_group_optin
	.comm	_FAN_CTRL_DC_MODE,4,2           ; @FAN_CTRL_DC_MODE
	.comm	_f71805f_attributes_pwm_freq,8,3 ; @f71805f_attributes_pwm_freq
	.comm	_FAN_CTRL_MODE_MANUAL,4,2       ; @FAN_CTRL_MODE_MANUAL
	.comm	_f71805f_attr_pwm,8,3           ; @f71805f_attr_pwm
	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
l_.str.3:                               ; @.str.3
	.asciz	"chmod +w pwm%d failed\n"

l_.str.4:                               ; @.str.4
	.asciz	"Class registration failed (%d)\n"

	.comm	_f71805f_group_pwm_freq,4,2     ; @f71805f_group_pwm_freq
	.no_dead_strip	_f71805f_probe
.subsections_via_symbols
