	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function aspeed_set_pwm_port_type
_aspeed_set_pwm_port_type:              ## @aspeed_set_pwm_port_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %r9d
	andl	$1, %r9d
	movq	_pwm_port_params@GOTPCREL(%rip), %rcx
	movq	(%rcx), %r8
	movslq	%esi, %rax
	shlq	$4, %rax
	movb	(%r8,%rax), %cl
	movb	4(%r8,%rax), %sil
	shll	%cl, %r9d
	andl	$2, %edx
	movl	%esi, %ecx
	shll	%cl, %edx
	orl	%edx, %r9d
	movl	12(%r8,%rax), %esi
	movl	8(%r8,%rax), %edx
	movl	%r9d, %ecx
	popq	%rbp
	jmp	_regmap_update_bits             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pwm_port_params,8,3            ## @pwm_port_params
	.no_dead_strip	_aspeed_set_pwm_port_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function aspeed_set_pwm_port_type
_aspeed_set_pwm_port_type:              ; @aspeed_set_pwm_port_type
	.cfi_startproc
; %bb.0:
	and	w8, w2, #0x1
Lloh0:
	adrp	x9, _pwm_port_params@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pwm_port_params@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x9, x9, w1, sxtw #4
	ldp	w10, w11, [x9]
	lsl	w8, w8, w10
	and	w10, w2, #0x2
	lsl	w10, w10, w11
	orr	w3, w10, w8
	ldp	w2, w1, [x9, #8]
	b	_regmap_update_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_pwm_port_params,8,3            ; @pwm_port_params
	.no_dead_strip	_aspeed_set_pwm_port_type
.subsections_via_symbols
