	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mace_load_rxdma_base
_mace_load_rxdma_base:                  ## @mace_load_rxdma_base
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_netdev_priv
	movq	%rax, %r14
	movq	_PSC_ENETRD_CMD@GOTPCREL(%rip), %r15
	movslq	%ebx, %rbx
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	movl	$256, %esi                      ## imm = 0x100
	callq	_psc_write_word
	movq	_PSC_ENETRD_ADDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movl	8(%r14), %esi
	callq	_psc_write_long
	movq	_PSC_ENETRD_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	addq	%rbx, %rdi
	movq	_N_RX_RING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_psc_write_long
	addq	(%r15), %rbx
	movq	%rbx, %rdi
	movl	$38912, %esi                    ## imm = 0x9800
	callq	_psc_write_word
	movq	$0, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PSC_ENETRD_CMD,8,3             ## @PSC_ENETRD_CMD
	.comm	_PSC_ENETRD_ADDR,8,3            ## @PSC_ENETRD_ADDR
	.comm	_PSC_ENETRD_LEN,8,3             ## @PSC_ENETRD_LEN
	.comm	_N_RX_RING,4,2                  ## @N_RX_RING
	.no_dead_strip	_mace_load_rxdma_base
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mace_load_rxdma_base
_mace_load_rxdma_base:                  ; @mace_load_rxdma_base
	.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
	bl	_netdev_priv
	mov	x20, x0
Lloh0:
	adrp	x21, _PSC_ENETRD_CMD@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PSC_ENETRD_CMD@GOTPAGEOFF]
	ldr	x8, [x21]
	sxtw	x19, w19
	add	x0, x8, x19
	mov	w1, #256
	bl	_psc_write_word
Lloh2:
	adrp	x8, _PSC_ENETRD_ADDR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PSC_ENETRD_ADDR@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	add	x0, x8, x19
	ldr	w1, [x20, #8]
	bl	_psc_write_long
Lloh5:
	adrp	x8, _PSC_ENETRD_LEN@GOTPAGE
Lloh6:
	ldr	x8, [x8, _PSC_ENETRD_LEN@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	add	x0, x8, x19
Lloh8:
	adrp	x8, _N_RX_RING@GOTPAGE
Lloh9:
	ldr	x8, [x8, _N_RX_RING@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_psc_write_long
	ldr	x8, [x21]
	add	x0, x8, x19
	mov	w1, #38912
	bl	_psc_write_word
	str	xzr, [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
	ret
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PSC_ENETRD_CMD,8,3             ; @PSC_ENETRD_CMD
	.comm	_PSC_ENETRD_ADDR,8,3            ; @PSC_ENETRD_ADDR
	.comm	_PSC_ENETRD_LEN,8,3             ; @PSC_ENETRD_LEN
	.comm	_N_RX_RING,4,2                  ; @N_RX_RING
	.no_dead_strip	_mace_load_rxdma_base
.subsections_via_symbols
