	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmu_pktq_mlen                ## -- Begin function brcmu_pktq_mlen
	.p2align	4, 0x90
_brcmu_pktq_mlen:                       ## @brcmu_pktq_mlen
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	leaq	1(%rax), %r8
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movl	%r8d, %r9d
	andl	$-2, %r9d
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	cmpq	%r9, %rdx
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rdx, %r10
	btl	%r10d, %esi
	jae	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdi), %rdx
	addl	(%rdx,%r10,8), %eax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	1(%r10), %rdx
	btl	%edx, %esi
	jae	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdi), %rcx
	addl	8(%rcx,%r10,8), %eax
	jmp	LBB0_9
LBB0_10:
	addq	$2, %r10
	testb	$1, %r8b
	jne	LBB0_12
LBB0_14:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_3:
	xorl	%r10d, %r10d
	xorl	%eax, %eax
	testb	$1, %r8b
	je	LBB0_14
LBB0_12:
	btl	%r10d, %esi
	jae	LBB0_14
## %bb.13:
	movq	8(%rdi), %rcx
	addl	(%rcx,%r10,8), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_brcmu_pktq_mlen                ; -- Begin function brcmu_pktq_mlen
	.p2align	2
_brcmu_pktq_mlen:                       ; @brcmu_pktq_mlen
	.cfi_startproc
; %bb.0:
	ldr	w10, [x0]
	tbnz	w10, #31, LBB0_6
; %bb.1:
	mov	x9, #0
	mov	w8, #0
	add	x10, x10, #1
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x9, x9, #1
	cmp	x10, x9
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w11, w1, w9
	tbz	w11, #0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x11, [x0, #8]
	ldr	x11, [x11, x9, lsl #3]
	add	w8, w8, w11
	b	LBB0_2
LBB0_5:
	mov	x0, x8
	ret
LBB0_6:
	mov	w0, #0
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
