	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnx2x_mcast_setup_e1
_bnx2x_mcast_setup_e1:                  ## @bnx2x_mcast_setup_e1
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r12
	movq	40(%r12), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	cmpl	$0, (%r12)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	movq	_MAC_CONFIGURATION_ENTRY_ACTION_TYPE@GOTPCREL(%rip), %r14
	movq	_T_ETH_MAC_COMMAND_INVALIDATE@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	movl	(%r14), %esi
	movl	(%r15), %edx
	callq	_SET_FLAG
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_bnx2x_mcast_handle_pending_cmds_e1
	movl	%eax, %r13d
	leaq	16(%r12), %rdi
	callq	_list_empty
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%r12, %rdi
	callq	*8(%r12)
LBB0_5:
	testl	%r13d, %r13d
	jne	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	xorl	%ecx, %ecx
	callq	_bnx2x_mcast_handle_current_cmd
	movl	%eax, %r13d
LBB0_7:
	movl	(%r12), %eax
	subl	%eax, 4(%r12)
	xorl	%edi, %edi
	cmpl	%eax, %r13d
	setg	%dil
	callq	_WARN_ON
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r13d, %edx
	callq	_bnx2x_mcast_set_rdata_hdr_e1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_bnx2x_mcast_refresh_registry_e1
	testl	%eax, %eax
	jne	LBB0_11
## %bb.8:
	movq	_RAMROD_DRV_CLR_ONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	leaq	24(%r12), %rdi
	callq	*32(%r12)
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
	movq	_RAMROD_CMD_ID_ETH_SET_MAC@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	24(%r12), %edi
	movl	28(%r12), %r13d
	callq	_U64_HI
	movl	%eax, %r14d
	movl	24(%r12), %edi
	callq	_U64_LO
	movq	_ETH_CONNECTION_TYPE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movl	%eax, %r8d
	callq	_bnx2x_sp_post
	movl	%eax, %ecx
	testl	%eax, %eax
	movl	$1, %eax
	cmovnel	%ecx, %eax
LBB0_11:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAC_CONFIGURATION_ENTRY_ACTION_TYPE,4,2 ## @MAC_CONFIGURATION_ENTRY_ACTION_TYPE
	.comm	_T_ETH_MAC_COMMAND_INVALIDATE,4,2 ## @T_ETH_MAC_COMMAND_INVALIDATE
	.comm	_RAMROD_DRV_CLR_ONLY,4,2        ## @RAMROD_DRV_CLR_ONLY
	.comm	_RAMROD_CMD_ID_ETH_SET_MAC,4,2  ## @RAMROD_CMD_ID_ETH_SET_MAC
	.comm	_ETH_CONNECTION_TYPE,4,2        ## @ETH_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_mcast_setup_e1
.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_e1
_bnx2x_mcast_setup_e1:                  ; @bnx2x_mcast_setup_e1
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x20, [x1, #8]
	ldr	x23, [x20, #40]
	mov	x0, x23
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	ldr	w8, [x20]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
Lloh0:
	adrp	x25, _MAC_CONFIGURATION_ENTRY_ACTION_TYPE@GOTPAGE
Lloh1:
	ldr	x25, [x25, _MAC_CONFIGURATION_ENTRY_ACTION_TYPE@GOTPAGEOFF]
Lloh2:
	adrp	x26, _T_ETH_MAC_COMMAND_INVALIDATE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _T_ETH_MAC_COMMAND_INVALIDATE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23]
	ldr	w0, [x8, x24, lsl #2]
	ldr	w1, [x25]
	ldr	w2, [x26]
	bl	_SET_FLAG
	add	x24, x24, #1
	ldrsw	x8, [x20]
	cmp	x24, x8
	b.lt	LBB0_2
LBB0_3:
	mov	x0, x19
	mov	x1, x21
	bl	_bnx2x_mcast_handle_pending_cmds_e1
	mov	x23, x0
	add	x0, x20, #16
	bl	_list_empty
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [x20, #8]
	mov	x0, x20
	blr	x8
LBB0_5:
	cbnz	w23, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	mov	w3, #0
	bl	_bnx2x_mcast_handle_current_cmd
	mov	x23, x0
LBB0_7:
	ldp	w8, w9, [x20]
	sub	w9, w9, w8
	str	w9, [x20, #4]
	cmp	w23, w8
	cset	w0, gt
	bl	_WARN_ON
	mov	x0, x19
	mov	x1, x21
	mov	x2, x23
	bl	_bnx2x_mcast_set_rdata_hdr_e1
	mov	x0, x19
	mov	x1, x20
	bl	_bnx2x_mcast_refresh_registry_e1
	cbnz	w0, LBB0_11
; %bb.8:
Lloh4:
	adrp	x8, _RAMROD_DRV_CLR_ONLY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _RAMROD_DRV_CLR_ONLY@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.9:
	add	x0, x20, #24
	ldr	x8, [x20, #32]
	blr	x8
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh7:
	adrp	x8, _RAMROD_CMD_ID_ETH_SET_MAC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RAMROD_CMD_ID_ETH_SET_MAC@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
	ldp	w0, w22, [x20, #24]
	bl	_U64_HI
	mov	x23, x0
	ldr	w0, [x20, #24]
	bl	_U64_LO
	mov	x4, x0
Lloh10:
	adrp	x8, _ETH_CONNECTION_TYPE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETH_CONNECTION_TYPE@GOTPAGEOFF]
Lloh12:
	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_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_MAC_CONFIGURATION_ENTRY_ACTION_TYPE,4,2 ; @MAC_CONFIGURATION_ENTRY_ACTION_TYPE
	.comm	_T_ETH_MAC_COMMAND_INVALIDATE,4,2 ; @T_ETH_MAC_COMMAND_INVALIDATE
	.comm	_RAMROD_DRV_CLR_ONLY,4,2        ; @RAMROD_DRV_CLR_ONLY
	.comm	_RAMROD_CMD_ID_ETH_SET_MAC,4,2  ; @RAMROD_CMD_ID_ETH_SET_MAC
	.comm	_ETH_CONNECTION_TYPE,4,2        ; @ETH_CONNECTION_TYPE
	.no_dead_strip	_bnx2x_mcast_setup_e1
.subsections_via_symbols
