	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8366rb_setup
_rtl8366rb_setup:                       ## @rtl8366rb_setup
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_RTL8366RB_SGCR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RTL8366RB_SGCR_MAX_LENGTH_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RTL8366RB_SGCR_MAX_LENGTH_1536@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_REG_RMW
	movq	_RTL8366RB_SSCR0@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_RTL8366RB_SSCR1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_REG_WR
	movq	_RTL8366RB_VLAN_INGRESS_CTRL2_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RTL8366RB_PORT_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_REG_WR
	movq	_RTL8366RB_SSCR2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RTL8366RB_SSCR2_DROP_UNKNOWN_DA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	xorl	%ecx, %ecx
	callq	_REG_RMW
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL8366RB_SGCR,4,2             ## @RTL8366RB_SGCR
	.comm	_RTL8366RB_SGCR_MAX_LENGTH_MASK,4,2 ## @RTL8366RB_SGCR_MAX_LENGTH_MASK
	.comm	_RTL8366RB_SGCR_MAX_LENGTH_1536,4,2 ## @RTL8366RB_SGCR_MAX_LENGTH_1536
	.comm	_RTL8366RB_SSCR0,4,2            ## @RTL8366RB_SSCR0
	.comm	_RTL8366RB_SSCR1,4,2            ## @RTL8366RB_SSCR1
	.comm	_RTL8366RB_VLAN_INGRESS_CTRL2_REG,4,2 ## @RTL8366RB_VLAN_INGRESS_CTRL2_REG
	.comm	_RTL8366RB_PORT_ALL,4,2         ## @RTL8366RB_PORT_ALL
	.comm	_RTL8366RB_SSCR2,4,2            ## @RTL8366RB_SSCR2
	.comm	_RTL8366RB_SSCR2_DROP_UNKNOWN_DA,4,2 ## @RTL8366RB_SSCR2_DROP_UNKNOWN_DA
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_rtl8366rb_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8366rb_setup
_rtl8366rb_setup:                       ; @rtl8366rb_setup
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x8, _RTL8366RB_SGCR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTL8366RB_SGCR@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RTL8366RB_SGCR_MAX_LENGTH_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RTL8366RB_SGCR_MAX_LENGTH_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x8, _RTL8366RB_SGCR_MAX_LENGTH_1536@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RTL8366RB_SGCR_MAX_LENGTH_1536@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	bl	_REG_RMW
Lloh9:
	adrp	x8, _RTL8366RB_SSCR0@GOTPAGE
Lloh10:
	ldr	x8, [x8, _RTL8366RB_SSCR0@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
Lloh12:
	adrp	x8, _RTL8366RB_SSCR1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _RTL8366RB_SSCR1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_REG_WR
Lloh15:
	adrp	x8, _RTL8366RB_VLAN_INGRESS_CTRL2_REG@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RTL8366RB_VLAN_INGRESS_CTRL2_REG@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _RTL8366RB_PORT_ALL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _RTL8366RB_PORT_ALL@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_REG_WR
Lloh21:
	adrp	x8, _RTL8366RB_SSCR2@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RTL8366RB_SSCR2@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
Lloh24:
	adrp	x8, _RTL8366RB_SSCR2_DROP_UNKNOWN_DA@GOTPAGE
Lloh25:
	ldr	x8, [x8, _RTL8366RB_SSCR2_DROP_UNKNOWN_DA@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_REG_RMW
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL8366RB_SGCR,4,2             ; @RTL8366RB_SGCR
	.comm	_RTL8366RB_SGCR_MAX_LENGTH_MASK,4,2 ; @RTL8366RB_SGCR_MAX_LENGTH_MASK
	.comm	_RTL8366RB_SGCR_MAX_LENGTH_1536,4,2 ; @RTL8366RB_SGCR_MAX_LENGTH_1536
	.comm	_RTL8366RB_SSCR0,4,2            ; @RTL8366RB_SSCR0
	.comm	_RTL8366RB_SSCR1,4,2            ; @RTL8366RB_SSCR1
	.comm	_RTL8366RB_VLAN_INGRESS_CTRL2_REG,4,2 ; @RTL8366RB_VLAN_INGRESS_CTRL2_REG
	.comm	_RTL8366RB_PORT_ALL,4,2         ; @RTL8366RB_PORT_ALL
	.comm	_RTL8366RB_SSCR2,4,2            ; @RTL8366RB_SSCR2
	.comm	_RTL8366RB_SSCR2_DROP_UNKNOWN_DA,4,2 ; @RTL8366RB_SSCR2_DROP_UNKNOWN_DA
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_rtl8366rb_setup
.subsections_via_symbols
