	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ovs_flow_cmd_new_or_set
_ovs_flow_cmd_new_or_set:               ## @ovs_flow_cmd_new_or_set
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	24(%rsi), %r14
	movq	32(%rsi), %r13
	movq	$0, -56(%rbp)
	movq	_EINVAL@GOTPCREL(%rip), %r15
	movq	_OVS_FLOW_ATTR_KEY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdx
	testq	%rdx, %rdx
	je	LBB0_1
## %bb.2:
	movq	%rsi, %r12
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	leaq	-48(%rbp), %rdi
	leaq	-60(%rbp), %rsi
	callq	_ovs_flow_from_nlattrs
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_29
## %bb.3:
	movq	_OVS_FLOW_ATTR_ACTIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	callq	_nla_len
	movl	%eax, %edi
	callq	_ovs_flow_actions_alloc
	movq	%rax, %r15
	movq	%rax, -56(%rbp)
	movq	%rax, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_29
## %bb.5:
	movq	_OVS_FLOW_ATTR_ACTIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r13,%rax,8), %rdi
	leaq	-48(%rbp), %rsi
	leaq	-56(%rbp), %rcx
	xorl	%edx, %edx
	callq	_validate_and_copy_actions
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
	jmp	LBB0_8
LBB0_7:
	movq	16(%r12), %rax
	movq	(%rax), %rax
	movq	_OVS_FLOW_CMD_NEW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_1:
	xorl	%ebx, %ebx
	subl	(%r15), %ebx
LBB0_29:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ovs_lock
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sock_net
	movl	(%r14), %esi
	movq	%rax, %rdi
	callq	_get_dp
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r15
	movl	(%rax), %edi
	callq	_ovsl_dereference
	movq	%rax, %r14
	movl	-60(%rbp), %edx
	leaq	-48(%rbp), %rsi
	movq	%rax, %rdi
	callq	_ovs_flow_tbl_lookup
	testq	%rax, %rax
	je	LBB0_11
## %bb.21:
	movq	%rax, %rbx
	movq	16(%r12), %rax
	movq	(%rax), %rax
	movq	_OVS_FLOW_CMD_NEW@GOTPCREL(%rip), %r14
	cmpq	(%r14), %rax
	jne	LBB0_24
## %bb.22:
	movq	8(%r12), %rax
	movq	_NLM_F_CREATE@GOTPCREL(%rip), %rcx
	movq	_NLM_F_EXCL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%rax)
	je	LBB0_24
## %bb.23:
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_24:
	movl	8(%rbx), %edi
	callq	_ovsl_dereference
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edi
	movq	-56(%rbp), %rsi
	callq	_rcu_assign_pointer
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_ovs_flow_deferred_free_acts
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	(%r14), %r8
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ovs_flow_cmd_build_info
	movq	%rax, %r15
	movq	_OVS_FLOW_ATTR_CLEAR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%r13,%rax,8)
	je	LBB0_26
## %bb.25:
	movq	%rbx, %r13
	addq	$4, %r13
	movq	%r13, %rdi
	callq	_spin_lock_bh
	movq	%rbx, %rdi
	callq	_clear_stats
	movq	%r13, %rdi
	callq	_spin_unlock_bh
	jmp	LBB0_26
LBB0_11:
	movq	16(%r12), %rax
	movq	(%rax), %rax
	movq	_OVS_FLOW_CMD_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.12:
	movq	_ENOENT@GOTPCREL(%rip), %rax
LBB0_13:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_19
LBB0_14:
	movq	%r14, %rdi
	callq	_ovs_flow_tbl_need_to_expand
	testq	%rax, %rax
	je	LBB0_17
## %bb.15:
	movq	%r14, %rdi
	callq	_ovs_flow_tbl_expand
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_17
## %bb.16:
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_rcu_assign_pointer
	movq	%r14, %rdi
	callq	_ovs_flow_tbl_deferred_destroy
	movl	(%r15), %edi
	callq	_ovsl_dereference
	movq	%rax, %r14
LBB0_17:
	xorl	%eax, %eax
	callq	_ovs_flow_alloc
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_20
## %bb.18:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
LBB0_19:
	xorl	%eax, %eax
	callq	_ovs_unlock
LBB0_6:
	movq	-56(%rbp), %rdi
	callq	_kfree
	jmp	LBB0_29
LBB0_20:
	movq	%rbx, %rdi
	callq	_clear_stats
	movl	8(%rbx), %edi
	movq	-56(%rbp), %rsi
	callq	_rcu_assign_pointer
	movl	-60(%rbp), %ecx
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_ovs_flow_tbl_insert
	movl	(%r12), %ecx
	movl	4(%r12), %edx
	movq	_OVS_FLOW_CMD_NEW@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_ovs_flow_cmd_build_info
	movq	%rax, %r15
LBB0_26:
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_ovs_unlock
	movq	%r15, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_27
