	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_mcast_get_next_bin
_bnx2x_mcast_get_next_bin:              ## @bnx2x_mcast_get_next_bin
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movq	_BIT_VEC64_ELEM_SZ@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	cltd
	idivl	%ebx
	movq	_BNX2X_MCAST_VEC_SZ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	jge	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	movl	%edx, %r15d
	movslq	%eax, %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_BNX2X_MCAST_VEC_SZ@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movslq	%ecx, %rax
	xorl	%r15d, %r15d
	cmpq	%rax, %r13
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movq	(%r14), %rdi
	cmpq	$0, (%rdi,%r13,8)
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%ebx, %r15d
	jge	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	imull	%r13d, %ebx
	addl	%r15d, %ebx
	movl	%ebx, %esi
	callq	_BIT_VEC64_TEST_BIT
	testq	%rax, %rax
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	%r15d
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movl	(%r12), %ebx
	cmpl	%ebx, %r15d
	jge	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=2
	movq	(%r14), %rdi
	imull	%r13d, %ebx
	leal	(%r15,%rbx), %esi
	callq	_BIT_VEC64_TEST_BIT
	incl	%r15d
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	addl	%r15d, %ebx
	decl	%ebx
	jmp	LBB0_12
LBB0_11:
	movl	$-1, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT_VEC64_ELEM_SZ,4,2          ## @BIT_VEC64_ELEM_SZ
	.comm	_BNX2X_MCAST_VEC_SZ,4,2         ## @BNX2X_MCAST_VEC_SZ
	.no_dead_strip	_bnx2x_mcast_get_next_bin
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_mcast_get_next_bin
_bnx2x_mcast_get_next_bin:              ; @bnx2x_mcast_get_next_bin
	.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
Lloh0:
	adrp	x21, _BIT_VEC64_ELEM_SZ@GOTPAGE
Lloh1:
	ldr	x21, [x21, _BIT_VEC64_ELEM_SZ@GOTPAGEOFF]
	ldr	w20, [x21]
	sdiv	w9, w1, w20
Lloh2:
	adrp	x22, _BNX2X_MCAST_VEC_SZ@GOTPAGE
Lloh3:
	ldr	x22, [x22, _BNX2X_MCAST_VEC_SZ@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w9, w8
	b.ge	LBB0_10
; %bb.1:
	mov	x19, x0
	msub	w24, w9, w20, w1
	sxtw	x23, w9
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w24, #0
	add	x23, x23, #1
	cmp	x23, w8, sxtw
	b.ge	LBB0_10
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
	ldr	x0, [x19]
	ldr	x9, [x0, x23, lsl #3]
	cmp	x9, #0
	ccmp	w24, w20, #0, ne
	b.ge	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	madd	w20, w20, w23, w24
	mov	x1, x20
	bl	_BIT_VEC64_TEST_BIT
	cbnz	x0, LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w24, w24, #1
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	w20, [x21]
	cmp	w24, w20
	b.ge	LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x0, [x19]
	madd	w1, w23, w20, w24
	bl	_BIT_VEC64_TEST_BIT
	add	w24, w24, #1
	cbz	x0, LBB0_7
; %bb.9:
	madd	w8, w23, w20, w24
	sub	w20, w8, #1
	b	LBB0_11
LBB0_10:
	mov	w20, #-1
LBB0_11:
	mov	x0, x20
	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 AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT_VEC64_ELEM_SZ,4,2          ; @BIT_VEC64_ELEM_SZ
	.comm	_BNX2X_MCAST_VEC_SZ,4,2         ; @BNX2X_MCAST_VEC_SZ
	.no_dead_strip	_bnx2x_mcast_get_next_bin
.subsections_via_symbols
