	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8180_set_anaparam           ## -- Begin function rtl8180_set_anaparam
	.p2align	4, 0x90
_rtl8180_set_anaparam:                  ## @rtl8180_set_anaparam
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rsi
	movq	_RTL818X_EEPROM_CMD_CONFIG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_rtl818x_iowrite8
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	%rbx, %rdi
	callq	_rtl818x_ioread8
	movl	%eax, %r15d
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movq	_RTL818X_CONFIG3_ANAPARAM_WRITE@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	%eax, %edx
	movq	%rbx, %rdi
	callq	_rtl818x_iowrite8
	movq	(%rbx), %rsi
	addq	$8, %rsi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_rtl818x_iowrite32
	movq	(%rbx), %rsi
	addq	$4, %rsi
	movl	(%r12), %edx
	notl	%edx
	andl	%r15d, %edx
	movq	%rbx, %rdi
	callq	_rtl818x_iowrite8
	movq	(%rbx), %rsi
	movq	_RTL818X_EEPROM_CMD_NORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl818x_iowrite8               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RTL818X_EEPROM_CMD_CONFIG,4,2  ## @RTL818X_EEPROM_CMD_CONFIG
	.comm	_RTL818X_CONFIG3_ANAPARAM_WRITE,4,2 ## @RTL818X_CONFIG3_ANAPARAM_WRITE
	.comm	_RTL818X_EEPROM_CMD_NORMAL,4,2  ## @RTL818X_EEPROM_CMD_NORMAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl8180_set_anaparam           ; -- Begin function rtl8180_set_anaparam
	.p2align	2
_rtl8180_set_anaparam:                  ; @rtl8180_set_anaparam
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
	ldr	x1, [x0]
Lloh0:
	adrp	x8, _RTL818X_EEPROM_CMD_CONFIG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RTL818X_EEPROM_CMD_CONFIG@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	bl	_rtl818x_iowrite8
	ldr	x8, [x20]
	add	x1, x8, #4
	mov	x0, x20
	bl	_rtl818x_ioread8
	mov	x21, x0
	ldr	x8, [x20]
	add	x1, x8, #4
Lloh3:
	adrp	x22, _RTL818X_CONFIG3_ANAPARAM_WRITE@GOTPAGE
Lloh4:
	ldr	x22, [x22, _RTL818X_CONFIG3_ANAPARAM_WRITE@GOTPAGEOFF]
	ldr	w8, [x22]
	orr	w2, w8, w0
	mov	x0, x20
	bl	_rtl818x_iowrite8
	ldr	x8, [x20]
	add	x1, x8, #8
	mov	x0, x20
	mov	x2, x19
	bl	_rtl818x_iowrite32
	ldr	x8, [x20]
	add	x1, x8, #4
	ldr	w8, [x22]
	bic	w2, w21, w8
	mov	x0, x20
	bl	_rtl818x_iowrite8
	ldr	x1, [x20]
Lloh5:
	adrp	x8, _RTL818X_EEPROM_CMD_NORMAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RTL818X_EEPROM_CMD_NORMAL@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtl818x_iowrite8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RTL818X_EEPROM_CMD_CONFIG,4,2  ; @RTL818X_EEPROM_CMD_CONFIG
	.comm	_RTL818X_CONFIG3_ANAPARAM_WRITE,4,2 ; @RTL818X_CONFIG3_ANAPARAM_WRITE
	.comm	_RTL818X_EEPROM_CMD_NORMAL,4,2  ; @RTL818X_EEPROM_CMD_NORMAL
.subsections_via_symbols
