	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspeed_create_pwm_port
_aspeed_create_pwm_port:                ## @aspeed_create_pwm_port
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movl	16(%rdi), %edi
	movl	$1, %edx
	callq	_aspeed_set_pwm_port_enable
	movq	(%rbx), %rax
	movl	$1, (%rax,%r14,4)
	movq	_TYPEM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	24(%rbx), %rdx
	movl	%ecx, (%rdx,%r14,4)
	movl	16(%rbx), %edi
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_aspeed_set_pwm_port_type
	movq	_INIT_FAN_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	8(%rbx), %rdx
	movl	%ecx, (%rdx,%r14,4)
	movl	(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_aspeed_set_pwm_port_fan_ctrl   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPEM,4,2                      ## @TYPEM
	.comm	_INIT_FAN_CTRL,4,2              ## @INIT_FAN_CTRL
	.no_dead_strip	_aspeed_create_pwm_port
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspeed_create_pwm_port
_aspeed_create_pwm_port:                ; @aspeed_create_pwm_port
	.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	w0, [x0, #16]
	mov	w21, #1
	mov	w2, #1
	bl	_aspeed_set_pwm_port_enable
	ldr	x8, [x20]
	lsl	x22, x19, #2
	str	w21, [x8, x22]
Lloh0:
	adrp	x8, _TYPEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPEM@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	x10, [x20, #24]
	str	w9, [x10, x22]
	ldr	w0, [x20, #16]
	ldr	w2, [x8]
	mov	x1, x19
	bl	_aspeed_set_pwm_port_type
Lloh2:
	adrp	x8, _INIT_FAN_CTRL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INIT_FAN_CTRL@GOTPAGEOFF]
	ldr	w9, [x8]
	ldr	x10, [x20, #8]
	str	w9, [x10, x22]
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, 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
	b	_aspeed_set_pwm_port_fan_ctrl
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPEM,4,2                      ; @TYPEM
	.comm	_INIT_FAN_CTRL,4,2              ; @INIT_FAN_CTRL
	.no_dead_strip	_aspeed_create_pwm_port
.subsections_via_symbols
