	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc_add_ip4_flow
_tc_add_ip4_flow:                       ## @tc_add_ip4_flow
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_flow_cls_offload_flow_rule
	movq	%rax, %rbx
	movq	(%rax), %rdi
	movq	_STMMAC_FLOW_ACTION_DROP@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	(%r15), %r12d
	movq	_FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_dissector_uses_key
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	leaq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_flow_rule_match_ipv4_addrs
	movq	-56(%rbp), %r14
	movl	4(%r14), %edi
	callq	_ntohl
	movl	%eax, %ebx
	movq	-64(%rbp), %r13
	movl	4(%r13), %edi
	callq	_ntohl
                                        ## kill: def $eax killed $eax def $rax
	andl	%ebx, %eax
	je	LBB0_5
## %bb.3:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	(%rdi), %esi
	movl	4(%r15), %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	%rax
	pushq	%r12
	callq	_stmmac_config_l3_filter
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	-64(%rbp), %r13
	movq	-56(%rbp), %r14
LBB0_5:
	movl	(%r14), %edi
	callq	_ntohl
	movl	%eax, %ebx
	movl	(%r13), %edi
	callq	_ntohl
                                        ## kill: def $eax killed $eax def $rax
	andl	%ebx, %eax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	je	LBB0_7
## %bb.6:
	movl	(%rdi), %esi
	movl	4(%r15), %edx
	movl	$1, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	%r12
	callq	_stmmac_config_l3_filter
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STMMAC_FLOW_ACTION_DROP,4,2    ## @STMMAC_FLOW_ACTION_DROP
	.comm	_FLOW_DISSECTOR_KEY_IPV4_ADDRS,4,2 ## @FLOW_DISSECTOR_KEY_IPV4_ADDRS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_tc_add_ip4_flow
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc_add_ip4_flow
_tc_add_ip4_flow:                       ; @tc_add_ip4_flow
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x2
	mov	x19, x0
	mov	x0, x1
	bl	_flow_cls_offload_flow_rule
	mov	x22, x0
	ldr	x0, [x0]
	ldr	w21, [x20]
Lloh0:
	adrp	x8, _STMMAC_FLOW_ACTION_DROP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STMMAC_FLOW_ACTION_DROP@GOTPAGEOFF]
Lloh2:
	ldr	w23, [x8]
Lloh3:
	adrp	x8, _FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FLOW_DISSECTOR_KEY_IPV4_ADDRS@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_dissector_uses_key
	cbz	w0, LBB0_7
; %bb.1:
	and	w21, w23, w21
	mov	x1, sp
	mov	x0, x22
	bl	_flow_rule_match_ipv4_addrs
	ldr	x23, [sp, #8]
	ldr	w0, [x23, #4]
	bl	_ntohl
	mov	x22, x0
	ldr	x24, [sp]
	ldr	w0, [x24, #4]
	bl	_ntohl
	ands	w7, w0, w22
	b.eq	LBB0_4
; %bb.2:
	ldr	w1, [x19]
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	x6, x21
	bl	_stmmac_config_l3_filter
	cbnz	w0, LBB0_8
; %bb.3:
	ldp	x24, x23, [sp]
LBB0_4:
	ldr	w0, [x23]
	bl	_ntohl
	mov	x22, x0
	ldr	w0, [x24]
	bl	_ntohl
	ands	w7, w0, w22
	b.eq	LBB0_6
; %bb.5:
	ldr	w1, [x19]
	ldr	w2, [x20, #4]
	mov	x0, x19
	mov	w3, #1
	mov	w4, #0
	mov	w5, #0
	mov	x6, x21
	bl	_stmmac_config_l3_filter
	cbnz	w0, LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_8:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_STMMAC_FLOW_ACTION_DROP,4,2    ; @STMMAC_FLOW_ACTION_DROP
	.comm	_FLOW_DISSECTOR_KEY_IPV4_ADDRS,4,2 ; @FLOW_DISSECTOR_KEY_IPV4_ADDRS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_tc_add_ip4_flow
.subsections_via_symbols
