	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_tunnel_steer_add
_mlx4_en_tunnel_steer_add:              ## @mlx4_en_tunnel_steer_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	%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
	movq	%rcx, %r12
	movl	%edx, %ecx
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movq	(%rax), %rdi
	movq	(%rdi), %rax
	movq	_MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPCREL(%rip), %rdx
	xorl	%r14d, %r14d
	cmpq	(%rdx), %rax
	jne	LBB0_5
## %bb.1:
	movq	8(%rdi), %rax
	movq	_MLX4_STEERING_DMFS_A0_STATIC@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_5
## %bb.2:
	movq	%rsi, %r15
	movl	(%rbx), %edx
	movq	_MLX4_DOMAIN_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, %r9
	callq	_mlx4_tunnel_steer_add
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r13d
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	callq	_en_err
	movl	%r13d, %r14d
	jmp	LBB0_5
LBB0_4:
	movq	_DRV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r12), %r8d
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rsi
	movq	%r15, %rcx
	callq	_en_dbg
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MLX4_TUNNEL_OFFLOAD_MODE_VXLAN,8,3 ## @MLX4_TUNNEL_OFFLOAD_MODE_VXLAN
	.comm	_MLX4_STEERING_DMFS_A0_STATIC,8,3 ## @MLX4_STEERING_DMFS_A0_STATIC
	.comm	_MLX4_DOMAIN_NIC,4,2            ## @MLX4_DOMAIN_NIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to add vxlan steering rule, err %d\n"

	.comm	_DRV,4,2                        ## @DRV
L_.str.1:                               ## @.str.1
	.asciz	"added vxlan steering rule, mac %pM reg_id %llx\n"

	.no_dead_strip	_mlx4_en_tunnel_steer_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_tunnel_steer_add
_mlx4_en_tunnel_steer_add:              ; @mlx4_en_tunnel_steer_add
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, #8]
	ldr	x0, [x8]
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
Lloh3:
	adrp	x9, _MLX4_STEERING_DMFS_A0_STATIC@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MLX4_STEERING_DMFS_A0_STATIC@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
LBB0_2:
	mov	w22, #0
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x21, x3
	mov	x3, x2
	mov	x20, x1
	ldr	w2, [x19]
Lloh6:
	adrp	x8, _MLX4_DOMAIN_NIC@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX4_DOMAIN_NIC@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	mov	x5, x21
	bl	_mlx4_tunnel_steer_add
	mov	x22, x0
	cbz	w0, LBB0_6
; %bb.5:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	x2, x22
	bl	_en_err
	b	LBB0_3
LBB0_6:
Lloh11:
	adrp	x8, _DRV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DRV@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	ldr	w4, [x21]
Lloh14:
	adrp	x2, l_.str.1@PAGE
Lloh15:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x19
	mov	x3, x20
	bl	_en_dbg
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_MLX4_TUNNEL_OFFLOAD_MODE_VXLAN,8,3 ; @MLX4_TUNNEL_OFFLOAD_MODE_VXLAN
	.comm	_MLX4_STEERING_DMFS_A0_STATIC,8,3 ; @MLX4_STEERING_DMFS_A0_STATIC
	.comm	_MLX4_DOMAIN_NIC,4,2            ; @MLX4_DOMAIN_NIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to add vxlan steering rule, err %d\n"

	.comm	_DRV,4,2                        ; @DRV
l_.str.1:                               ; @.str.1
	.asciz	"added vxlan steering rule, mac %pM reg_id %llx\n"

	.no_dead_strip	_mlx4_en_tunnel_steer_add
.subsections_via_symbols
