	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function npcm7xx_check_cmp
_npcm7xx_check_cmp:                     ## @npcm7xx_check_cmp
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_NPCM7XX_FAN_INPUT
	movq	_NPCM7XX_FAN_CMPA@GOTPCREL(%rip), %rcx
	movq	_NPCM7XX_FAN_TIEN_TAIEN@GOTPCREL(%rip), %rdx
	movq	_NPCM7XX_FAN_TIEN_TBIEN@GOTPCREL(%rip), %rsi
	movq	_NPCM7XX_FAN_TIEN_TEIEN@GOTPCREL(%rip), %rdi
	movq	(%rdi), %rdi
	movq	_NPCM7XX_FAN_TIEN_TFIEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rbx
	orq	(%rdx), %rdi
	orq	(%rsi), %rbx
	movq	(%rcx), %rcx
	movq	_NPCM7XX_FAN_TICLR_TACLR@GOTPCREL(%rip), %r9
	movq	_NPCM7XX_FAN_TICLR_TBCLR@GOTPCREL(%rip), %r8
	movq	_NPCM7XX_FAN_TICLR_TECLR@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	movq	_NPCM7XX_FAN_TICLR_TFCLR@GOTPCREL(%rip), %rdx
	orq	(%r9), %rsi
	movq	(%rdx), %r15
	orq	(%r8), %r15
	cmpq	%r14, %rcx
	cmoveq	%rdi, %rbx
	cmoveq	%rsi, %r15
	movq	_NPCM7XX_FAN_TICTRL_TFPND@GOTPCREL(%rip), %rdx
	cmoveq	_NPCM7XX_FAN_TICTRL_TEPND@GOTPCREL(%rip), %rdx
	movq	_NPCM7XX_FAN_TCKC_CLK2_APB@GOTPCREL(%rip), %rsi
	cmoveq	_NPCM7XX_FAN_TCKC_CLK1_APB@GOTPCREL(%rip), %rsi
	movq	(%rsi), %r9
	testq	%r13, (%rdx)
	je	LBB0_2
## %bb.1:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	movl	8(%r14), %edi
	movq	%r12, %rsi
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r9, %r13
	callq	_NPCM7XX_FAN_REG_TIEN
	movl	%eax, %edi
	callq	_ioread8
	notq	%rbx
	andq	%rax, %rbx
	movl	8(%r14), %edi
	movq	%r12, %rsi
	callq	_NPCM7XX_FAN_REG_TIEN
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_iowrite8
	movl	8(%r14), %edi
	movq	%r12, %rsi
	callq	_NPCM7XX_FAN_REG_TICLR
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_iowrite8
	movl	8(%r14), %edi
	movq	%r12, %rsi
	callq	_NPCM7XX_FAN_REG_TCKC
	movl	%eax, %edi
	callq	_ioread8
	notq	%r13
	andq	%rax, %r13
	movl	8(%r14), %edi
	movq	%r12, %rsi
	callq	_NPCM7XX_FAN_REG_TCKC
	movq	%r13, %rdi
	movl	%eax, %esi
	callq	_iowrite8
	movq	(%r14), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	$0, (%rax,%rcx,8)
	jmp	LBB0_7
LBB0_2:
	cmpq	%r14, %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_3
## %bb.4:
	movq	_NPCM7XX_FAN_TICTRL_TAPND@GOTPCREL(%rip), %rcx
	testq	%r13, (%rcx)
	jne	LBB0_6
	jmp	LBB0_7
LBB0_3:
	movq	_NPCM7XX_FAN_TICTRL_TBPND@GOTPCREL(%rip), %rcx
	testq	%r13, (%rcx)
	je	LBB0_7
