	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function f75375_init
_f75375_init:                           ## @f75375_init
	.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	%rsi, %r13
	movq	%rdi, %r12
	testq	%rdx, %rdx
	je	LBB0_7
## %bb.1:
	movq	%rdx, %rbx
	movq	8(%rdx), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_set_pwm_enable_direct
	movq	8(%rbx), %rax
	movl	4(%rax), %edx
	movq	%r12, %rdi
	movl	$1, %esi
	callq	_set_pwm_enable_direct
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_auto_mode_enabled
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_duty_mode_enabled
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	(%rbx), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_clamp_val
	movq	24(%r13), %rcx
	movl	%eax, (%rcx)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_f75375_write_pwm
LBB0_4:
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	callq	_auto_mode_enabled
	testq	%rax, %rax
	jne	LBB0_45
## %bb.5:
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	callq	_duty_mode_enabled
	testl	%eax, %eax
	je	LBB0_45
## %bb.6:
	movq	(%rbx), %rax
	movl	4(%rax), %edi
	xorl	%esi, %esi
	movl	$255, %edx
	callq	_clamp_val
	movq	24(%r13), %rcx
	movl	%eax, 4(%rcx)
	movq	%r12, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_f75375_write_pwm               ## TAILCALL
LBB0_7:
	movq	_F75375_REG_CONFIG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_f75375_read8
	movl	%eax, %r15d
	movq	_F75375_REG_FAN_TIMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_f75375_read8
	movl	%eax, %r14d
	movq	(%r13), %rax
	movq	_f75387@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_13
## %bb.8:
	xorl	%edi, %edi
	callq	_F75387_FAN_CTRL_LINEAR
	btl	%eax, %r14d
	jb	LBB0_10
## %bb.9:
	movq	8(%r13), %rax
	movl	$1, (%rax)
LBB0_10:
	movq	%r13, %rbx
	xorl	%edi, %edi
	callq	_F75387_FAN_MANU_MODE
	movl	%eax, %r12d
	movl	%r14d, %r13d
	movl	%r12d, %ecx
	shrl	%cl, %r13d
	xorl	%edi, %edi
	callq	_F75387_FAN_DUTY_MODE
	movl	$1, %edx
	movl	%eax, %ecx
	shll	%cl, %edx
	andl	%r14d, %edx
	btl	%r12d, %r14d
	jb	LBB0_18
## %bb.11:
	testl	%edx, %edx
	je	LBB0_18
## %bb.12:
	movq	%rbx, %r13
	movq	16(%rbx), %rax
	movl	$4, (%rax)
	jmp	LBB0_26
LBB0_13:
	xorl	%edi, %edi
	callq	_F75375_FAN_CTRL_LINEAR
	btl	%eax, %r15d
	jb	LBB0_15
## %bb.14:
	movq	8(%r13), %rax
	movl	$1, (%rax)
LBB0_15:
	xorl	%edi, %edi
	callq	_FAN_CTRL_MODE
	movl	%r14d, %edx
	movl	%eax, %ecx
	sarl	%cl, %edx
	andl	$3, %edx
	cmpl	$1, %edx
	je	LBB0_21
## %bb.16:
	testl	%edx, %edx
	jne	LBB0_22
## %bb.17:
	movq	16(%r13), %rax
	movl	$3, (%rax)
	jmp	LBB0_27
LBB0_18:
	testb	$1, %r13b
	je	LBB0_23
## %bb.19:
	testl	%edx, %edx
	jne	LBB0_23
## %bb.20:
	movq	%rbx, %r13
	movq	16(%rbx), %rax
	movl	$3, (%rax)
	jmp	LBB0_26
LBB0_21:
	movq	16(%r13), %rax
	movl	$2, (%rax)
	jmp	LBB0_27
LBB0_22:
	movq	16(%r13), %rax
	movl	$1, (%rax)
	jmp	LBB0_27
LBB0_23:
	andl	$1, %r13d
	orl	%edx, %r13d
	movq	%rbx, %r13
	movq	16(%rbx), %rax
	je	LBB0_25
## %bb.24:
	movl	$1, (%rax)
	jmp	LBB0_26
LBB0_25:
	movl	$2, (%rax)
LBB0_26:
	movq	_f75387@GOTPCREL(%rip), %rbx
LBB0_27:
	movq	(%r13), %rax
	cmpq	(%rbx), %rax
	jne	LBB0_33
## %bb.28:
	movl	$1, %ebx
	movl	$1, %edi
	callq	_F75387_FAN_CTRL_LINEAR
	btl	%eax, %r14d
	jb	LBB0_30
## %bb.29:
	movq	8(%r13), %rax
	movl	$1, 4(%rax)