## %bb.28:
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %edi
	callq	_sock_net
	movl	(%rax), %r14d
	movq	_ovs_dp_flow_multicast_group@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	%r15, %rdi
	callq	_PTR_ERR
	movl	%r14d, %edi
	xorl	%esi, %esi
	movl	%r12d, %edx
	movl	%eax, %ecx
	callq	_netlink_set_err
	jmp	LBB0_29
LBB0_27:
	movq	_ovs_dp_flow_multicast_group@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_ovs_notify
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OVS_FLOW_ATTR_KEY,8,3          ## @OVS_FLOW_ATTR_KEY
	.comm	_OVS_FLOW_ATTR_ACTIONS,8,3      ## @OVS_FLOW_ATTR_ACTIONS
	.comm	_OVS_FLOW_CMD_NEW,8,3           ## @OVS_FLOW_CMD_NEW
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_OVS_FLOW_CMD_SET,8,3           ## @OVS_FLOW_CMD_SET
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_NLM_F_CREATE,4,2               ## @NLM_F_CREATE
	.comm	_NLM_F_EXCL,4,2                 ## @NLM_F_EXCL
	.comm	_OVS_FLOW_ATTR_CLEAR,8,3        ## @OVS_FLOW_ATTR_CLEAR
	.comm	_ovs_dp_flow_multicast_group,4,2 ## @ovs_dp_flow_multicast_group
	.no_dead_strip	_ovs_flow_cmd_new_or_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ovs_flow_cmd_new_or_set
