	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_uc_steer_add
_mlx4_en_uc_steer_add:                  ## @mlx4_en_uc_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
	subq	$120, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %r13
	movl	(%r13), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	jne	LBB0_3
## %bb.2:
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -152(%rbp)
	leaq	-72(%rbp), %rdi
	movq	_ETH_ALEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rsi
	callq	_memcpy
	movl	(%r14), %eax
	movl	%eax, -92(%rbp)
	movq	_MLX4_PROT_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-152(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movq	%r13, %rdi
	xorl	%ecx, %ecx
	callq	_mlx4_unicast_attach
	jmp	LBB0_5
LBB0_4:
	movq	%rcx, %r15
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -80(%rbp)
	movq	_MLX4_MAC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$16, %edi
	callq	_cpu_to_be64
	movb	%al, -113(%rbp)
	movl	$1, -152(%rbp)
	leaq	-144(%rbp), %rdi
	movl	$0, -144(%rbp)
	movq	_MLX4_DOMAIN_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -136(%rbp)
	movq	_MLX4_FS_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -132(%rbp)
	movl	$0, -128(%rbp)
	movq	_MLX4_NET_TRANS_Q_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)
	movl	(%r14), %eax
	movl	%eax, -140(%rbp)
	movl	(%rbx), %eax
	movl	%eax, -148(%rbp)
	callq	_INIT_LIST_HEAD
	movq	_MLX4_NET_TRANS_RULE_ID_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_memcpy
	movl	(%rbx), %edx
	leaq	-113(%rbp), %rsi
	xorl	%edi, %edi
	callq	_memcpy
	leaq	-112(%rbp), %rdi
	leaq	-144(%rbp), %rsi
	callq	_list_add_tail
	leaq	-152(%rbp), %rsi
	movq	%r13, %rdi
	movq	%r15, %rdx
	callq	_mlx4_flow_attach
LBB0_5:
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_6
## %bb.7:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_en_warn
	jmp	LBB0_8
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_10
## %bb.9:
	movl	%ebx, %eax
	addq	$120, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MLX4_PROT_ETH,4,2              ## @MLX4_PROT_ETH
	.comm	_MLX4_MAC_MASK,4,2              ## @MLX4_MAC_MASK
	.comm	_MLX4_DOMAIN_NIC,4,2            ## @MLX4_DOMAIN_NIC
	.comm	_MLX4_FS_REGULAR,4,2            ## @MLX4_FS_REGULAR
	.comm	_MLX4_NET_TRANS_Q_FIFO,4,2      ## @MLX4_NET_TRANS_Q_FIFO
	.comm	_MLX4_NET_TRANS_RULE_ID_ETH,4,2 ## @MLX4_NET_TRANS_RULE_ID_ETH
	.comm	_EINVAL,4,2                     ## @EINVAL
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed Attaching Unicast\n"

	.no_dead_strip	_mlx4_en_uc_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_uc_steer_add
_mlx4_en_uc_steer_add:                  ; @mlx4_en_uc_steer_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #192
	.cfi_def_cfa_offset 192
	stp	x24, x23, [sp, #128]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #144]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #160]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #176]            ; 16-byte Folded Spill
	add	x29, sp, #176
	.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
	mov	x23, x2
	mov	x22, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
	ldr	w8, [x20]
	cmp	w8, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w8, #129
	b.ne	LBB0_5
; %bb.2:
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [sp, #48]
	ldr	w8, [x23]
	str	w8, [sp, #8]
	add	x8, sp, #48
	add	x0, x8, #40
Lloh3:
	adrp	x8, _ETH_ALEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETH_ALEN@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x1, x22
	bl	_memcpy
	ldr	w8, [x19]
	str	w8, [sp, #68]
Lloh6:
	adrp	x8, _MLX4_PROT_ETH@GOTPAGE
Lloh7:
	ldr	x8, [x8, _MLX4_PROT_ETH@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
	add	x1, sp, #8
	add	x2, sp, #48
	mov	x0, x20
	mov	w3, #0
	bl	_mlx4_unicast_attach
	mov	x20, x0
	cbnz	w0, LBB0_4
	b	LBB0_6
LBB0_3:
	mov	x21, x3
	str	xzr, [sp, #80]
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #48]
Lloh9:
	adrp	x8, _MLX4_MAC_MASK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX4_MAC_MASK@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	lsl	w0, w8, #16
	bl	_cpu_to_be64
	strb	w0, [sp, #47]
Lloh12:
	adrp	x8, _MLX4_DOMAIN_NIC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX4_DOMAIN_NIC@GOTPAGEOFF]
Lloh14:
	adrp	x9, _MLX4_FS_REGULAR@GOTPAGE
Lloh15:
	ldr	x9, [x9, _MLX4_FS_REGULAR@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
Lloh17:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
Lloh18:
	adrp	x8, _MLX4_NET_TRANS_Q_FIFO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MLX4_NET_TRANS_Q_FIFO@GOTPAGEOFF]
	mov	w9, #1
Lloh20:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #32]
	ldr	w8, [x19]
	stp	wzr, w8, [sp, #16]
	add	x8, sp, #8
	add	x24, x8, #8
	ldr	w8, [x23]
	stp	w9, w8, [sp, #8]
	mov	x0, x24
	bl	_INIT_LIST_HEAD
Lloh21:
	adrp	x8, _MLX4_NET_TRANS_RULE_ID_ETH@GOTPAGE
Lloh22:
	ldr	x8, [x8, _MLX4_NET_TRANS_RULE_ID_ETH@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	str	w8, [sp, #72]
Lloh24:
	adrp	x23, _ETH_ALEN@GOTPAGE
Lloh25:
	ldr	x23, [x23, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x23]
	mov	x0, #0
	mov	x1, x22
	bl	_memcpy
	ldr	w2, [x23]
	add	x1, sp, #47
	mov	x0, #0
	bl	_memcpy
	add	x0, sp, #48
	mov	x1, x24
	bl	_list_add_tail
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x21
	bl	_mlx4_flow_attach
	mov	x20, x0
	cbz	w0, LBB0_6
LBB0_4:
Lloh26:
	adrp	x1, l_.str@PAGE
Lloh27:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_en_warn
	b	LBB0_6
LBB0_5:
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_6:
	ldur	x8, [x29, #-56]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x20
	ldp	x29, x30, [sp, #176]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #160]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #144]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #192
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh16
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MLX4_PROT_ETH,4,2              ; @MLX4_PROT_ETH
	.comm	_MLX4_MAC_MASK,4,2              ; @MLX4_MAC_MASK
	.comm	_MLX4_DOMAIN_NIC,4,2            ; @MLX4_DOMAIN_NIC
	.comm	_MLX4_FS_REGULAR,4,2            ; @MLX4_FS_REGULAR
	.comm	_MLX4_NET_TRANS_Q_FIFO,4,2      ; @MLX4_NET_TRANS_Q_FIFO
	.comm	_MLX4_NET_TRANS_RULE_ID_ETH,4,2 ; @MLX4_NET_TRANS_RULE_ID_ETH
	.comm	_EINVAL,4,2                     ; @EINVAL
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed Attaching Unicast\n"

	.no_dead_strip	_mlx4_en_uc_steer_add
.subsections_via_symbols
