	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pc87427_init_device
_pc87427_init_device:                   ## @pc87427_init_device
	.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, %rbx
	callq	_dev_get_platdata
	movq	%rax, %r12
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_dev_get_drvdata
	movq	%rax, %r15
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_PC87427_REG_BANK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_pc87427_read8
	testb	$-128, %al
	jne	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_warn
LBB0_2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incl	%ebx
	cmpl	$8, %ebx
	je	LBB0_7
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %eax
	movl	$1, %r14d
	movl	%ebx, %ecx
	shll	%cl, %r14d
	btl	%ebx, %eax
	jae	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	%ebx, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	orl	%r14d, (%r15)
	jmp	LBB0_6
LBB0_7:
	cmpl	$0, (%r15)
	je	LBB0_8
## %bb.25:
	testb	$1, 4(%r12)
	jne	LBB0_26
	jmp	LBB0_30
LBB0_8:
	leaq	L_.str.2(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	(%r12), %eax
	testb	$1, %al
	jne	LBB0_9
## %bb.10:
	testb	$2, %al
	jne	LBB0_11
LBB0_12:
	testb	$4, %al
	jne	LBB0_13
LBB0_14:
	testb	$8, %al
	jne	LBB0_15
LBB0_16:
	testb	$16, %al
	jne	LBB0_17
LBB0_18:
	testb	$32, %al
	jne	LBB0_19
LBB0_20:
	testb	$64, %al
	jne	LBB0_21
LBB0_22:
	testb	$-128, %al
	je	LBB0_24
LBB0_23:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$7, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_write8_bank
	movl	(%r12), %eax
LBB0_24:
	movl	%eax, (%r15)
	testb	$1, 4(%r12)
	je	LBB0_30
LBB0_26:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_BANK_FC
	movq	_PC87427_REG_PWM_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	movq	_PWM_ENABLE_CTLEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
## %bb.27:
	orb	$1, 4(%r15)
LBB0_28:
	movq	_PWM_ENABLE_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_PWM_MODE_AUTO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_30
## %bb.29:
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$1, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	orb	$1, 8(%r15)
LBB0_30:
	testb	$2, 4(%r12)
	je	LBB0_35
## %bb.31:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, %edi
	callq	_BANK_FC
	movq	_PC87427_REG_PWM_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	movq	_PWM_ENABLE_CTLEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_33
## %bb.32:
	orb	$2, 4(%r15)
LBB0_33:
	movq	_PWM_ENABLE_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_PWM_MODE_AUTO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_35
## %bb.34:
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$2, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	orb	$2, 8(%r15)
LBB0_35:
	testb	$4, 4(%r12)
	je	LBB0_40
## %bb.36:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$2, %edi
	callq	_BANK_FC
	movq	_PC87427_REG_PWM_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	movq	_PWM_ENABLE_CTLEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_38
## %bb.37:
	orb	$4, 4(%r15)
LBB0_38:
	movq	_PWM_ENABLE_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_PWM_MODE_AUTO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_40
## %bb.39:
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$3, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	orb	$4, 8(%r15)
LBB0_40:
	testb	$8, 4(%r12)
	je	LBB0_45
## %bb.41:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$3, %edi
	callq	_BANK_FC
	movq	_PC87427_REG_PWM_ENABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	movq	_PWM_ENABLE_CTLEN@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_43
## %bb.42:
	orb	$8, 4(%r15)
LBB0_43:
	movq	_PWM_ENABLE_MODE_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movq	_PWM_MODE_AUTO@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_45
## %bb.44:
	leaq	L_.str.3(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	$4, %edx
	xorl	%eax, %eax
	callq	_dev_dbg
	orb	$8, 8(%r15)
LBB0_45:
	movq	_LD_TEMP@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_PC87427_REG_BANK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_pc87427_read8
	testb	$-128, %al
	jne	LBB0_47
## %bb.46:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_dev_warn
LBB0_47:
	movl	(%r14), %ebx
	xorl	%edi, %edi
	callq	_BANK_TM
	movq	_PC87427_REG_TEMP_STATUS@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	movq	_TEMP_STATUS_CHANEN@GOTPCREL(%rip), %r13
	testl	%eax, (%r13)
	je	LBB0_49
## %bb.48:
	orb	$1, 12(%r15)
LBB0_49:
	movl	(%r14), %ebx
	movl	$1, %edi
	callq	_BANK_TM
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	testl	%eax, (%r13)
	je	LBB0_51
## %bb.50:
	orb	$2, 12(%r15)
LBB0_51:
	movl	(%r14), %ebx
	movl	$2, %edi
	callq	_BANK_TM
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	testl	%eax, (%r13)
	je	LBB0_53
## %bb.52:
	orb	$4, 12(%r15)
LBB0_53:
	movl	(%r14), %ebx
	movl	$3, %edi
	callq	_BANK_TM
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	testl	%eax, (%r13)
	je	LBB0_55
## %bb.54:
	orb	$8, 12(%r15)
LBB0_55:
	movl	(%r14), %ebx
	movl	$4, %edi
	callq	_BANK_TM
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	testl	%eax, (%r13)
	je	LBB0_57
## %bb.56:
	orb	$16, 12(%r15)
LBB0_57:
	movl	(%r14), %ebx
	movl	$5, %edi
	callq	_BANK_TM
	movl	(%r12), %ecx
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_read8_bank
	testl	%eax, (%r13)
	je	LBB0_59
## %bb.58:
	orb	$32, 12(%r15)
LBB0_59:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	xorl	%edi, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_write8_bank
	movl	(%r12), %eax
	testb	$2, %al
	je	LBB0_12
LBB0_11:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$1, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_write8_bank
	movl	(%r12), %eax
	testb	$4, %al
	je	LBB0_14
LBB0_13:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$2, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_write8_bank
	movl	(%r12), %eax
	testb	$8, %al
	je	LBB0_16
LBB0_15:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$3, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_write8_bank
	movl	(%r12), %eax
	testb	$16, %al
	je	LBB0_18
LBB0_17:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$4, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_write8_bank
	movl	(%r12), %eax
	testb	$32, %al
	je	LBB0_20
LBB0_19:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$5, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_write8_bank
	movl	(%r12), %eax
	testb	$64, %al
	je	LBB0_22
LBB0_21:
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	$6, %edi
	callq	_BANK_FM
	movq	_PC87427_REG_FAN_STATUS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_FAN_STATUS_MONEN@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r8d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_pc87427_write8_bank
	movl	(%r12), %eax
	testb	$-128, %al
	jne	LBB0_23
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_LD_FAN,4,2                     ## @LD_FAN
	.comm	_PC87427_REG_BANK,4,2           ## @PC87427_REG_BANK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s module not ready!\n"

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

	.comm	_PC87427_REG_FAN_STATUS,4,2     ## @PC87427_REG_FAN_STATUS
	.comm	_FAN_STATUS_MONEN,4,2           ## @FAN_STATUS_MONEN
L_.str.2:                               ## @.str.2
	.asciz	"Enabling monitoring of all fans\n"

	.comm	_PC87427_REG_PWM_ENABLE,4,2     ## @PC87427_REG_PWM_ENABLE
	.comm	_PWM_ENABLE_CTLEN,4,2           ## @PWM_ENABLE_CTLEN
	.comm	_PWM_ENABLE_MODE_MASK,4,2       ## @PWM_ENABLE_MODE_MASK
	.comm	_PWM_MODE_AUTO,4,2              ## @PWM_MODE_AUTO
L_.str.3:                               ## @.str.3
	.asciz	"PWM%d is in automatic control mode\n"

	.comm	_LD_TEMP,4,2                    ## @LD_TEMP
L_.str.4:                               ## @.str.4
	.asciz	"HMC"

	.comm	_PC87427_REG_TEMP_STATUS,4,2    ## @PC87427_REG_TEMP_STATUS
	.comm	_TEMP_STATUS_CHANEN,4,2         ## @TEMP_STATUS_CHANEN
	.no_dead_strip	_pc87427_init_device
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pc87427_init_device
_pc87427_init_device:                   ; @pc87427_init_device
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x0
	bl	_dev_get_platdata
	mov	x21, x0
	mov	x0, x20
	bl	_dev_get_drvdata
	mov	x19, x0
Lloh0:
	adrp	x25, _LD_FAN@GOTPAGE
Lloh1:
	ldr	x25, [x25, _LD_FAN@GOTPAGEOFF]
	ldr	w1, [x25]
Lloh2:
	adrp	x8, _PC87427_REG_BANK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PC87427_REG_BANK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_pc87427_read8
	tbnz	w0, #7, LBB0_2
; %bb.1:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
LBB0_2:
	mov	w22, #0
	mov	w28, #1
Lloh9:
	adrp	x26, _PC87427_REG_FAN_STATUS@GOTPAGE
Lloh10:
	ldr	x26, [x26, _PC87427_REG_FAN_STATUS@GOTPAGEOFF]
Lloh11:
	adrp	x27, _FAN_STATUS_MONEN@GOTPAGE
Lloh12:
	ldr	x27, [x27, _FAN_STATUS_MONEN@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w22, w22, #1
	cmp	w22, #8
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x21]
	lsl	w24, w28, w22
	tst	w8, w24
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w23, [x25]
	mov	x0, x22
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	mov	x0, x19
	mov	x1, x23
	bl	_pc87427_read8_bank
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x19]
	orr	w8, w8, w24
	str	w8, [x19]
	b	LBB0_3
LBB0_7:
	ldr	w8, [x19]
	cbnz	w8, LBB0_18
; %bb.8:
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w8, [x21]
	tbnz	w8, #0, LBB0_53
; %bb.9:
	tbnz	w8, #1, LBB0_54
LBB0_10:
	tbnz	w8, #2, LBB0_55
LBB0_11:
	tbnz	w8, #3, LBB0_56
LBB0_12:
	tbnz	w8, #4, LBB0_57
LBB0_13:
	tbnz	w8, #5, LBB0_58
LBB0_14:
	tbnz	w8, #6, LBB0_59
LBB0_15:
	tbz	w8, #7, LBB0_17
LBB0_16:
	ldr	w22, [x25]
	mov	w0, #7
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w4, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_write8_bank
	ldr	w8, [x21]
LBB0_17:
	str	w8, [x19]
LBB0_18:
	ldrb	w8, [x21, #4]
Lloh15:
	adrp	x28, _PC87427_REG_PWM_ENABLE@GOTPAGE
Lloh16:
	ldr	x28, [x28, _PC87427_REG_PWM_ENABLE@GOTPAGEOFF]
Lloh17:
	adrp	x27, _PWM_ENABLE_CTLEN@GOTPAGE
Lloh18:
	ldr	x27, [x27, _PWM_ENABLE_CTLEN@GOTPAGEOFF]
Lloh19:
	adrp	x26, _PWM_ENABLE_MODE_MASK@GOTPAGE
Lloh20:
	ldr	x26, [x26, _PWM_ENABLE_MODE_MASK@GOTPAGEOFF]
Lloh21:
	adrp	x23, _PWM_MODE_AUTO@GOTPAGE
Lloh22:
	ldr	x23, [x23, _PWM_MODE_AUTO@GOTPAGEOFF]
	tbz	w8, #0, LBB0_23
; %bb.19:
	ldr	w22, [x25]
	mov	w0, #0
	bl	_BANK_FC
	mov	x2, x0
	ldr	w3, [x28]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_read8_bank
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_21
; %bb.20:
	ldr	w8, [x19, #4]
	orr	w8, w8, #0x1
	str	w8, [x19, #4]
LBB0_21:
	ldr	w8, [x26]
	and	w8, w8, w0
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_23
; %bb.22:
	mov	w8, #1
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w8, [x19, #8]
	orr	w8, w8, #0x1
	str	w8, [x19, #8]
LBB0_23:
	ldrb	w8, [x21, #4]
	tbz	w8, #1, LBB0_28
; %bb.24:
	ldr	w22, [x25]
	mov	w0, #1
	bl	_BANK_FC
	mov	x2, x0
	ldr	w3, [x28]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_read8_bank
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_26
; %bb.25:
	ldr	w8, [x19, #4]
	orr	w8, w8, #0x2
	str	w8, [x19, #4]
LBB0_26:
	ldr	w8, [x26]
	and	w8, w8, w0
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_28
; %bb.27:
	mov	w8, #2
	str	x8, [sp]
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w8, [x19, #8]
	orr	w8, w8, #0x2
	str	w8, [x19, #8]
LBB0_28:
	ldrb	w8, [x21, #4]
	tbz	w8, #2, LBB0_33
; %bb.29:
	ldr	w22, [x25]
	mov	w0, #2
	bl	_BANK_FC
	mov	x2, x0
	ldr	w3, [x28]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_read8_bank
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_31
; %bb.30:
	ldr	w8, [x19, #4]
	orr	w8, w8, #0x4
	str	w8, [x19, #4]
LBB0_31:
	ldr	w8, [x26]
	and	w8, w8, w0
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_33
; %bb.32:
	mov	w8, #3
	str	x8, [sp]
Lloh27:
	adrp	x1, l_.str.3@PAGE
Lloh28:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w8, [x19, #8]
	orr	w8, w8, #0x4
	str	w8, [x19, #8]
LBB0_33:
	ldrb	w8, [x21, #4]
	tbz	w8, #3, LBB0_38
; %bb.34:
	ldr	w21, [x25]
	mov	w0, #3
	bl	_BANK_FC
	mov	x2, x0
	ldr	w3, [x28]
	mov	x0, x19
	mov	x1, x21
	bl	_pc87427_read8_bank
	ldr	w8, [x27]
	tst	w8, w0
	b.eq	LBB0_36
; %bb.35:
	ldr	w8, [x19, #4]
	orr	w8, w8, #0x8
	str	w8, [x19, #4]
LBB0_36:
	ldr	w8, [x26]
	and	w8, w8, w0
	ldr	w9, [x23]
	cmp	w8, w9
	b.ne	LBB0_38
; %bb.37:
	mov	w8, #4
	str	x8, [sp]
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	bl	_dev_dbg
	ldr	w8, [x19, #8]
	orr	w8, w8, #0x8
	str	w8, [x19, #8]
LBB0_38:
Lloh31:
	adrp	x21, _LD_TEMP@GOTPAGE
Lloh32:
	ldr	x21, [x21, _LD_TEMP@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh33:
	adrp	x8, _PC87427_REG_BANK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _PC87427_REG_BANK@GOTPAGEOFF]
Lloh35:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_pc87427_read8
	tbnz	w0, #7, LBB0_40
; %bb.39:
Lloh36:
	adrp	x1, l_.str@PAGE
Lloh37:
	add	x1, x1, l_.str@PAGEOFF
Lloh38:
	adrp	x2, l_.str.4@PAGE
Lloh39:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	x0, x20
	bl	_dev_warn
LBB0_40:
	ldr	w20, [x21]
	mov	w0, #0
	bl	_BANK_TM
	mov	x2, x0
Lloh40:
	adrp	x22, _PC87427_REG_TEMP_STATUS@GOTPAGE
Lloh41:
	ldr	x22, [x22, _PC87427_REG_TEMP_STATUS@GOTPAGEOFF]
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_pc87427_read8_bank
Lloh42:
	adrp	x23, _TEMP_STATUS_CHANEN@GOTPAGE
Lloh43:
	ldr	x23, [x23, _TEMP_STATUS_CHANEN@GOTPAGEOFF]
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_42
; %bb.41:
	ldr	w8, [x19, #12]
	orr	w8, w8, #0x1
	str	w8, [x19, #12]
LBB0_42:
	ldr	w20, [x21]
	mov	w0, #1
	bl	_BANK_TM
	mov	x2, x0
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_pc87427_read8_bank
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_44
; %bb.43:
	ldr	w8, [x19, #12]
	orr	w8, w8, #0x2
	str	w8, [x19, #12]
LBB0_44:
	ldr	w20, [x21]
	mov	w0, #2
	bl	_BANK_TM
	mov	x2, x0
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_pc87427_read8_bank
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_46
; %bb.45:
	ldr	w8, [x19, #12]
	orr	w8, w8, #0x4
	str	w8, [x19, #12]
LBB0_46:
	ldr	w20, [x21]
	mov	w0, #3
	bl	_BANK_TM
	mov	x2, x0
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_pc87427_read8_bank
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_48
; %bb.47:
	ldr	w8, [x19, #12]
	orr	w8, w8, #0x8
	str	w8, [x19, #12]
LBB0_48:
	ldr	w20, [x21]
	mov	w0, #4
	bl	_BANK_TM
	mov	x2, x0
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_pc87427_read8_bank
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_50
; %bb.49:
	ldr	w8, [x19, #12]
	orr	w8, w8, #0x10
	str	w8, [x19, #12]
LBB0_50:
	ldr	w20, [x21]
	mov	w0, #5
	bl	_BANK_TM
	mov	x2, x0
	ldr	w3, [x22]
	mov	x0, x19
	mov	x1, x20
	bl	_pc87427_read8_bank
	ldr	w8, [x23]
	tst	w8, w0
	b.eq	LBB0_52
; %bb.51:
	ldr	w8, [x19, #12]
	orr	w8, w8, #0x20
	str	w8, [x19, #12]
LBB0_52:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_53:
	ldr	w22, [x25]
	mov	w0, #0
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w4, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_write8_bank
	ldr	w8, [x21]
	tbz	w8, #1, LBB0_10
LBB0_54:
	ldr	w22, [x25]
	mov	w0, #1
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w4, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_write8_bank
	ldr	w8, [x21]
	tbz	w8, #2, LBB0_11
LBB0_55:
	ldr	w22, [x25]
	mov	w0, #2
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w4, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_write8_bank
	ldr	w8, [x21]
	tbz	w8, #3, LBB0_12
LBB0_56:
	ldr	w22, [x25]
	mov	w0, #3
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w4, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_write8_bank
	ldr	w8, [x21]
	tbz	w8, #4, LBB0_13
LBB0_57:
	ldr	w22, [x25]
	mov	w0, #4
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w4, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_write8_bank
	ldr	w8, [x21]
	tbz	w8, #5, LBB0_14
LBB0_58:
	ldr	w22, [x25]
	mov	w0, #5
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w4, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_write8_bank
	ldr	w8, [x21]
	tbz	w8, #6, LBB0_15
LBB0_59:
	ldr	w22, [x25]
	mov	w0, #6
	bl	_BANK_FM
	mov	x2, x0
	ldr	w3, [x26]
	ldr	w4, [x27]
	mov	x0, x19
	mov	x1, x22
	bl	_pc87427_write8_bank
	ldr	w8, [x21]
	tbnz	w8, #7, LBB0_16
	b	LBB0_17
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_LD_FAN,4,2                     ; @LD_FAN
	.comm	_PC87427_REG_BANK,4,2           ; @PC87427_REG_BANK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s module not ready!\n"

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

	.comm	_PC87427_REG_FAN_STATUS,4,2     ; @PC87427_REG_FAN_STATUS
	.comm	_FAN_STATUS_MONEN,4,2           ; @FAN_STATUS_MONEN
l_.str.2:                               ; @.str.2
	.asciz	"Enabling monitoring of all fans\n"

	.comm	_PC87427_REG_PWM_ENABLE,4,2     ; @PC87427_REG_PWM_ENABLE
	.comm	_PWM_ENABLE_CTLEN,4,2           ; @PWM_ENABLE_CTLEN
	.comm	_PWM_ENABLE_MODE_MASK,4,2       ; @PWM_ENABLE_MODE_MASK
	.comm	_PWM_MODE_AUTO,4,2              ; @PWM_MODE_AUTO
l_.str.3:                               ; @.str.3
	.asciz	"PWM%d is in automatic control mode\n"

	.comm	_LD_TEMP,4,2                    ; @LD_TEMP
l_.str.4:                               ; @.str.4
	.asciz	"HMC"

	.comm	_PC87427_REG_TEMP_STATUS,4,2    ; @PC87427_REG_TEMP_STATUS
	.comm	_TEMP_STATUS_CHANEN,4,2         ; @TEMP_STATUS_CHANEN
	.no_dead_strip	_pc87427_init_device
.subsections_via_symbols
