	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcf_em_tree_validate           ## -- Begin function tcf_em_tree_validate
	.p2align	4, 0x90
_tcf_em_tree_validate:                  ## @tcf_em_tree_validate
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rsp, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TCA_EMATCH_TREE_MAX@GOTPCREL(%rip), %r12
	movl	(%r12), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	movq	%r13, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r15, %r13
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	testq	%rbx, %rbx
	je	LBB0_19
## %bb.1:
	movl	(%r12), %esi
	movq	_em_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_nla_parse_nested
	testl	%eax, %eax
	js	LBB0_2
## %bb.3:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movq	_TCA_EMATCH_TREE_HDR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_19
## %bb.4:
	movq	_TCA_EMATCH_TREE_LIST@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %r14
	testq	%r14, %r14
	je	LBB0_19
## %bb.5:
	callq	_nla_data
	movq	%rax, %r15
	movq	-80(%rbp), %r12                 ## 8-byte Reload
	leaq	8(%r12), %rdi
	movq	%rax, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, %rdi
	callq	_nla_data
	movq	%rax, %rbx
	movq	%r14, %rdi
	callq	_nla_len
	movl	%eax, %r14d
	movl	%eax, -68(%rbp)
	movl	(%r15), %edi
	shll	$2, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_19
## %bb.6:
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_nla_ok
	movl	$0, %r12d
	testq	%rax, %rax
	je	LBB0_14
## %bb.7:
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movl	(%rbx), %r12d
	leal	1(%r14), %eax
	cmpl	%eax, %r12d
	jne	LBB0_16
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	cmpl	(%r15), %r14d
	jge	LBB0_16
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	callq	_nla_len
	cmpl	$4, %eax
	jb	LBB0_16
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %esi
	callq	_tcf_em_get_match
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	movl	%r14d, %r8d
	callq	_tcf_em_validate
	testl	%eax, %eax
	js	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%rbx, %rdi
	leaq	-68(%rbp), %rsi
	callq	_nla_next
	movq	%rax, %rbx
	movl	-68(%rbp), %esi
	movq	%rax, %rdi
	callq	_nla_ok
	movl	%r12d, %r14d
	testq	%rax, %rax
	jne	LBB0_8
LBB0_14:
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
	cmpl	(%r15), %r12d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_19
## %bb.15:
	xorl	%ecx, %ecx
	movq	_EINVAL@GOTPCREL(%rip), %rax
	subl	(%rax), %ecx
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_18
LBB0_2:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_19
LBB0_16:
	negl	%r13d
	movl	%r13d, -52(%rbp)                ## 4-byte Spill
	jmp	LBB0_17
LBB0_12:
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
LBB0_17:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
LBB0_18:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	callq	_tcf_em_tree_destroy
LBB0_19:
	movq	%r13, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_EMATCH_TREE_MAX,4,2        ## @TCA_EMATCH_TREE_MAX
	.comm	_em_policy,4,2                  ## @em_policy
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCA_EMATCH_TREE_HDR,8,3        ## @TCA_EMATCH_TREE_HDR
	.comm	_TCA_EMATCH_TREE_LIST,8,3       ## @TCA_EMATCH_TREE_LIST
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tcf_em_tree_validate           ; -- Begin function tcf_em_tree_validate
	.p2align	2
_tcf_em_tree_validate:                  ; @tcf_em_tree_validate
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x2
	mov	x22, x1
	mov	x20, x0
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x23, _TCA_EMATCH_TREE_MAX@GOTPAGE
Lloh4:
	ldr	x23, [x23, _TCA_EMATCH_TREE_MAX@GOTPAGEOFF]
	ldr	w8, [x23]
	add	w8, w8, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x21, x9, x8
	mov	sp, x21
	mov	x0, x2
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	cbz	x22, LBB0_15
; %bb.1:
	ldr	w1, [x23]
Lloh7:
	adrp	x8, _em_policy@GOTPAGE
Lloh8:
	ldr	x8, [x8, _em_policy@GOTPAGEOFF]
Lloh9:
	ldr	w3, [x8]
	mov	x0, x21
	mov	x2, x22
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_11
; %bb.2:
Lloh10:
	adrp	x26, _EINVAL@GOTPAGE
Lloh11:
	ldr	x26, [x26, _EINVAL@GOTPAGEOFF]
Lloh12:
	adrp	x8, _TCA_EMATCH_TREE_HDR@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TCA_EMATCH_TREE_HDR@GOTPAGEOFF]
	ldr	w9, [x26]
Lloh14:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
Lloh15:
	adrp	x8, _TCA_EMATCH_TREE_LIST@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TCA_EMATCH_TREE_LIST@GOTPAGEOFF]
	neg	w23, w9
Lloh17:
	ldr	x8, [x8]
	ldr	x24, [x21, x8, lsl #3]
	cmp	x0, #0
	ccmp	x24, #0, #4, ne
	b.eq	LBB0_16
; %bb.3:
	bl	_nla_data
	mov	x21, x0
	add	x0, x19, #8
	mov	x1, x21
	mov	w2, #4
	bl	_memcpy
	mov	x0, x24
	bl	_nla_data
	mov	x22, x0
	mov	x0, x24
	bl	_nla_len
	mov	x24, x0
	stur	w0, [x29, #-92]
	ldr	w8, [x21]
	lsl	w0, w8, #2
Lloh18:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_kzalloc
	str	x0, [x19]
	cbz	x0, LBB0_16
; %bb.4:
	mov	x0, x22
	mov	x1, x24
	bl	_nla_ok
	cbz	x0, LBB0_13
; %bb.5:
	mov	w23, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w27, [x26]
	ldr	w24, [x22]
	add	w8, w23, #1
	cmp	w24, w8
	b.ne	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w8, [x21]
	cmp	w23, w8
	b.ge	LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x22
	bl	_nla_len
	cmp	w0, #4
	b.lo	LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_tcf_em_get_match
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	x3, x22
	mov	x4, x23
	bl	_tcf_em_validate
	tbnz	w0, #31, LBB0_19
; %bb.10:                               ;   in Loop: Header=BB0_6 Depth=1
	sub	x1, x29, #92
	mov	x0, x22
	bl	_nla_next
	mov	x22, x0
	ldur	w1, [x29, #-92]
	bl	_nla_ok
	mov	x23, x24
	cbnz	x0, LBB0_6
	b	LBB0_14
LBB0_11:
	mov	x23, x0
	b	LBB0_16
LBB0_12:
	neg	w23, w27
	b	LBB0_20
LBB0_13:
	mov	w24, #0
LBB0_14:
	ldr	w8, [x21]
	cmp	w24, w8
	b.ne	LBB0_18
LBB0_15:
	mov	w23, #0
LBB0_16:
	mov	sp, x25
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.17:
	mov	x0, x23
	sub	sp, x29, #80
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_18:
	ldr	w8, [x26]
	neg	w23, w8
	b	LBB0_20
LBB0_19:
	mov	x23, x0
LBB0_20:
	mov	x0, x20
	mov	x1, x19
	bl	_tcf_em_tree_destroy
	b	LBB0_16
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_EMATCH_TREE_MAX,4,2        ; @TCA_EMATCH_TREE_MAX
	.comm	_em_policy,4,2                  ; @em_policy
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCA_EMATCH_TREE_HDR,8,3        ; @TCA_EMATCH_TREE_HDR
	.comm	_TCA_EMATCH_TREE_LIST,8,3       ; @TCA_EMATCH_TREE_LIST
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
.subsections_via_symbols
