	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_trans_to_dmfs_attach      ## -- Begin function mlx4_trans_to_dmfs_attach
	.p2align	4, 0x90
_mlx4_trans_to_dmfs_attach:             ## @mlx4_trans_to_dmfs_attach
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %ebx
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	%xmm0, -128(%rbp)
	movq	_MLX4_MAC_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	shll	$16, %edi
	callq	_cpu_to_be64
	movl	%eax, -44(%rbp)
	leaq	-76(%rbp), %rcx
	movl	$0, -76(%rbp)
	movq	_MLX4_DOMAIN_NIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -64(%rbp)
	movq	_MLX4_FS_REGULAR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movl	$0, -56(%rbp)
	movq	_MLX4_NET_TRANS_Q_FIFO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	xorl	%eax, %eax
	testl	%r15d, %r15d
	sete	%al
	movl	%eax, -80(%rbp)
	movl	%r13d, -68(%rbp)
	movl	(%r14), %eax
	movq	%rcx, %r14
	movl	%eax, -72(%rbp)
	movq	%rcx, %rdi
	callq	_INIT_LIST_HEAD
	cmpl	$128, %ebx
	je	LBB0_4
## %bb.1:
	cmpl	$129, %ebx
	jne	LBB0_3
## %bb.2:
	movq	_MLX4_NET_TRANS_RULE_ID_ETH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	addq	$40, %r12
	movq	_ETH_ALEN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	xorl	%edi, %edi
	movq	%r12, %rsi
	callq	_memcpy
	movl	(%rbx), %edx
	leaq	-44(%rbp), %rsi
	xorl	%edi, %edi
	callq	_memcpy
	jmp	LBB0_5
LBB0_4:
	movq	_MLX4_NET_TRANS_RULE_ID_IB@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -116(%rbp)
	xorl	%edi, %edi
	movq	%r12, %rsi
	movl	$16, %edx
	callq	_memcpy
	leaq	-124(%rbp), %rdi
	movl	$255, %esi
	movl	$16, %edx
	callq	_memset
LBB0_5:
	movq	16(%rbp), %rbx
	leaq	-128(%rbp), %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	leaq	-80(%rbp), %rsi
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_mlx4_flow_attach
	jmp	LBB0_6
LBB0_3:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_6:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.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	_ETH_ALEN,4,2                   ## @ETH_ALEN
	.comm	_MLX4_NET_TRANS_RULE_ID_IB,4,2  ## @MLX4_NET_TRANS_RULE_ID_IB
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx4_trans_to_dmfs_attach      ; -- Begin function mlx4_trans_to_dmfs_attach
	.p2align	2
_mlx4_trans_to_dmfs_attach:             ; @mlx4_trans_to_dmfs_attach
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x22, x2
	mov	x26, x1
	mov	x20, x0
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #48]
Lloh0:
	adrp	x8, _MLX4_MAC_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MLX4_MAC_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	lsl	w0, w8, #16
	bl	_cpu_to_be64
	str	w0, [sp, #44]
	add	x8, sp, #8
	orr	x21, x8, #0x4
Lloh3:
	adrp	x8, _MLX4_DOMAIN_NIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MLX4_DOMAIN_NIC@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MLX4_FS_REGULAR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MLX4_FS_REGULAR@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #24]
Lloh9:
	adrp	x8, _MLX4_NET_TRANS_Q_FIFO@GOTPAGE
Lloh10:
	ldr	x8, [x8, _MLX4_NET_TRANS_Q_FIFO@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	wzr, w8, [sp, #32]
	cmp	w24, #0
	cset	w8, eq
	stp	w8, wzr, [sp, #8]
	ldr	w8, [x26]
	stp	w8, w25, [sp, #16]
	mov	x0, x21
	bl	_INIT_LIST_HEAD
	cmp	w23, #128
	b.eq	LBB0_3
; %bb.1:
	cmp	w23, #129
	b.ne	LBB0_5
; %bb.2:
Lloh12:
	adrp	x8, _MLX4_NET_TRANS_RULE_ID_ETH@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MLX4_NET_TRANS_RULE_ID_ETH@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [sp, #60]
	add	x1, x22, #40
Lloh15:
	adrp	x22, _ETH_ALEN@GOTPAGE
Lloh16:
	ldr	x22, [x22, _ETH_ALEN@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w0, #0
	bl	_memcpy
	ldr	w2, [x22]
	add	x1, sp, #44
	mov	w0, #0
	bl	_memcpy
	b	LBB0_4
LBB0_3:
Lloh17:
	adrp	x8, _MLX4_NET_TRANS_RULE_ID_IB@GOTPAGE
Lloh18:
	ldr	x8, [x8, _MLX4_NET_TRANS_RULE_ID_IB@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	w8, [sp, #60]
	mov	w0, #0
	mov	x1, x22
	mov	w2, #16
	bl	_memcpy
	add	x8, sp, #48
	orr	x0, x8, #0x4
	mov	w1, #255
	mov	w2, #16
	bl	_memset
LBB0_4:
	add	x0, sp, #48
	mov	x1, x21
	bl	_list_add_tail
	add	x1, sp, #8
	mov	x0, x20
	mov	x2, x19
	bl	_mlx4_flow_attach
	b	LBB0_6
LBB0_5:
Lloh20:
	adrp	x8, _EINVAL@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.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	_ETH_ALEN,4,2                   ; @ETH_ALEN
	.comm	_MLX4_NET_TRANS_RULE_ID_IB,4,2  ; @MLX4_NET_TRANS_RULE_ID_IB
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
