	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6352_g2_scratch_gpio_get_pctl
_mv88e6352_g2_scratch_gpio_get_pctl:    ## @mv88e6352_g2_scratch_gpio_get_pctl
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	_MV88E6352_G2_SCRATCH_GPIO_PCTL0@GOTPCREL(%rip), %rax
	shrl	%esi
	addl	(%rax), %esi
	leaq	-20(%rbp), %rdx
	callq	_mv88e6xxx_g2_scratch_read
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	shll	$2, %ebx
	andb	$4, %bl
	movl	$7, %edx
	movl	%ebx, %ecx
	shll	%cl, %edx
	andl	-20(%rbp), %edx
	shrl	%cl, %edx
	movl	%edx, (%r14)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6352_G2_SCRATCH_GPIO_PCTL0,4,2 ## @MV88E6352_G2_SCRATCH_GPIO_PCTL0
	.no_dead_strip	_mv88e6352_g2_scratch_gpio_get_pctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv88e6352_g2_scratch_gpio_get_pctl
_mv88e6352_g2_scratch_gpio_get_pctl:    ; @mv88e6352_g2_scratch_gpio_get_pctl
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _MV88E6352_G2_SCRATCH_GPIO_PCTL0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MV88E6352_G2_SCRATCH_GPIO_PCTL0@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w1, w8, w1, lsr #1
	add	x2, sp, #12
	bl	_mv88e6xxx_g2_scratch_read
	cbnz	w0, LBB0_2
; %bb.1:
	ubfiz	w8, w20, #2, #1
	mov	w9, #7
	lsl	w9, w9, w8
	ldr	w10, [sp, #12]
	and	w9, w10, w9
	lsr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6352_G2_SCRATCH_GPIO_PCTL0,4,2 ; @MV88E6352_G2_SCRATCH_GPIO_PCTL0
	.no_dead_strip	_mv88e6352_g2_scratch_gpio_get_pctl
.subsections_via_symbols
