	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_set_rss_steer_rules
_mlx4_en_set_rss_steer_rules:           ## @mlx4_en_set_rss_steer_rules
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	(%rax), %rsi
	leaq	-28(%rbp), %rcx
	movq	%rdi, %rdx
	callq	_mlx4_en_uc_steer_add
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	16(%r14), %rax
	movq	(%rax), %rsi
	movl	(%r14), %edx
	leaq	24(%r14), %r15
	movq	%r14, %rdi
	movq	%r15, %rcx
	callq	_mlx4_en_tunnel_steer_add
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_2
LBB0_5:
	movq	16(%r14), %rax
	movq	(%rax), %rsi
	movl	(%r14), %edx
	movl	-28(%rbp), %ecx
	movq	%r14, %rdi
	callq	_mlx4_en_uc_steer_release
	jmp	LBB0_6
LBB0_2:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%rax, %rbx
	movq	(%rax), %rdi
	movq	16(%r14), %rax
	movq	(%rax), %rsi
	movl	$8, %edx
	callq	_memcpy
	movq	8(%r14), %rdi
	movq	(%rbx), %rsi
	movl	$8, %edx
	callq	_memcpy
	movl	-28(%rbp), %eax
	movl	%eax, 12(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rdi
	movq	(%rbx), %rax
	movq	_MLX4_EN_MAC_HASH_IDX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rsi
	shlq	$2, %rsi
	addq	40(%r14), %rsi
	callq	_hlist_add_head_rcu
	xorl	%ebx, %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movl	(%r15), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.4:
	movq	32(%r14), %rax
	movl	(%rax), %edi
	callq	_mlx4_flow_detach
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MLX4_EN_MAC_HASH_IDX,8,3       ## @MLX4_EN_MAC_HASH_IDX
	.no_dead_strip	_mlx4_en_set_rss_steer_rules
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_set_rss_steer_rules
_mlx4_en_set_rss_steer_rules:           ; @mlx4_en_set_rss_steer_rules
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	ldr	x8, [x0, #16]
	ldr	x1, [x8]
	add	x3, sp, #12
	mov	x2, x0
	bl	_mlx4_en_uc_steer_add
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.1:
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	ldr	w2, [x19]
	add	x21, x19, #24
	mov	x0, x19
	mov	x3, x21
	bl	_mlx4_en_tunnel_steer_add
	mov	x20, x0
	cbz	w0, LBB0_3
LBB0_2:
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	ldr	w2, [x19]
	ldr	w3, [sp, #12]
	mov	x0, x19
	bl	_mlx4_en_uc_steer_release
	b	LBB0_5
LBB0_3:
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x20, x0
	ldr	x0, [x0]
	ldr	x8, [x19, #16]
	ldr	x1, [x8]
	mov	w2, #8
	bl	_memcpy
	ldr	x0, [x19, #8]
	ldr	x1, [x20]
	mov	w2, #8
	bl	_memcpy
	ldr	w8, [sp, #12]
	str	w8, [x20, #12]
	add	x0, x20, #8
	ldr	x8, [x19, #40]
	ldr	x9, [x20]
Lloh3:
	adrp	x10, _MLX4_EN_MAC_HASH_IDX@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MLX4_EN_MAC_HASH_IDX@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ldr	x9, [x9, x10, lsl #3]
	add	x1, x8, x9, lsl #2
	bl	_hlist_add_head_rcu
	mov	w20, #0
LBB0_5:
	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
	add	sp, sp, #64
	ret
LBB0_6:
Lloh6:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
	ldr	w1, [x21]
	cbz	w1, LBB0_2
; %bb.7:
	ldr	x8, [x19, #32]
	ldr	w0, [x8]
	bl	_mlx4_flow_detach
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MLX4_EN_MAC_HASH_IDX,8,3       ; @MLX4_EN_MAC_HASH_IDX
	.no_dead_strip	_mlx4_en_set_rss_steer_rules
.subsections_via_symbols
