	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate_set
_validate_set:                          ## @validate_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_nla_data
	movq	%rax, %r13
	movq	%rax, %rdi
	callq	_nla_type
	movl	%eax, %r14d
	movq	%r13, %rdi
	callq	_nla_len
	movl	%eax, %edi
	callq	_nla_total_size
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_nla_len
	cltq
	cmpq	%rax, %r15
	jne	LBB0_1
## %bb.2:
	movq	_OVS_KEY_ATTR_MAX@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jg	LBB0_1
## %bb.3:
	movq	_ovs_key_lens@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%r14d, %r15
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movl	(%rax,%r15,4), %r12d
	movq	%r13, %rdi
	callq	_nla_len
	cmpl	%eax, %r12d
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_5
## %bb.4:
	movq	_ovs_key_lens@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$-1, (%rax,%r15,4)
	je	LBB0_5
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_22:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	addl	$-128, %r14d
	cmpl	$7, %r14d
	ja	LBB0_1
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r14,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_21:
	xorl	%eax, %eax
	jmp	LBB0_22
LBB0_19:
	movl	(%r12), %eax
	movq	_IPPROTO_UDP@GOTPCREL(%rip), %rcx
	jmp	LBB0_17
LBB0_20:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	$1, (%rax)
	movq	%rbx, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_validate_and_copy_set_tun
	testl	%eax, %eax
	jne	LBB0_22
	jmp	LBB0_21
LBB0_16:
	movl	(%r12), %eax
	movq	_IPPROTO_TCP@GOTPCREL(%rip), %rcx
LBB0_17:
	cmpl	(%rcx), %eax
	jne	LBB0_1
## %bb.18:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_validate_tp_port               ## TAILCALL
LBB0_11:
	movl	8(%r12), %ebx
	movq	_ETH_P_IPV6@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%eax, %ebx
	jne	LBB0_1
## %bb.12:
	cmpl	$0, (%r12)
	je	LBB0_1
## %bb.13:
	movq	%r13, %rdi
	callq	_nla_data
	movl	8(%rax), %ecx
	cmpl	(%r12), %ecx
	jne	LBB0_1
## %bb.14:
	movl	4(%rax), %ecx
	cmpl	4(%r12), %ecx
	jne	LBB0_1
## %bb.15:
	movl	(%rax), %edi
	callq	_ntohl
	cmpl	$1048576, %eax                  ## imm = 0x100000
	jae	LBB0_1
	jmp	LBB0_21
LBB0_7:
	movl	8(%r12), %ebx
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	cmpl	%eax, %ebx
	jne	LBB0_1
## %bb.8:
	cmpl	$0, (%r12)
	je	LBB0_1
## %bb.9:
	movq	%r13, %rdi
	callq	_nla_data
	movl	4(%rax), %ecx
	cmpl	(%r12), %ecx
	jne	LBB0_1
## %bb.10:
	movl	(%rax), %eax
	cmpl	4(%r12), %eax
	jne	LBB0_1
	jmp	LBB0_21
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_19
	.long	L0_0_set_20
	.long	L0_0_set_16
	.long	L0_0_set_21
	.long	L0_0_set_21
	.long	L0_0_set_11
	.long	L0_0_set_7
	.long	L0_0_set_21
	.end_data_region
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_OVS_KEY_ATTR_MAX,4,2           ## @OVS_KEY_ATTR_MAX
	.comm	_ovs_key_lens,8,3               ## @ovs_key_lens
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ## @ETH_P_IPV6
	.comm	_IPPROTO_TCP,4,2                ## @IPPROTO_TCP
	.comm	_IPPROTO_UDP,4,2                ## @IPPROTO_UDP
	.no_dead_strip	_validate_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate_set
