	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function promisc_steering_entry
_promisc_steering_entry:                ## @promisc_steering_entry
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r13d, %r13d
	testl	%esi, %esi
	jle	LBB0_14
## %bb.1:
	movl	%esi, %r14d
	movq	%rdi, %r12
	cmpl	%esi, (%rdi)
	jl	LBB0_14
## %bb.2:
	movl	%ecx, %ebx
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_mlx4_alloc_cmd_mailbox
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_14
## %bb.3:
	movq	(%r15), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movl	%ebx, %esi
	movq	%r15, %rdx
	callq	_mlx4_READ_ENTRY
	xorl	%r13d, %r13d
	testq	%rax, %rax
	jne	LBB0_13
## %bb.4:
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	movl	8(%rbx), %edi
	callq	_be32_to_cpu
	andl	$16777215, %eax                 ## imm = 0xFFFFFF
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	movq	%rbx, %rcx
	je	LBB0_6
## %bb.5:
	movl	%eax, (%rdx)
LBB0_6:
	movl	$1, %r13d
	testl	%eax, %eax
	je	LBB0_13
## %bb.7:
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_9 Depth=1
	incq	%r15
	cmpq	%r15, -48(%rbp)                 ## 8-byte Folded Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_12
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx), %rax
	movl	(%rax,%r15,4), %edi
	callq	_be32_to_cpu
	movl	%eax, %ebx
	movq	_MGM_QPN_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %ebx
	movq	%r12, %rdi
	movl	%r14d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_get_promisc_qp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	cmpl	-52(%rbp), %ebx                 ## 4-byte Folded Reload
	je	LBB0_8
## %bb.11:
	xorl	%r13d, %r13d
LBB0_12:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_13:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_mlx4_free_cmd_mailbox
LBB0_14:
	movl	%r13d, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MGM_QPN_MASK,4,2               ## @MGM_QPN_MASK
	.no_dead_strip	_promisc_steering_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function promisc_steering_entry
_promisc_steering_entry:                ; @promisc_steering_entry
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x23, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.lt	LBB0_3
; %bb.2:
	mov	x24, x5
	mov	x21, x4
	mov	x25, x3
	mov	x22, x2
	mov	x0, x19
	bl	_mlx4_alloc_cmd_mailbox
	mov	x20, x0
	bl	_IS_ERR
	cbz	x0, LBB0_5
LBB0_3:
	mov	w21, #0
LBB0_4:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x26, [x20]
	mov	x0, x19
	mov	x1, x25
	mov	x2, x20
	bl	_mlx4_READ_ENTRY
	cbz	x0, LBB0_7
LBB0_6:
	mov	w21, #0
	b	LBB0_14
LBB0_7:
	ldr	w0, [x26, #8]
	bl	_be32_to_cpu
	and	w8, w0, #0xffffff
	cbz	x24, LBB0_9
; %bb.8:
	str	w8, [x24]
LBB0_9:
	cbz	w8, LBB0_13
; %bb.10:
	mov	x25, #0
	lsl	x27, x8, #2
Lloh0:
	adrp	x28, _MGM_QPN_MASK@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MGM_QPN_MASK@GOTPAGEOFF]
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	w0, [x8, x25]
	bl	_be32_to_cpu
	ldr	w8, [x28]
	and	w24, w8, w0
	mov	x0, x19
	mov	x1, x23
	mov	x2, x22
	mov	x3, x24
	bl	_get_promisc_qp
	cmp	w0, #0
	ccmp	w24, w21, #4, eq
	b.ne	LBB0_6
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x25, x25, #4
	cmp	x27, x25
	b.ne	LBB0_11
LBB0_13:
	mov	w21, #1
LBB0_14:
	mov	x0, x19
	mov	x1, x20
	bl	_mlx4_free_cmd_mailbox
	b	LBB0_4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MGM_QPN_MASK,4,2               ; @MGM_QPN_MASK
	.no_dead_strip	_promisc_steering_entry
.subsections_via_symbols
