	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function glc_add_rxbuf_dma
_glc_add_rxbuf_dma:                     ## @glc_add_rxbuf_dma
	.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
	movq	%rdi, %r12
	movq	16(%rdi), %r14
	movslq	%esi, %r15
	leaq	(,%r15,8), %rax
	leaq	(%rax,%rax,2), %rbx
	movq	8(%rdi), %rdi
	addq	%rbx, %rdi
	movl	$24, %esi
	callq	_bzero
	movl	20(%r14,%rbx), %eax
	movq	8(%r12), %rcx
	movl	%eax, 20(%rcx,%rbx)
	movl	16(%r14,%rbx), %eax
	movl	%eax, 16(%rcx,%rbx)
	movq	(%r12), %rsi
	leal	1(%r15), %eax
	movq	_GLC_MAX_RX_PACKETS@GOTPCREL(%rip), %rdi
	cltd
	idivl	(%rdi)
	movslq	%edx, %rax
	leaq	(%rax,%rax,2), %rax
	leaq	(%rsi,%rax,8), %rax
	movq	%rax, 8(%rcx,%rbx)
	movq	_GELIC_DESCR_OWNED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx,%rbx)
	movl	%r15d, (%r14,%rbx)
	leaq	(%rsi,%r15,4), %rax
	movq	%rax, 8(%r14,%rbx)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GLC_MAX_RX_PACKETS,4,2         ## @GLC_MAX_RX_PACKETS
	.comm	_GELIC_DESCR_OWNED,4,2          ## @GELIC_DESCR_OWNED
	.no_dead_strip	_glc_add_rxbuf_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function glc_add_rxbuf_dma
_glc_add_rxbuf_dma:                     ; @glc_add_rxbuf_dma
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	sxtw	x8, w19
	ldp	x9, x21, [x0, #8]
	add	x8, x8, w1, sxtw #1
	lsl	x22, x8, #3
	add	x0, x9, x22
	mov	w23, #24
	mov	w1, #24
	bl	_bzero
	add	x8, x21, x22
	ldp	x10, x9, [x20]
	add	x9, x9, x22
	ldr	d0, [x8, #16]
	str	d0, [x9, #16]
	add	w11, w19, #1
Lloh0:
	adrp	x12, _GLC_MAX_RX_PACKETS@GOTPAGE
Lloh1:
	ldr	x12, [x12, _GLC_MAX_RX_PACKETS@GOTPAGEOFF]
Lloh2:
	ldr	w12, [x12]
	sdiv	w13, w11, w12
	msub	w11, w13, w12, w11
	smaddl	x11, w11, w23, x10
	str	x11, [x9, #8]
Lloh3:
	adrp	x11, _GELIC_DESCR_OWNED@GOTPAGE
Lloh4:
	ldr	x11, [x11, _GELIC_DESCR_OWNED@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x11]
	str	w11, [x9]
	str	w19, [x8]
	add	x9, x10, w19, sxtw #2
	str	x9, [x8, #8]
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GLC_MAX_RX_PACKETS,4,2         ; @GLC_MAX_RX_PACKETS
	.comm	_GELIC_DESCR_OWNED,4,2          ; @GELIC_DESCR_OWNED
	.no_dead_strip	_glc_add_rxbuf_dma
.subsections_via_symbols
