	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_mcast_setup_e2
_bnx2x_mcast_setup_e2:                  ## @bnx2x_mcast_setup_e2
	.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	%edx, %ebx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	16(%rsi), %r13
	movq	48(%r13), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bnx2x_mcast_handle_pending_cmds_e2
	movl	%eax, %r12d
	leaq	24(%r13), %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	*16(%r13)
LBB0_2:
	cmpq	$0, (%r15)
	jle	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	movl	%r12d, %ecx
	callq	_bnx2x_mcast_handle_current_cmd
	movl	%eax, %r12d
LBB0_4:
	movslq	%r12d, %rbx
	movq	(%r13), %rdi
	subq	%rbx, %rdi
	movq	%rdi, (%r13)
	shrq	$63, %rdi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_WARN_ON
	xorl	%edi, %edi
	cmpl	8(%r13), %ebx
	setg	%dil
	callq	_WARN_ON
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_bnx2x_mcast_set_rdata_hdr_e2
	cmpq	$0, (%r13)
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_bnx2x_mcast_refresh_registry_e2
LBB0_6:
	movq	_RAMROD_DRV_CLR_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %r15
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_8
## %bb.7:
	testl	%r12d, %r12d
	je	LBB0_8
## %bb.9:
	movq	_RAMROD_CMD_ID_ETH_MULTICAST_RULES@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	32(%r13), %edi
	movl	36(%r13), %r12d
	callq	_U64_HI
	movl	%eax, %ebx
	movl	32(%r13), %edi
	callq	_U64_LO
	movq	_ETH_CONNECTION_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	movl	%ebx, %ecx
	movl	%eax, %r8d
	callq	_bnx2x_sp_post
	movl	%eax, %ecx
	testl	%eax, %eax
	movl	$1, %eax
	cmovnel	%ecx, %eax
	jmp	LBB0_10
LBB0_8:
	leaq	32(%r13), %rdi
	callq	*40(%r13)
	xorl	%eax, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RAMROD_DRV_CLR_ONLY,4,2        ## @RAMROD_DRV_CLR_ONLY
	.comm	_RAMROD_CMD_ID_ETH_MULTICAST_RULES,4,2 ## @RAMROD_CMD_ID_ETH_MULTICAST_RULES
	.comm	_ETH_CONNECTION_TYPE,4,2        ## @ETH_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_mcast_setup_e2
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnx2x_mcast_setup_e2
_bnx2x_mcast_setup_e2:                  ; @bnx2x_mcast_setup_e2
	.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	x23, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x1, #16]
	ldr	x0, [x20, #48]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_mcast_handle_pending_cmds_e2
	mov	x22, x0
	add	x0, x20, #24
	bl	_list_empty
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20, #16]
	mov	x0, x20
	blr	x8
LBB0_2:
	ldr	x8, [x21]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	mov	x3, x22
	bl	_bnx2x_mcast_handle_current_cmd
	mov	x22, x0
LBB0_4:
	ldr	x8, [x20]
	sub	x8, x8, w22, sxtw
	str	x8, [x20]
	lsr	x0, x8, #63
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_WARN_ON
	ldr	w8, [x20, #8]
	cmp	w22, w8
	cset	w0, gt
	bl	_WARN_ON
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	_bnx2x_mcast_set_rdata_hdr_e2
	ldr	x8, [x20]
	cbnz	x8, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_mcast_refresh_registry_e2
LBB0_6:
Lloh0:
	adrp	x8, _RAMROD_DRV_CLR_ONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RAMROD_DRV_CLR_ONLY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x21, #8
	bl	_test_bit
	cmp	x0, #0
	ccmp	w22, #0, #4, eq
	b.ne	LBB0_8
; %bb.7:
	add	x0, x20, #32
	ldr	x8, [x20, #40]
	blr	x8
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh3:
	adrp	x8, _RAMROD_CMD_ID_ETH_MULTICAST_RULES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RAMROD_CMD_ID_ETH_MULTICAST_RULES@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	ldp	w0, w22, [x20, #32]
	bl	_U64_HI
	mov	x23, x0
	ldr	w0, [x20, #32]
	bl	_U64_LO
	mov	x4, x0
Lloh6:
	adrp	x8, _ETH_CONNECTION_TYPE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_CONNECTION_TYPE@GOTPAGEOFF]
Lloh8:
	ldr	w5, [x8]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	x3, x23
	bl	_bnx2x_sp_post
	cmp	w0, #0
	csinc	w0, w0, wzr, ne
LBB0_9:
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_RAMROD_DRV_CLR_ONLY,4,2        ; @RAMROD_DRV_CLR_ONLY
	.comm	_RAMROD_CMD_ID_ETH_MULTICAST_RULES,4,2 ; @RAMROD_CMD_ID_ETH_MULTICAST_RULES
	.comm	_ETH_CONNECTION_TYPE,4,2        ; @ETH_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_mcast_setup_e2
.subsections_via_symbols