LBB0_30:
	movl	$1, %edi
	callq	_F75387_FAN_MANU_MODE
	movl	%eax, %r15d
	movl	%r14d, %r12d
	movl	%r15d, %ecx
	shrl	%cl, %r12d
	movl	$1, %edi
	callq	_F75387_FAN_DUTY_MODE
	movl	%eax, %ecx
	shll	%cl, %ebx
	andl	%r14d, %ebx
	btl	%r15d, %r14d
	jb	LBB0_38
## %bb.31:
	testl	%ebx, %ebx
	je	LBB0_38
## %bb.32:
	movq	16(%r13), %rax
	movl	$4, 4(%rax)
	jmp	LBB0_45
LBB0_33:
	movl	$1, %edi
	callq	_F75375_FAN_CTRL_LINEAR
	btl	%eax, %r15d
	jb	LBB0_35
## %bb.34:
	movq	8(%r13), %rax
	movl	$1, 4(%rax)
LBB0_35:
	movl	$1, %edi
	callq	_FAN_CTRL_MODE
	movl	%eax, %ecx
	sarl	%cl, %r14d
	andl	$3, %r14d
	je	LBB0_40
## %bb.36:
	cmpl	$1, %r14d
	jne	LBB0_41
## %bb.37:
	movq	16(%r13), %rax
	jmp	LBB0_44
LBB0_38:
	testb	$1, %r12b
	je	LBB0_42
## %bb.39:
	testl	%ebx, %ebx
	jne	LBB0_42
LBB0_40:
	movq	16(%r13), %rax
	movl	$3, 4(%rax)
	jmp	LBB0_45
LBB0_41:
	movq	16(%r13), %rax
	jmp	LBB0_43
LBB0_42:
	andl	$1, %r12d
	orl	%ebx, %r12d
	movq	16(%r13), %rax
	je	LBB0_44
LBB0_43:
	movl	$1, 4(%rax)
	jmp	LBB0_45
LBB0_44:
	movl	$2, 4(%rax)
LBB0_45:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_F75375_REG_CONFIG1,4,2         ## @F75375_REG_CONFIG1
	.comm	_F75375_REG_FAN_TIMER,4,2       ## @F75375_REG_FAN_TIMER
	.comm	_f75387,8,3                     ## @f75387
	.no_dead_strip	_f75375_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function f75375_init
_f75375_init:                           ; @f75375_init
	.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	x19, x1
	mov	x20, x0
	cbz	x2, LBB0_7
