	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ksz8795_cfg_port_member
_ksz8795_cfg_port_member:               ## @ksz8795_cfg_port_member
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_P_MIRROR_CTRL@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	leaq	-36(%rbp), %rcx
	callq	_ksz_pread8
	movq	_PORT_VLAN_MEMBERSHIP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	-36(%rbp), %eax
	movl	(%rbx), %ecx
	andl	%r14d, %ecx
	orl	%eax, %ecx
	movl	%ecx, -36(%rbp)
	movl	(%r12), %edx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ksz_pwrite8
	movq	8(%rbx), %rax
	movslq	%r15d, %rcx
	movl	%r14d, (%rax,%rcx,4)
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_P_MIRROR_CTRL,4,2              ## @P_MIRROR_CTRL
	.comm	_PORT_VLAN_MEMBERSHIP,4,2       ## @PORT_VLAN_MEMBERSHIP
	.no_dead_strip	_ksz8795_cfg_port_member
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ksz8795_cfg_port_member
_ksz8795_cfg_port_member:               ; @ksz8795_cfg_port_member
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x22, _P_MIRROR_CTRL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _P_MIRROR_CTRL@GOTPAGEOFF]
	ldr	w2, [x22]
	add	x3, sp, #12
	bl	_ksz_pread8
Lloh2:
	adrp	x8, _PORT_VLAN_MEMBERSHIP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PORT_VLAN_MEMBERSHIP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	w9, [sp, #12]
	bic	w8, w9, w8
	ldr	w9, [x21]
	and	w9, w9, w19
	orr	w3, w9, w8
	str	w3, [sp, #12]
	ldr	w2, [x22]
	mov	x0, x21
	mov	x1, x20
	bl	_ksz_pwrite8
	ldr	x8, [x21, #8]
	str	w19, [x8, w20, sxtw #2]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_P_MIRROR_CTRL,4,2              ; @P_MIRROR_CTRL
	.comm	_PORT_VLAN_MEMBERSHIP,4,2       ; @PORT_VLAN_MEMBERSHIP
	.no_dead_strip	_ksz8795_cfg_port_member
.subsections_via_symbols