_validate_set:                          ; @validate_set
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x23, x0
	bl	_nla_data
	mov	x20, x0
	bl	_nla_type
	mov	x24, x0
	mov	x0, x20
	bl	_nla_len
	bl	_nla_total_size
	mov	x25, x0
	mov	x0, x23
	bl	_nla_len
	cmp	x25, w0, sxtw
	b.ne	LBB0_4
; %bb.1:
Lloh0:
	adrp	x8, _OVS_KEY_ATTR_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OVS_KEY_ATTR_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w24, w8
	b.gt	LBB0_4
; %bb.2:
Lloh3:
	adrp	x25, _ovs_key_lens@GOTPAGE
Lloh4:
	ldr	x25, [x25, _ovs_key_lens@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	w26, [x8, w24, sxtw #2]
	mov	x0, x20
	bl	_nla_len
	cmp	w26, w0
	b.eq	LBB0_6
; %bb.3:
	sxtw	x8, w24
	ldr	x9, [x25]
	ldr	w8, [x9, x8, lsl #2]
	cmn	w8, #1
	b.eq	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_5:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	sub	w8, w24, #128
	cmp	w8, #7
	b.hi	LBB0_4
; %bb.7:
Lloh8:
	adrp	x9, lJTI0_0@PAGE
Lloh9:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_8
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_8:
	mov	w0, #0
	b	LBB0_5
LBB0_9:
	ldr	w8, [x19]
Lloh10:
	adrp	x9, _IPPROTO_UDP@GOTPAGE
Lloh11:
	ldr	x9, [x9, _IPPROTO_UDP@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
	mov	w8, #1
	str	w8, [x22]
	mov	x0, x23
	mov	x1, x21
	bl	_validate_and_copy_set_tun
	cbnz	w0, LBB0_5
	b	LBB0_8
LBB0_11:
	ldr	w8, [x19]
Lloh12:
	adrp	x9, _IPPROTO_TCP@GOTPAGE
Lloh13:
	ldr	x9, [x9, _IPPROTO_TCP@GOTPAGEOFF]
LBB0_12:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.13:
	mov	x0, x19
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_validate_tp_port
LBB0_14:
	ldr	w21, [x19, #8]
Lloh14:
	adrp	x8, _ETH_P_IPV6@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ETH_P_IPV6@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_htons
	cmp	w21, w0
	b.ne	LBB0_4
; %bb.15:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.16:
	mov	x0, x20
	bl	_nla_data
	ldr	w8, [x0, #8]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.17:
	ldr	w8, [x0, #4]
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.18:
	ldr	w0, [x0]
	bl	_ntohl
	cmp	w0, #256, lsl #12               ; =1048576
	b.hs	LBB0_4
	b	LBB0_8
LBB0_19:
	ldr	w21, [x19, #8]
Lloh17:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh19:
	ldr	w0, [x8]
	bl	_htons
	cmp	w21, w0
	b.ne	LBB0_4
; %bb.20:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.21:
	mov	x0, x20
	bl	_nla_data
	ldr	w8, [x0, #4]
	ldr	w9, [x19]
	cmp	w8, w9
	b.ne	LBB0_4
; %bb.22:
	ldr	w8, [x0]
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.ne	LBB0_4
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_9-LBB0_8)>>2
	.byte	(LBB0_10-LBB0_8)>>2
	.byte	(LBB0_11-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
	.byte	(LBB0_14-LBB0_8)>>2
	.byte	(LBB0_19-LBB0_8)>>2
	.byte	(LBB0_8-LBB0_8)>>2
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_OVS_KEY_ATTR_MAX,4,2           ; @OVS_KEY_ATTR_MAX
	.comm	_ovs_key_lens,8,3               ; @ovs_key_lens
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.comm	_ETH_P_IPV6,4,2                 ; @ETH_P_IPV6
	.comm	_IPPROTO_TCP,4,2                ; @IPPROTO_TCP
	.comm	_IPPROTO_UDP,4,2                ; @IPPROTO_UDP
	.no_dead_strip	_validate_set
.subsections_via_symbols
