	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cls_cgroup_change
_cls_cgroup_change:                     ## @cls_cgroup_change
	.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	%rcx, %rbx
	movq	%rdx, %r13
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TCA_CGROUP_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	incl	%eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	movq	_TCA_OPTIONS@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_1
## %bb.3:
	movq	(%r14), %r15
	testq	%r15, %r15
	je	LBB0_4
## %bb.8:
	cmpq	%r13, (%r15)
	jne	LBB0_9
LBB0_10:
	movq	_TCA_CGROUP_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rax
	movq	(%rbx,%rax,8), %rdx
	movq	_cgroup_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdi, %r12
	callq	_nla_parse_nested
	testl	%eax, %eax
	js	LBB0_14
## %bb.11:
	movq	_TCA_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rbx,%rax,8), %rdx
	movq	_cgroup_ext_map@GOTPCREL(%rip), %r8
	leaq	-56(%rbp), %rcx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_tcf_exts_validate
	testl	%eax, %eax
	js	LBB0_14
## %bb.12:
	movq	_TCA_CGROUP_EMATCHES@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rsi
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	callq	_tcf_em_tree_validate
	testl	%eax, %eax
	js	LBB0_14
## %bb.13:
	leaq	12(%r15), %rsi
	leaq	-56(%rbp), %rdx
	movq	%r14, %rdi
	callq	_tcf_exts_change
	addq	$8, %r15
	leaq	-64(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_tcf_em_tree_change
	xorl	%eax, %eax
	jmp	LBB0_14
LBB0_4:
	testq	%r13, %r13
	je	LBB0_1
## %bb.5:
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r15
	movq	%r13, (%rax)
	movq	%r14, %rdi
	callq	_tcf_tree_lock
	movq	%r15, (%r14)
	movq	%r14, %rdi
	callq	_tcf_tree_unlock
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	cmpq	%r13, (%r15)
	je	LBB0_10
LBB0_9:
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_2:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_16
## %bb.15:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOBUFS@GOTPCREL(%rip), %rcx
	jmp	LBB0_2
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_CGROUP_MAX,4,2             ## @TCA_CGROUP_MAX
	.comm	_TCA_OPTIONS,8,3                ## @TCA_OPTIONS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_cgroup_policy,4,2              ## @cgroup_policy
	.comm	_TCA_RATE,8,3                   ## @TCA_RATE
	.comm	_cgroup_ext_map,4,2             ## @cgroup_ext_map
	.comm	_TCA_CGROUP_EMATCHES,8,3        ## @TCA_CGROUP_EMATCHES
	.no_dead_strip	_cls_cgroup_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cls_cgroup_change
_cls_cgroup_change:                     ; @cls_cgroup_change
	.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
	sub	sp, sp, #32
	mov	x20, x3
	mov	x23, x2
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x24, _TCA_CGROUP_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _TCA_CGROUP_MAX@GOTPAGEOFF]
	ldr	w8, [x24]
	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
Lloh7:
	adrp	x25, _TCA_OPTIONS@GOTPAGE
Lloh8:
	ldr	x25, [x25, _TCA_OPTIONS@GOTPAGEOFF]
	ldr	x8, [x25]
	ldr	x8, [x3, x8, lsl #3]
	cbz	x8, LBB0_11
; %bb.1:
	ldr	x22, [x19]
	cbz	x22, LBB0_8
LBB0_2:
	ldr	x8, [x22]
	cmp	x8, x23
	b.ne	LBB0_7
; %bb.3:
	ldr	w1, [x24]
	ldr	x8, [x25]
	ldr	x2, [x20, x8, lsl #3]
Lloh9:
	adrp	x8, _cgroup_policy@GOTPAGE
Lloh10:
	ldr	x8, [x8, _cgroup_policy@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
	mov	x0, x21
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_13
; %bb.4:
Lloh12:
	adrp	x8, _TCA_RATE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _TCA_RATE@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	x2, [x20, x8, lsl #3]
Lloh15:
	adrp	x4, _cgroup_ext_map@GOTPAGE
Lloh16:
	ldr	x4, [x4, _cgroup_ext_map@GOTPAGEOFF]
	sub	x3, x29, #88
	mov	x0, x19
	mov	x1, x21
	bl	_tcf_exts_validate
	tbnz	w0, #31, LBB0_13
; %bb.5:
Lloh17:
	adrp	x8, _TCA_CGROUP_EMATCHES@GOTPAGE
Lloh18:
	ldr	x8, [x8, _TCA_CGROUP_EMATCHES@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	ldr	x1, [x21, x8, lsl #3]
	sub	x2, x29, #80
	mov	x0, x19
	bl	_tcf_em_tree_validate
	tbnz	w0, #31, LBB0_13
; %bb.6:
	add	x1, x22, #12
	sub	x2, x29, #88
	mov	x0, x19
	bl	_tcf_exts_change
	add	x1, x22, #8
	sub	x2, x29, #80
	mov	x0, x19
	bl	_tcf_em_tree_change
	mov	w0, #0
	b	LBB0_13
LBB0_7:
Lloh20:
	adrp	x8, _ENOENT@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_12
LBB0_8:
	cbz	x23, LBB0_11
; %bb.9:
Lloh22:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_15
; %bb.10:
	mov	x22, x0
	str	x23, [x0]
	mov	x0, x19
	bl	_tcf_tree_lock
	str	x22, [x19]
	mov	x0, x19
	bl	_tcf_tree_unlock
	b	LBB0_2
LBB0_11:
Lloh25:
	adrp	x8, _EINVAL@GOTPAGE
Lloh26:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldur	x8, [x29, #-72]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_16
; %bb.14:
	sub	sp, x29, #64
	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_15:
Lloh30:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_12
LBB0_16:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_CGROUP_MAX,4,2             ; @TCA_CGROUP_MAX
	.comm	_TCA_OPTIONS,8,3                ; @TCA_OPTIONS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_cgroup_policy,4,2              ; @cgroup_policy
	.comm	_TCA_RATE,8,3                   ; @TCA_RATE
	.comm	_cgroup_ext_map,4,2             ; @cgroup_ext_map
	.comm	_TCA_CGROUP_EMATCHES,8,3        ; @TCA_CGROUP_EMATCHES
	.no_dead_strip	_cls_cgroup_change
.subsections_via_symbols
