	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_ib_tunnel_steer_add
_mlx4_ib_tunnel_steer_add:              ## @mlx4_ib_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movl	4(%rdi), %edi
	callq	_to_mdev
	movq	(%rax), %rax
	movq	(%rax), %rcx
	movq	_MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.1:
	movq	8(%rax), %rax
	movq	_MLX4_STEERING_DMFS_A0_STATIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_4
## %bb.2:
	movq	12(%r15), %rax
	movq	_IB_FLOW_SPEC_ETH@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	cmpl	$1, (%r15)
	jne	LBB0_4
## %bb.5:
	movl	4(%rbx), %edi
	callq	_to_mdev
	movq	(%rax), %rdi
	movl	8(%r15), %edx
	movl	12(%r15), %esi
	movl	(%rbx), %ecx
	movq	_MLX4_DOMAIN_UVERBS@GOTPCREL(%rip), %rax
	movzbl	4(%r15), %r8d
	orl	(%rax), %r8d
	movq	%r14, %r9
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mlx4_tunnel_steer_add          ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	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	_IB_FLOW_SPEC_ETH,8,3           ## @IB_FLOW_SPEC_ETH
	.comm	_MLX4_DOMAIN_UVERBS,4,2         ## @MLX4_DOMAIN_UVERBS
	.no_dead_strip	_mlx4_ib_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_ib_tunnel_steer_add
_mlx4_ib_tunnel_steer_add:              ; @mlx4_ib_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, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0, #4]
	bl	_to_mdev
	ldr	x8, [x0]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _MLX4_TUNNEL_OFFLOAD_MODE_VXLAN@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x8, #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.eq	LBB0_5
; %bb.2:
	ldur	x8, [x20, #12]
Lloh6:
	adrp	x9, _IB_FLOW_SPEC_ETH@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_FLOW_SPEC_ETH@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w8, [x20]
	cmp	w8, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x21, #4]
	bl	_to_mdev
	ldr	x0, [x0]
	ldp	w2, w1, [x20, #8]
	ldr	w3, [x21]
Lloh9:
	adrp	x8, _MLX4_DOMAIN_UVERBS@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX4_DOMAIN_UVERBS@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldrb	w9, [x20, #4]
	orr	w4, w9, w8
	mov	x5, x19
	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
	b	_mlx4_tunnel_steer_add
LBB0_5:
	mov	w0, #0
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.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	_IB_FLOW_SPEC_ETH,8,3           ; @IB_FLOW_SPEC_ETH
	.comm	_MLX4_DOMAIN_UVERBS,4,2         ; @MLX4_DOMAIN_UVERBS
	.no_dead_strip	_mlx4_ib_tunnel_steer_add
.subsections_via_symbols
