	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv88e6352_g2_scratch_gpio_set_data
_mv88e6352_g2_scratch_gpio_set_data:    ## @mv88e6352_g2_scratch_gpio_set_data
	.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, %r8d
	movl	%esi, %ecx
	andb	$7, %cl
	movl	$1, %edx
	shll	%cl, %edx
	shrl	$3, %esi
	movq	_MV88E6352_G2_SCRATCH_GPIO_DATA0@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r8d, %r8d
	je	LBB0_2
## %bb.1:
	movq	(%rdi), %r8
	movl	%esi, %ecx
	orl	(%r8,%rcx,4), %edx
	jmp	LBB0_3
LBB0_2:
	notl	%edx
	movq	(%rdi), %r8
	movl	%esi, %ecx
	andl	(%r8,%rcx,4), %edx
LBB0_3:
	movl	%edx, (%r8,%rcx,4)
	addl	%esi, %eax
	movl	%eax, %esi
	popq	%rbp
	jmp	_mv88e6xxx_g2_scratch_write     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MV88E6352_G2_SCRATCH_GPIO_DATA0,4,2 ## @MV88E6352_G2_SCRATCH_GPIO_DATA0
	.no_dead_strip	_mv88e6352_g2_scratch_gpio_set_data
.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_set_data
_mv88e6352_g2_scratch_gpio_set_data:    ; @mv88e6352_g2_scratch_gpio_set_data
	.cfi_startproc
; %bb.0:
	and	w8, w1, #0x7
	mov	w9, #1
	lsl	w10, w9, w8
	lsr	w8, w1, #3
Lloh0:
	adrp	x9, _MV88E6352_G2_SCRATCH_GPIO_DATA0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MV88E6352_G2_SCRATCH_GPIO_DATA0@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cbz	w2, LBB0_2
; %bb.1:
	ldr	x11, [x0]
	lsl	x12, x8, #2
	ldr	w13, [x11, x12]
	orr	w2, w13, w10
	b	LBB0_3
LBB0_2:
	ldr	x11, [x0]
	lsl	x12, x8, #2
	ldr	w13, [x11, x12]
	bic	w2, w13, w10
LBB0_3:
	str	w2, [x11, x12]
	add	w1, w9, w8
	b	_mv88e6xxx_g2_scratch_write
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MV88E6352_G2_SCRATCH_GPIO_DATA0,4,2 ; @MV88E6352_G2_SCRATCH_GPIO_DATA0
	.no_dead_strip	_mv88e6352_g2_scratch_gpio_set_data
.subsections_via_symbols
