	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_rx_desc
_build_rx_desc:                         ## @build_rx_desc
	.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	%r9d, %r15d
	movl	%r8d, %r14d
	movl	%ecx, %r12d
	movq	%rsi, %rbx
	movq	_DESC_LINK@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rsi,%rax,4), %rdi
	movl	%edx, %esi
	callq	_desc_addr_set
	movq	_DESC_BUFPTR@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leaq	(%rbx,%rax,4), %rdi
	movl	%r12d, %esi
	callq	_desc_addr_set
	movl	%r15d, %edi
	callq	_cpu_to_le32
	movq	_DESC_EXTSTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rbx,%rcx,4)
	xorl	%eax, %eax
	callq	_mb
	movl	%r14d, %edi
	callq	_cpu_to_le32
	movq	_DESC_CMDSTS@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%eax, (%rbx,%rcx,4)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DESC_LINK,4,2                  ## @DESC_LINK
	.comm	_DESC_BUFPTR,4,2                ## @DESC_BUFPTR
	.comm	_DESC_EXTSTS,8,3                ## @DESC_EXTSTS
	.comm	_DESC_CMDSTS,8,3                ## @DESC_CMDSTS
	.no_dead_strip	_build_rx_desc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_rx_desc
_build_rx_desc:                         ; @build_rx_desc
	.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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x1
Lloh0:
	adrp	x8, _DESC_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DESC_LINK@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x0, x1, x8, lsl #2
	mov	x1, x2
	bl	_desc_addr_set
Lloh3:
	adrp	x8, _DESC_BUFPTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DESC_BUFPTR@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x0, x22, x8, lsl #2
	mov	x1, x21
	bl	_desc_addr_set
	mov	x0, x19
	bl	_cpu_to_le32
Lloh6:
	adrp	x8, _DESC_EXTSTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DESC_EXTSTS@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	str	w0, [x22, x8, lsl #2]
	bl	_mb
	mov	x0, x20
	bl	_cpu_to_le32
Lloh9:
	adrp	x8, _DESC_CMDSTS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _DESC_CMDSTS@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	str	w0, [x22, x8, lsl #2]
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DESC_LINK,4,2                  ; @DESC_LINK
	.comm	_DESC_BUFPTR,4,2                ; @DESC_BUFPTR
	.comm	_DESC_EXTSTS,8,3                ; @DESC_EXTSTS
	.comm	_DESC_CMDSTS,8,3                ; @DESC_CMDSTS
	.no_dead_strip	_build_rx_desc
.subsections_via_symbols