LBB0_6:
	movq	%r15, (%rsp)
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%rax, %rcx
	movq	%rbx, %r8
	callq	_npcm7xx_fan_compute
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPCM7XX_FAN_CMPA,8,3           ## @NPCM7XX_FAN_CMPA
	.comm	_NPCM7XX_FAN_TICTRL_TAPND,8,3   ## @NPCM7XX_FAN_TICTRL_TAPND
	.comm	_NPCM7XX_FAN_TICTRL_TEPND,8,3   ## @NPCM7XX_FAN_TICTRL_TEPND
	.comm	_NPCM7XX_FAN_TIEN_TAIEN,8,3     ## @NPCM7XX_FAN_TIEN_TAIEN
	.comm	_NPCM7XX_FAN_TIEN_TEIEN,8,3     ## @NPCM7XX_FAN_TIEN_TEIEN
	.comm	_NPCM7XX_FAN_TCKC_CLK1_APB,8,3  ## @NPCM7XX_FAN_TCKC_CLK1_APB
	.comm	_NPCM7XX_FAN_TICLR_TACLR,8,3    ## @NPCM7XX_FAN_TICLR_TACLR
	.comm	_NPCM7XX_FAN_TICLR_TECLR,8,3    ## @NPCM7XX_FAN_TICLR_TECLR
	.comm	_NPCM7XX_FAN_TICTRL_TBPND,8,3   ## @NPCM7XX_FAN_TICTRL_TBPND
	.comm	_NPCM7XX_FAN_TICTRL_TFPND,8,3   ## @NPCM7XX_FAN_TICTRL_TFPND
	.comm	_NPCM7XX_FAN_TIEN_TBIEN,8,3     ## @NPCM7XX_FAN_TIEN_TBIEN
	.comm	_NPCM7XX_FAN_TIEN_TFIEN,8,3     ## @NPCM7XX_FAN_TIEN_TFIEN
	.comm	_NPCM7XX_FAN_TCKC_CLK2_APB,8,3  ## @NPCM7XX_FAN_TCKC_CLK2_APB
	.comm	_NPCM7XX_FAN_TICLR_TBCLR,8,3    ## @NPCM7XX_FAN_TICLR_TBCLR
	.comm	_NPCM7XX_FAN_TICLR_TFCLR,8,3    ## @NPCM7XX_FAN_TICLR_TFCLR
	.no_dead_strip	_npcm7xx_check_cmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function npcm7xx_check_cmp
_npcm7xx_check_cmp:                     ; @npcm7xx_check_cmp
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x25, x3
	mov	x24, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x1
	mov	x1, x2
	bl	_NPCM7XX_FAN_INPUT
	mov	x20, x0
Lloh0:
	adrp	x8, _NPCM7XX_FAN_CMPA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPCM7XX_FAN_CMPA@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _NPCM7XX_FAN_TIEN_TAIEN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NPCM7XX_FAN_TIEN_TAIEN@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _NPCM7XX_FAN_TIEN_TBIEN@GOTPAGE