_ovs_flow_cmd_new_or_set:               ; @ovs_flow_cmd_new_or_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	ldp	x23, x24, [x1, #24]
Lloh0:
	adrp	x22, _EINVAL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _EINVAL@GOTPAGEOFF]
	str	xzr, [sp, #16]
Lloh2:
	adrp	x8, _OVS_FLOW_ATTR_KEY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OVS_FLOW_ATTR_KEY@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	ldr	x2, [x24, x8, lsl #3]
	cbz	x2, LBB0_6
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	add	x0, sp, #24
	add	x1, sp, #12
	bl	_ovs_flow_from_nlattrs
	mov	x21, x0
	cbnz	w0, LBB0_7
; %bb.2:
Lloh5:
	adrp	x25, _OVS_FLOW_ATTR_ACTIONS@GOTPAGE
Lloh6:
	ldr	x25, [x25, _OVS_FLOW_ATTR_ACTIONS@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x0, [x24, x8, lsl #3]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_nla_len
	bl	_ovs_flow_actions_alloc
	mov	x22, x0
	str	x0, [sp, #16]
	bl	_PTR_ERR
	mov	x21, x0
	mov	x0, x22
	bl	_IS_ERR
	cbnz	x0, LBB0_7
; %bb.4:
	ldr	x8, [x25]
	ldr	x0, [x24, x8, lsl #3]
	add	x1, sp, #24
	add	x3, sp, #16
	mov	w2, #0
	bl	_validate_and_copy_actions
	mov	x21, x0
	cbnz	w0, LBB0_20
	b	LBB0_8
LBB0_5:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh7:
	adrp	x9, _OVS_FLOW_CMD_NEW@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OVS_FLOW_CMD_NEW@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
LBB0_6:
	ldr	w8, [x22]
	neg	w21, w8
LBB0_7:
	mov	x0, x21
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_8:
	bl	_ovs_lock
	ldr	w0, [x20]
	bl	_sock_net
	ldr	w1, [x23]
	bl	_get_dp
	cbz	x0, LBB0_13
; %bb.9:
	mov	x21, x0
	ldr	w0, [x0]
	bl	_ovsl_dereference
	mov	x22, x0
	ldr	w2, [sp, #12]
	add	x1, sp, #24
	bl	_ovs_flow_tbl_lookup
	cbz	x0, LBB0_16
; %bb.10:
	mov	x23, x0
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh10:
	adrp	x25, _OVS_FLOW_CMD_NEW@GOTPAGE
Lloh11:
	ldr	x25, [x25, _OVS_FLOW_CMD_NEW@GOTPAGEOFF]
	ldr	x9, [x25]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.11:
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _NLM_F_CREATE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _NLM_F_CREATE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
Lloh15:
	adrp	x10, _NLM_F_EXCL@GOTPAGE
Lloh16:
	ldr	x10, [x10, _NLM_F_EXCL@GOTPAGEOFF]
Lloh17:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_14
; %bb.12:
Lloh18:
	adrp	x8, _EEXIST@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_18
LBB0_13:
Lloh20:
	adrp	x8, _ENODEV@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_18
LBB0_14:
	ldr	w0, [x23, #8]
	bl	_ovsl_dereference
	mov	x22, x0
	ldr	w0, [x23, #8]
	ldr	x1, [sp, #16]
	bl	_rcu_assign_pointer
	mov	x0, x22
	bl	_ovs_flow_deferred_free_acts
	ldp	w3, w2, [x19]
	ldr	x4, [x25]
	mov	x0, x23
	mov	x1, x21
	bl	_ovs_flow_cmd_build_info
	mov	x21, x0
Lloh22:
	adrp	x8, _OVS_FLOW_ATTR_CLEAR@GOTPAGE
Lloh23:
	ldr	x8, [x8, _OVS_FLOW_ATTR_CLEAR@GOTPAGEOFF]
Lloh24:
	ldr	x8, [x8]
	ldr	x8, [x24, x8, lsl #3]
	cbz	x8, LBB0_27
; %bb.15:
	add	x22, x23, #4
	mov	x0, x22
	bl	_spin_lock_bh
	mov	x0, x23
	bl	_clear_stats
	mov	x0, x22
	bl	_spin_unlock_bh
	b	LBB0_27
LBB0_16:
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
Lloh25:
	adrp	x9, _OVS_FLOW_CMD_SET@GOTPAGE
Lloh26:
	ldr	x9, [x9, _OVS_FLOW_CMD_SET@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.17:
Lloh28:
	adrp	x8, _ENOENT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
LBB0_18:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_19:
	bl	_ovs_unlock
LBB0_20:
	ldr	x0, [sp, #16]
	bl	_kfree
	b	LBB0_7
LBB0_21:
	mov	x0, x22
	bl	_ovs_flow_tbl_need_to_expand
	cbz	x0, LBB0_24
; %bb.22:
	mov	x0, x22
	bl	_ovs_flow_tbl_expand
	mov	x23, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_24
; %bb.23:
	ldr	w0, [x21]
	mov	x1, x23
	bl	_rcu_assign_pointer
	mov	x0, x22
	bl	_ovs_flow_tbl_deferred_destroy
	ldr	w0, [x21]
	bl	_ovsl_dereference
	mov	x22, x0
LBB0_24:
	bl	_ovs_flow_alloc
	mov	x23, x0
	bl	_IS_ERR
	cbz	x0, LBB0_26
; %bb.25:
	mov	x0, x23
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_19
LBB0_26:
	mov	x0, x23
	bl	_clear_stats
	ldr	w0, [x23, #8]
	ldr	x1, [sp, #16]
	bl	_rcu_assign_pointer
	ldr	w3, [sp, #12]
	add	x2, sp, #24
	mov	x0, x22
	mov	x1, x23
	bl	_ovs_flow_tbl_insert
	ldp	w3, w2, [x19]
Lloh30:
	adrp	x8, _OVS_FLOW_CMD_NEW@GOTPAGE
Lloh31:
	ldr	x8, [x8, _OVS_FLOW_CMD_NEW@GOTPAGEOFF]
Lloh32:
	ldr	x4, [x8]
	mov	x0, x23
	mov	x1, x21
	bl	_ovs_flow_cmd_build_info
	mov	x21, x0
LBB0_27:
	bl	_ovs_unlock
	mov	x0, x21
	bl	_IS_ERR
	cbz	x0, LBB0_29
; %bb.28:
	ldr	w0, [x20]
	bl	_sock_net
	ldr	w19, [x0]
Lloh33:
	adrp	x8, _ovs_dp_flow_multicast_group@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ovs_dp_flow_multicast_group@GOTPAGEOFF]
Lloh35:
	ldr	w20, [x8]
	mov	x0, x21
	bl	_PTR_ERR
	mov	x3, x0
	mov	x0, x19
	mov	w1, #0
	mov	x2, x20
	bl	_netlink_set_err
	b	LBB0_30
LBB0_29:
Lloh36:
	adrp	x2, _ovs_dp_flow_multicast_group@GOTPAGE
Lloh37:
	ldr	x2, [x2, _ovs_dp_flow_multicast_group@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x19
	bl	_ovs_notify
LBB0_30:
	mov	w21, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh36, Lloh37
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OVS_FLOW_ATTR_KEY,8,3          ; @OVS_FLOW_ATTR_KEY
	.comm	_OVS_FLOW_ATTR_ACTIONS,8,3      ; @OVS_FLOW_ATTR_ACTIONS
	.comm	_OVS_FLOW_CMD_NEW,8,3           ; @OVS_FLOW_CMD_NEW
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_OVS_FLOW_CMD_SET,8,3           ; @OVS_FLOW_CMD_SET
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_NLM_F_CREATE,4,2               ; @NLM_F_CREATE
	.comm	_NLM_F_EXCL,4,2                 ; @NLM_F_EXCL
	.comm	_OVS_FLOW_ATTR_CLEAR,8,3        ; @OVS_FLOW_ATTR_CLEAR
	.comm	_ovs_dp_flow_multicast_group,4,2 ; @ovs_dp_flow_multicast_group
	.no_dead_strip	_ovs_flow_cmd_new_or_set
.subsections_via_symbols