; %bb.1:
	mov	x21, x2
	ldr	x8, [x2, #8]
	ldr	w2, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_set_pwm_enable_direct
	ldr	x8, [x21, #8]
	ldr	w2, [x8, #4]
	mov	x0, x20
	mov	w1, #1
	bl	_set_pwm_enable_direct
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_auto_mode_enabled
	cbnz	x0, LBB0_4
; %bb.2:
	ldr	x8, [x21, #8]
	ldr	w0, [x8]
	bl	_duty_mode_enabled
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [x21]
	ldr	w0, [x8]
	mov	w1, #0
	mov	w2, #255
	bl	_clamp_val
	ldr	x8, [x19, #24]
	str	w0, [x8]
	mov	x0, x20
	mov	w1, #0
	bl	_f75375_write_pwm
LBB0_4:
	ldr	x8, [x21, #8]
	ldr	w0, [x8, #4]
	bl	_auto_mode_enabled
	cbnz	x0, LBB0_39
; %bb.5:
	ldr	x8, [x21, #8]
	ldr	w0, [x8, #4]
	bl	_duty_mode_enabled
	cbz	w0, LBB0_39
; %bb.6:
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	mov	w1, #0
	mov	w2, #255
	bl	_clamp_val
	ldr	x8, [x19, #24]
	str	w0, [x8, #4]
	mov	x0, x20
	mov	w1, #1
	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	_f75375_write_pwm
LBB0_7:
Lloh0:
	adrp	x8, _F75375_REG_CONFIG1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _F75375_REG_CONFIG1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_f75375_read8
	mov	x21, x0
Lloh3:
	adrp	x8, _F75375_REG_FAN_TIMER@GOTPAGE
Lloh4:
	ldr	x8, [x8, _F75375_REG_FAN_TIMER@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_f75375_read8
	mov	x20, x0
	ldr	x8, [x19]
Lloh6:
	adrp	x22, _f75387@GOTPAGE
Lloh7:
	ldr	x22, [x22, _f75387@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.8:
	mov	w0, #0
	bl	_F75387_FAN_CTRL_LINEAR
	lsr	w8, w20, w0
	tbnz	w8, #0, LBB0_10
; %bb.9:
	ldr	x8, [x19, #8]
	mov	w9, #1
	str	w9, [x8]
LBB0_10:
	mov	w0, #0
	bl	_F75387_FAN_MANU_MODE
	lsr	w23, w20, w0
	mov	w0, #0
	bl	_F75387_FAN_DUTY_MODE
	mov	w8, #1
	lsl	w8, w8, w0
	and	w8, w8, w20
	tbnz	w23, #0, LBB0_18
; %bb.11:
	cbz	w8, LBB0_18
; %bb.12:
	ldr	x8, [x19, #16]
	mov	w9, #4
	b	LBB0_22
LBB0_13:
	mov	w0, #0
	bl	_F75375_FAN_CTRL_LINEAR
	lsr	w8, w21, w0
	tbnz	w8, #0, LBB0_15
; %bb.14:
	ldr	x8, [x19, #8]
	mov	w9, #1
	str	w9, [x8]
LBB0_15:
	mov	w0, #0
	bl	_FAN_CTRL_MODE
	asr	w8, w20, w0
	and	w8, w8, #0x3
	cmp	w8, #1
	b.eq	LBB0_21
; %bb.16:
	cbz	w8, LBB0_20
; %bb.17:
	ldr	x8, [x19, #16]
	mov	w9, #1
	b	LBB0_22
LBB0_18:
	tbz	w23, #0, LBB0_40
; %bb.19:
	cbnz	w8, LBB0_40
LBB0_20:
	ldr	x8, [x19, #16]
	mov	w9, #3
	b	LBB0_22
LBB0_21:
	ldr	x8, [x19, #16]
	mov	w9, #2
LBB0_22:
	str	w9, [x8]
LBB0_23:
	ldr	x8, [x19]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_29
; %bb.24:
	mov	w21, #1
	mov	w0, #1
	bl	_F75387_FAN_CTRL_LINEAR
	lsr	w8, w20, w0
	tbnz	w8, #0, LBB0_26
; %bb.25:
	ldr	x8, [x19, #8]
	str	w21, [x8, #4]
LBB0_26:
	mov	w0, #1
	bl	_F75387_FAN_MANU_MODE
	lsr	w22, w20, w0
	mov	w0, #1
	bl	_F75387_FAN_DUTY_MODE
	lsl	w8, w21, w0
	and	w8, w8, w20
	tbnz	w22, #0, LBB0_34
; %bb.27:
	cbz	w8, LBB0_34
; %bb.28:
	ldr	x8, [x19, #16]
	mov	w9, #4
	b	LBB0_38
LBB0_29:
	mov	w22, #1
	mov	w0, #1
	bl	_F75375_FAN_CTRL_LINEAR
	lsr	w8, w21, w0
	tbnz	w8, #0, LBB0_31
; %bb.30:
	ldr	x8, [x19, #8]
	str	w22, [x8, #4]
LBB0_31:
	mov	w0, #1
	bl	_FAN_CTRL_MODE
	asr	w8, w20, w0
	ands	w8, w8, #0x3
	b.eq	LBB0_36
; %bb.32:
	cmp	w8, #1
	b.ne	LBB0_37
; %bb.33:
	ldr	x8, [x19, #16]
	mov	w9, #2
	b	LBB0_38
LBB0_34:
	tbz	w22, #0, LBB0_42
; %bb.35:
	cbnz	w8, LBB0_42
LBB0_36:
	ldr	x8, [x19, #16]
	mov	w9, #3
	b	LBB0_38
LBB0_37:
	ldr	x8, [x19, #16]
	mov	w9, #1
LBB0_38:
	str	w9, [x8, #4]
LBB0_39:
	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_40:
	and	w10, w23, #0x1
	ldr	x9, [x19, #16]
	orr	w8, w10, w8
	cbz	w8, LBB0_44
; %bb.41:
	mov	w8, #1
	str	w8, [x9]
	b	LBB0_23
LBB0_42:
	and	w10, w22, #0x1
	ldr	x9, [x19, #16]
	orr	w8, w10, w8
	cbz	w8, LBB0_45
; %bb.43:
	mov	w8, #1
	str	w8, [x9, #4]
	b	LBB0_39
LBB0_44:
	mov	w8, #2
	str	w8, [x9]
	b	LBB0_23
LBB0_45:
	mov	w8, #2
	str	w8, [x9, #4]
	b	LBB0_39
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_F75375_REG_CONFIG1,4,2         ; @F75375_REG_CONFIG1
	.comm	_F75375_REG_FAN_TIMER,4,2       ; @F75375_REG_FAN_TIMER
	.comm	_f75387,8,3                     ; @f75387
	.no_dead_strip	_f75375_init
.subsections_via_symbols