Lloh7:
	ldr	x10, [x10, _NPCM7XX_FAN_TIEN_TBIEN@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
Lloh9:
	adrp	x11, _NPCM7XX_FAN_TIEN_TEIEN@GOTPAGE
Lloh10:
	ldr	x11, [x11, _NPCM7XX_FAN_TIEN_TEIEN@GOTPAGEOFF]
Lloh11:
	ldr	x11, [x11]
Lloh12:
	adrp	x12, _NPCM7XX_FAN_TIEN_TFIEN@GOTPAGE
Lloh13:
	ldr	x12, [x12, _NPCM7XX_FAN_TIEN_TFIEN@GOTPAGEOFF]
Lloh14:
	ldr	x12, [x12]
	orr	x9, x11, x9
	orr	x10, x12, x10
	cmp	x8, x24
	csel	x26, x9, x10, eq
Lloh15:
	adrp	x9, _NPCM7XX_FAN_TICLR_TACLR@GOTPAGE
Lloh16:
	ldr	x9, [x9, _NPCM7XX_FAN_TICLR_TACLR@GOTPAGEOFF]
Lloh17:
	adrp	x10, _NPCM7XX_FAN_TICLR_TBCLR@GOTPAGE
Lloh18:
	ldr	x10, [x10, _NPCM7XX_FAN_TICLR_TBCLR@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
Lloh20:
	ldr	x10, [x10]
Lloh21:
	adrp	x11, _NPCM7XX_FAN_TICLR_TECLR@GOTPAGE
Lloh22:
	ldr	x11, [x11, _NPCM7XX_FAN_TICLR_TECLR@GOTPAGEOFF]
Lloh23:
	adrp	x12, _NPCM7XX_FAN_TICLR_TFCLR@GOTPAGE
Lloh24:
	ldr	x12, [x12, _NPCM7XX_FAN_TICLR_TFCLR@GOTPAGEOFF]
Lloh25:
	ldr	x11, [x11]
Lloh26:
	ldr	x12, [x12]
	orr	x9, x11, x9
	orr	x10, x12, x10
Lloh27:
	adrp	x11, _NPCM7XX_FAN_TICTRL_TEPND@GOTPAGE
Lloh28:
	ldr	x11, [x11, _NPCM7XX_FAN_TICTRL_TEPND@GOTPAGEOFF]
	csel	x23, x9, x10, eq
Lloh29:
	adrp	x9, _NPCM7XX_FAN_TICTRL_TFPND@GOTPAGE
Lloh30:
	ldr	x9, [x9, _NPCM7XX_FAN_TICTRL_TFPND@GOTPAGEOFF]
	csel	x9, x11, x9, eq
Lloh31:
	adrp	x10, _NPCM7XX_FAN_TCKC_CLK1_APB@GOTPAGE
Lloh32:
	ldr	x10, [x10, _NPCM7XX_FAN_TCKC_CLK1_APB@GOTPAGEOFF]
	ldr	x9, [x9]
Lloh33:
	adrp	x11, _NPCM7XX_FAN_TCKC_CLK2_APB@GOTPAGE
Lloh34:
	ldr	x11, [x11, _NPCM7XX_FAN_TCKC_CLK2_APB@GOTPAGEOFF]
	csel	x10, x10, x11, eq
	ldr	x22, [x10]
	tst	x9, x25
	b.eq	LBB0_3
; %bb.1:
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_NPCM7XX_FAN_REG_TIEN
	bl	_ioread8
	bic	x24, x0, x26
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_NPCM7XX_FAN_REG_TIEN
	mov	x1, x0
	mov	x0, x24
	bl	_iowrite8
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_NPCM7XX_FAN_REG_TICLR
	mov	x1, x0
	mov	x0, x23
	bl	_iowrite8
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_NPCM7XX_FAN_REG_TCKC
	bl	_ioread8
	bic	x22, x0, x22
	ldr	w0, [x19, #8]
	mov	x1, x21
	bl	_NPCM7XX_FAN_REG_TCKC
	mov	x1, x0
	mov	x0, x22
	bl	_iowrite8
	ldr	x8, [x19]
	str	xzr, [x8, x20, lsl #3]
LBB0_2:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh35:
	adrp	x9, _NPCM7XX_FAN_TICTRL_TAPND@GOTPAGE
Lloh36:
	ldr	x9, [x9, _NPCM7XX_FAN_TICTRL_TAPND@GOTPAGEOFF]
Lloh37:
	adrp	x10, _NPCM7XX_FAN_TICTRL_TBPND@GOTPAGE
Lloh38:
	ldr	x10, [x10, _NPCM7XX_FAN_TICTRL_TBPND@GOTPAGEOFF]
	cmp	x8, x24
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
	tst	x8, x25
	b.eq	LBB0_2
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x24
	mov	x3, x20
	mov	x4, x26
	mov	x5, x22
	mov	x6, x23
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_npcm7xx_fan_compute
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh25
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh19
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_NPCM7XX_FAN_CMPA,8,3           ; @NPCM7XX_FAN_CMPA
	.comm	_NPCM7XX_FAN_TICTRL_TAPND,8,3   ; @NPCM7XX_FAN_TICTRL_TAPND
	.comm	_NPCM7XX_FAN_TICTRL_TEPND,8,3   ; @NPCM7XX_FAN_TICTRL_TEPND
	.comm	_NPCM7XX_FAN_TIEN_TAIEN,8,3     ; @NPCM7XX_FAN_TIEN_TAIEN
	.comm	_NPCM7XX_FAN_TIEN_TEIEN,8,3     ; @NPCM7XX_FAN_TIEN_TEIEN
	.comm	_NPCM7XX_FAN_TCKC_CLK1_APB,8,3  ; @NPCM7XX_FAN_TCKC_CLK1_APB
	.comm	_NPCM7XX_FAN_TICLR_TACLR,8,3    ; @NPCM7XX_FAN_TICLR_TACLR
	.comm	_NPCM7XX_FAN_TICLR_TECLR,8,3    ; @NPCM7XX_FAN_TICLR_TECLR
	.comm	_NPCM7XX_FAN_TICTRL_TBPND,8,3   ; @NPCM7XX_FAN_TICTRL_TBPND
	.comm	_NPCM7XX_FAN_TICTRL_TFPND,8,3   ; @NPCM7XX_FAN_TICTRL_TFPND
	.comm	_NPCM7XX_FAN_TIEN_TBIEN,8,3     ; @NPCM7XX_FAN_TIEN_TBIEN
	.comm	_NPCM7XX_FAN_TIEN_TFIEN,8,3     ; @NPCM7XX_FAN_TIEN_TFIEN
	.comm	_NPCM7XX_FAN_TCKC_CLK2_APB,8,3  ; @NPCM7XX_FAN_TCKC_CLK2_APB
	.comm	_NPCM7XX_FAN_TICLR_TBCLR,8,3    ; @NPCM7XX_FAN_TICLR_TBCLR
	.comm	_NPCM7XX_FAN_TICLR_TFCLR,8,3    ; @NPCM7XX_FAN_TICLR_TFCLR
	.no_dead_strip	_npcm7xx_check_cmp
.subsections_via_symbols
