	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx4_en_ethtool_to_net_trans_rule
_mlx4_en_ethtool_to_net_trans_rule:     ## @mlx4_en_ethtool_to_net_trans_rule
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_netdev_priv
	movq	%rax, %r12
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mlx4_en_validate_flow
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_7:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	_FLOW_EXT@GOTPCREL(%rip), %rcx
	movq	_FLOW_MAC_EXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	notl	%eax
	andl	(%r15), %eax
	xorl	%ebx, %ebx
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_7
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_11:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	$128, %ecx
	jmp	LBB0_10
LBB0_9:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movl	$129, %ecx
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_tcp_udp_rule               ## TAILCALL
LBB0_8:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_add_ip_rule                    ## TAILCALL
LBB0_3:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movq	16(%r15), %rcx
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rax, %rdx
	callq	_mlx4_en_ethtool_add_mac_rule
	movl	8(%r15), %eax
	movl	%eax, 4(%r12)
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	$1, (%r12)
	jmp	LBB0_7
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_11
	.long	L0_0_set_9
	.long	L0_0_set_8
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_FLOW_EXT,4,2                   ## @FLOW_EXT
	.comm	_FLOW_MAC_EXT,4,2               ## @FLOW_MAC_EXT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_mlx4_en_ethtool_to_net_trans_rule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx4_en_ethtool_to_net_trans_rule
_mlx4_en_ethtool_to_net_trans_rule:     ; @mlx4_en_ethtool_to_net_trans_rule
	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
	bl	_netdev_priv
	mov	x21, x0
	mov	x0, x22
	mov	x1, x19
	bl	_mlx4_en_validate_flow
	cbz	w0, LBB0_2
LBB0_1:
	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_2:
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _FLOW_EXT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FLOW_EXT@GOTPAGEOFF]
Lloh2:
	adrp	x10, _FLOW_MAC_EXT@GOTPAGE
Lloh3:
	ldr	x10, [x10, _FLOW_MAC_EXT@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	bic	w8, w8, w9
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_5
; %bb.3:
Lloh6:
	adrp	x9, lJTI0_0@PAGE
Lloh7:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	w3, #128
	b	LBB0_7
LBB0_5:
	mov	w0, #0
	b	LBB0_1
LBB0_6:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	mov	w3, #129
LBB0_7:
	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	_add_tcp_udp_rule
LBB0_8:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x20
	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	_add_ip_rule
LBB0_9:
Lloh8:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_kzalloc
	cbz	x0, LBB0_12
; %bb.10:
	mov	x21, x0
	ldr	x3, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	bl	_mlx4_en_ethtool_add_mac_rule
	ldr	w8, [x19, #8]
	str	w8, [x21, #4]
	mov	w0, #0
	cbz	w8, LBB0_1
; %bb.11:
	mov	w8, #1
	str	w8, [x21]
	b	LBB0_1
LBB0_12:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_6-LBB0_4)>>2
	.byte	(LBB0_8-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
                                        ; -- End function
	.comm	_FLOW_EXT,4,2                   ; @FLOW_EXT
	.comm	_FLOW_MAC_EXT,4,2               ; @FLOW_MAC_EXT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_mlx4_en_ethtool_to_net_trans_rule
.subsections_via_symbols
