	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcf_gact_init
_tcf_gact_init:                         ## @tcf_gact_init
	.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
	movl	%r8d, %r13d
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r15
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TCA_GACT_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leal	1(%r12), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.1:
	movq	_gact_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r12d, %esi
	movq	%rbx, %rdx
	callq	_nla_parse_nested
	testl	%eax, %eax
	js	LBB0_7
## %bb.2:
	movq	_TCA_GACT_PARMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.3:
	callq	_nla_data
	movq	%rax, %r12
	movq	_TCA_GACT_PROB@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	$0, (%r14,%rax,8)
	je	LBB0_10
## %bb.4:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_8
LBB0_10:
	movl	4(%r12), %edi
	movq	_gact_hash_info@GOTPCREL(%rip), %rbx
	movq	%r15, %rsi
	movl	%r13d, %edx
	movq	%rbx, %rcx
	callq	_tcf_hash_check
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_16
## %bb.12:
	movq	_gact_hash_info@GOTPCREL(%rip), %rdx
	movq	%r14, %rdi
	movl	%r13d, %esi
	callq	_tcf_hash_release
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_13:
	movl	4(%r12), %edi
	subq	$8, %rsp
	movq	_gact_idx_gen@GOTPCREL(%rip), %r9
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	movl	$24, %ecx
	movl	%r13d, %r8d
	pushq	%rbx
	callq	_tcf_hash_create
	addq	$16, %rsp
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_15
## %bb.14:
	movq	%r14, %rdi
	callq	_PTR_ERR
LBB0_7:
	movl	%eax, %ebx
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_18
## %bb.9:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_ACT_P_CREATED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_16:
	movq	%r14, %rdi
	callq	_to_gact
	movq	%r14, %r13
	movq	%rax, %r14
	leaq	8(%rax), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movl	(%r12), %eax
	movl	%eax, 20(%r14)
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	_ACT_P_CREATED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_8
## %bb.17:
	movq	_gact_hash_info@GOTPCREL(%rip), %rsi
	movq	%r13, %rdi
	callq	_tcf_hash_insert
	jmp	LBB0_8
LBB0_18:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_GACT_MAX,4,2               ## @TCA_GACT_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_gact_policy,4,2                ## @gact_policy
	.comm	_TCA_GACT_PARMS,8,3             ## @TCA_GACT_PARMS
	.comm	_TCA_GACT_PROB,8,3              ## @TCA_GACT_PROB
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.comm	_gact_hash_info,4,2             ## @gact_hash_info
	.comm	_gact_idx_gen,4,2               ## @gact_idx_gen
	.comm	_ACT_P_CREATED,4,2              ## @ACT_P_CREATED
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_MAX_RAND,8,3                   ## @MAX_RAND
	.no_dead_strip	_tcf_gact_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcf_gact_init
_tcf_gact_init:                         ; @tcf_gact_init
	.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, #16
	mov	x19, x4
	mov	x24, x3
	mov	x20, x2
	mov	x23, x1
	mov	x2, 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	x8, _TCA_GACT_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCA_GACT_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x25, x9, x8
	mov	sp, x25
	cbz	x0, LBB0_5
; %bb.1:
Lloh8:
	adrp	x8, _gact_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _gact_policy@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x25
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_12
; %bb.2:
Lloh11:
	adrp	x8, _TCA_GACT_PARMS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TCA_GACT_PARMS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x25, x8, lsl #3]
	cbz	x0, LBB0_5
; %bb.3:
	bl	_nla_data
Lloh14:
	adrp	x8, _TCA_GACT_PROB@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TCA_GACT_PROB@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	ldr	x8, [x25, x8, lsl #3]
	cbz	x8, LBB0_7
; %bb.4:
Lloh17:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh19:
	adrp	x8, _EINVAL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_13
LBB0_7:
	mov	x22, x0
	ldr	w0, [x0, #4]
Lloh21:
	adrp	x3, _gact_hash_info@GOTPAGE
Lloh22:
	ldr	x3, [x3, _gact_hash_info@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, x19
	bl	_tcf_hash_check
	cbz	x0, LBB0_10
; %bb.8:
	mov	x25, x0
	cbz	w24, LBB0_15
; %bb.9:
	mov	w21, #0
	b	LBB0_17
LBB0_10:
	ldr	w0, [x22, #4]
Lloh23:
	adrp	x5, _gact_idx_gen@GOTPAGE
Lloh24:
	ldr	x5, [x5, _gact_idx_gen@GOTPAGEOFF]
Lloh25:
	adrp	x6, _gact_hash_info@GOTPAGE
Lloh26:
	ldr	x6, [x6, _gact_hash_info@GOTPAGEOFF]
	mov	x1, x23
	mov	x2, x20
	mov	w3, #24
	mov	x4, x19
	bl	_tcf_hash_create
	mov	x25, x0
	bl	_IS_ERR
	cbz	x0, LBB0_16
; %bb.11:
	mov	x0, x25
	bl	_PTR_ERR
LBB0_12:
	mov	x21, x0
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_19
; %bb.14:
	mov	x0, x21
	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	x2, _gact_hash_info@GOTPAGE
Lloh31:
	ldr	x2, [x2, _gact_hash_info@GOTPAGEOFF]
	mov	x0, x25
	mov	x1, x19
	bl	_tcf_hash_release
Lloh32:
	adrp	x8, _EEXIST@GOTPAGE
Lloh33:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_6
LBB0_16:
Lloh34:
	adrp	x8, _ACT_P_CREATED@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ACT_P_CREATED@GOTPAGEOFF]
Lloh36:
	ldr	w21, [x8]
LBB0_17:
	mov	x0, x25
	bl	_to_gact
	mov	x19, x0
	add	x20, x0, #8
	mov	x0, x20
	bl	_spin_lock_bh
	ldr	w8, [x22]
	str	w8, [x19, #20]
	mov	x0, x20
	bl	_spin_unlock_bh
Lloh37:
	adrp	x8, _ACT_P_CREATED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ACT_P_CREATED@GOTPAGEOFF]
Lloh39:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_13
; %bb.18:
Lloh40:
	adrp	x1, _gact_hash_info@GOTPAGE
Lloh41:
	ldr	x1, [x1, _gact_hash_info@GOTPAGEOFF]
	mov	x0, x25
	bl	_tcf_hash_insert
	b	LBB0_13
LBB0_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_GACT_MAX,4,2               ; @TCA_GACT_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_gact_policy,4,2                ; @gact_policy
	.comm	_TCA_GACT_PARMS,8,3             ; @TCA_GACT_PARMS
	.comm	_TCA_GACT_PROB,8,3              ; @TCA_GACT_PROB
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.comm	_gact_hash_info,4,2             ; @gact_hash_info
	.comm	_gact_idx_gen,4,2               ; @gact_idx_gen
	.comm	_ACT_P_CREATED,4,2              ; @ACT_P_CREATED
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_MAX_RAND,8,3                   ; @MAX_RAND
	.no_dead_strip	_tcf_gact_init
.subsections_via_symbols
