	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function octeon_droq_compute_max_packet_bufs
_octeon_droq_compute_max_packet_bufs:   ## @octeon_droq_compute_max_packet_bufs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	16(%rdi), %rcx
	xorl	%eax, %eax
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%edx, %rdx
	addq	%rcx, %rdx
	decq	%rax
	cmpl	$65536, %edx                    ## imm = 0x10000
	jl	LBB0_1
## %bb.2:
	addq	8(%rdi), %rax
	movq	%rax, (%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_octeon_droq_compute_max_packet_bufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function octeon_droq_compute_max_packet_bufs
_octeon_droq_compute_max_packet_bufs:   ; @octeon_droq_compute_max_packet_bufs
	.cfi_startproc
; %bb.0:
	mov	x8, #0
	mov	x9, #0
	ldr	x10, [x0, #16]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	add	x9, x10, w9, sxtw
	sub	x8, x8, #1
	cmp	w9, #16, lsl #12                ; =65536
	b.lt	LBB0_1
; %bb.2:
	ldr	x9, [x0, #8]
	add	x8, x9, x8
	str	x8, [x0]
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_octeon_droq_compute_max_packet_bufs
.subsections_via_symbols
