	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_flow_steer_promisc_add    ## -- Begin function mlx4_flow_steer_promisc_add
	.p2align	4, 0x90
_mlx4_flow_steer_promisc_add:           ## @mlx4_flow_steer_promisc_add
	.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	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, -40(%rbp)
	movl	$1, -56(%rbp)
	movq	_MLX4_NET_TRANS_Q_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movl	$-1, %eax
	cmpl	$128, %ecx
	je	LBB0_3
## %bb.1:
	cmpl	$129, %ecx
	jne	LBB0_6
## %bb.2:
	movq	%r14, %rsi
	jmp	LBB0_4
LBB0_3:
	leaq	8(%r14), %rsi
LBB0_4:
	movq	(%rsi), %rsi
	cmpq	$0, (%rsi,%rbx,8)
	jne	LBB0_6
## %bb.5:
	leaq	-40(%rbp), %rdi
	leaq	(%rsi,%rbx,8), %r15
	movl	%ecx, -52(%rbp)
	movq	%rbx, -48(%rbp)
	movl	%edx, -36(%rbp)
	callq	_INIT_LIST_HEAD
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_mlx4_info
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	movq	%r15, %rdx
	callq	_mlx4_flow_attach
LBB0_6:
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_NET_TRANS_Q_FIFO,4,2      ## @MLX4_NET_TRANS_Q_FIFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"going promisc on %x\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_flow_steer_promisc_add    ; -- Begin function mlx4_flow_steer_promisc_add
	.p2align	2
_mlx4_flow_steer_promisc_add:           ; @mlx4_flow_steer_promisc_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x1
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	mov	w8, #1
	str	w8, [sp]
Lloh0:
	adrp	x8, _MLX4_NET_TRANS_Q_FIFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_NET_TRANS_Q_FIFO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #28]
	cmp	w3, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w3, #129
	b.ne	LBB0_5
; %bb.2:
	mov	x8, x19
	b	LBB0_4
LBB0_3:
	add	x8, x19, #8
LBB0_4:
	ldr	x8, [x8]
	add	x21, x8, x20, lsl #3
	ldr	x8, [x21]
	cbz	x8, LBB0_6
LBB0_5:
	mov	w0, #-1
	b	LBB0_7
LBB0_6:
	mov	x8, sp
	str	w3, [sp, #4]
	add	x0, x8, #16
	str	x20, [sp, #8]
	str	w2, [sp, #20]
	bl	_INIT_LIST_HEAD
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_mlx4_info
	mov	x1, sp
	mov	x0, x19
	mov	x2, x21
	bl	_mlx4_flow_attach
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_NET_TRANS_Q_FIFO,4,2      ; @MLX4_NET_TRANS_Q_FIFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"going promisc on %x\n"

.subsections_via_symbols
