	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_pwm_enable
_update_pwm_enable:                     ## @update_pwm_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LD_FAN@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	(%rdi), %rax
	movq	8(%rdi), %rcx
	movslq	(%rax,%r8,4), %rax
	movq	_PWM_ENABLE_MODE_MASK@GOTPCREL(%rip), %rdi
	movl	(%rdi), %edi
	notl	%edi
	movslq	%esi, %rsi
	andl	(%rcx,%rsi,4), %edi
	orl	%edx, %edi
	movl	%edi, (%rcx,%rsi,4)
	movq	_PC87427_REG_PWM_ENABLE@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, %rsi
	popq	%rbp
	jmp	_outb                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LD_FAN,8,3                     ## @LD_FAN
	.comm	_PWM_ENABLE_MODE_MASK,4,2       ## @PWM_ENABLE_MODE_MASK
	.comm	_PC87427_REG_PWM_ENABLE,8,3     ## @PC87427_REG_PWM_ENABLE
	.no_dead_strip	_update_pwm_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_pwm_enable
_update_pwm_enable:                     ; @update_pwm_enable
	.cfi_startproc
; %bb.0:
                                        ; kill: def $w1 killed $w1 def $x1
Lloh0:
	adrp	x8, _LD_FAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LD_FAN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldp	x9, x10, [x0]
	ldrsw	x8, [x9, x8, lsl #2]
Lloh3:
	adrp	x9, _PWM_ENABLE_MODE_MASK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PWM_ENABLE_MODE_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	sbfiz	x11, x1, #2, #32
	ldr	w12, [x10, x11]
	bic	w9, w12, w9
	orr	w0, w9, w2
	str	w0, [x10, x11]
Lloh6:
	adrp	x9, _PC87427_REG_PWM_ENABLE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PC87427_REG_PWM_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	b	_outb
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LD_FAN,8,3                     ; @LD_FAN
	.comm	_PWM_ENABLE_MODE_MASK,4,2       ; @PWM_ENABLE_MODE_MASK
	.comm	_PC87427_REG_PWM_ENABLE,8,3     ; @PC87427_REG_PWM_ENABLE
	.no_dead_strip	_update_pwm_enable
.subsections_via_symbols
