	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pc87427_readall_pwm
_pc87427_readall_pwm:                   ## @pc87427_readall_pwm
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	_LD_FAN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movslq	(%rax,%rcx,4), %rbx
	movq	%rsi, %rdi
	callq	_BANK_FC
	movq	_PC87427_REG_BANK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	%rbx, %rsi
	movl	%eax, %edi
	callq	_outb
	movq	_PC87427_REG_PWM_ENABLE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	callq	_inb
	movq	16(%r15), %rcx
	movq	%rax, (%rcx,%r14,8)
	movq	_PC87427_REG_PWM_DUTY@GOTPCREL(%rip), %rax
	addq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_inb
	movq	8(%r15), %rcx
	movq	%rax, (%rcx,%r14,8)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LD_FAN,8,3                     ## @LD_FAN
	.comm	_PC87427_REG_BANK,8,3           ## @PC87427_REG_BANK
	.comm	_PC87427_REG_PWM_ENABLE,8,3     ## @PC87427_REG_PWM_ENABLE
	.comm	_PC87427_REG_PWM_DUTY,8,3       ## @PC87427_REG_PWM_DUTY
	.no_dead_strip	_pc87427_readall_pwm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pc87427_readall_pwm
_pc87427_readall_pwm:                   ; @pc87427_readall_pwm
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _LD_FAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LD_FAN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldrsw	x21, [x8, x9, lsl #2]
	mov	x0, x1
	bl	_BANK_FC
Lloh3:
	adrp	x8, _PC87427_REG_BANK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PC87427_REG_BANK@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	add	x1, x8, x21
	bl	_outb
Lloh6:
	adrp	x8, _PC87427_REG_PWM_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PC87427_REG_PWM_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	add	x0, x8, x21
	bl	_inb
	ldr	x8, [x20, #16]
	lsl	x19, x19, #3
	str	x0, [x8, x19]
Lloh9:
	adrp	x8, _PC87427_REG_PWM_DUTY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _PC87427_REG_PWM_DUTY@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	add	x0, x8, x21
	bl	_inb
	ldr	x8, [x20, #8]
	str	x0, [x8, x19]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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	_PC87427_REG_BANK,8,3           ; @PC87427_REG_BANK
	.comm	_PC87427_REG_PWM_ENABLE,8,3     ; @PC87427_REG_PWM_ENABLE
	.comm	_PC87427_REG_PWM_DUTY,8,3       ; @PC87427_REG_PWM_DUTY
	.no_dead_strip	_pc87427_readall_pwm
.subsections_via_symbols
