	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcf_mirred_init
_tcf_mirred_init:                       ## @tcf_mirred_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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r12d
	movl	%ecx, -64(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TCA_MIRRED_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	leal	1(%r15), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.3:
	movq	_mirred_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movq	%rbx, %rdx
	callq	_nla_parse_nested
	testl	%eax, %eax
	js	LBB0_4
## %bb.5:
	movq	_TCA_MIRRED_PARMS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r14,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.6:
	callq	_nla_data
	movq	%rax, %r15
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.8:
	movq	_init_net@GOTPCREL(%rip), %rdi
	callq	___dev_get_by_index
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	%rax, %r14
	movl	$-134, %eax
	addl	(%r14), %eax
	xorl	%ecx, %ecx
	cmpl	$-6, %eax
	setb	%cl
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	jmp	LBB0_11
LBB0_4:
	movl	%eax, %ebx
	jmp	LBB0_25
LBB0_7:
	xorl	%r14d, %r14d
	movl	$0, -52(%rbp)                   ## 4-byte Folded Spill
LBB0_11:
	movl	16(%r15), %edi
	movq	_mirred_hash_info@GOTPCREL(%rip), %rbx
	movq	%r13, %rsi
	movl	%r12d, %edx
	movq	%rbx, %rcx
	callq	_tcf_hash_check
	testq	%rax, %rax
	je	LBB0_12
## %bb.15:
	xorl	%ebx, %ebx
	cmpl	$0, -64(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_17
## %bb.16:
	movq	%r15, %r13
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
LBB0_19:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	callq	_to_mirred
	movq	%rax, %r14
	leaq	8(%rax), %r15
	movq	%r15, %rdi
	callq	_spin_lock_bh
	movl	12(%r13), %eax
	movl	%eax, 36(%r14)
	movl	8(%r13), %eax
	movl	%eax, 32(%r14)
	movq	(%r13), %rax
	testq	%rax, %rax
	je	LBB0_23
## %bb.20:
	movq	%rax, 24(%r14)
	movq	_ACT_P_CREATED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	je	LBB0_22
## %bb.21:
	movq	16(%r14), %rdi
	callq	_dev_put
LBB0_22:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%rdi, 16(%r14)
	callq	_dev_hold
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, (%r14)
LBB0_23:
	movq	%r15, %rdi
	callq	_spin_unlock_bh
	movq	_ACT_P_CREATED@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_25
## %bb.24:
	addq	$4, %r14
	movq	_mirred_list@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_list_add
	movq	_mirred_hash_info@GOTPCREL(%rip), %rsi
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_tcf_hash_insert
	jmp	LBB0_25
LBB0_12:
	cmpq	$0, (%r15)
	je	LBB0_1
## %bb.13:
	movl	16(%r15), %edi
	subq	$8, %rsp
	movq	_mirred_idx_gen@GOTPCREL(%rip), %r9
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rdx
	movl	$40, %ecx
	movl	%r12d, %r8d
	pushq	%rbx
	callq	_tcf_hash_create
	addq	$16, %rsp
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	movq	%r12, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_25
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_25:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_27
## %bb.26:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_17:
	movq	%rax, %rdi
	callq	_to_mirred
	movq	%rax, %rdi
	movl	%r12d, %esi
	callq	_tcf_mirred_release
	movq	_EEXIST@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_18:
	movq	%r15, %r13
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	movq	_ACT_P_CREATED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rax
	jmp	LBB0_19
LBB0_27:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_MIRRED_MAX,4,2             ## @TCA_MIRRED_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_mirred_policy,4,2              ## @mirred_policy
	.comm	_TCA_MIRRED_PARMS,8,3           ## @TCA_MIRRED_PARMS
	.comm	_init_net,4,2                   ## @init_net
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_mirred_hash_info,4,2           ## @mirred_hash_info
	.comm	_mirred_idx_gen,4,2             ## @mirred_idx_gen
	.comm	_ACT_P_CREATED,4,2              ## @ACT_P_CREATED
	.comm	_EEXIST,4,2                     ## @EEXIST
	.comm	_mirred_list,4,2                ## @mirred_list
	.no_dead_strip	_tcf_mirred_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcf_mirred_init
_tcf_mirred_init:                       ; @tcf_mirred_init
	.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, x4
	mov	x25, x3
	mov	x23, x2
	mov	x24, 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, #-88]
Lloh3:
	adrp	x8, _TCA_MIRRED_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCA_MIRRED_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	x20, x9, x8
	mov	sp, x20
	cbz	x0, LBB0_20
; %bb.1:
Lloh8:
	adrp	x8, _mirred_policy@GOTPAGE
Lloh9:
	ldr	x8, [x8, _mirred_policy@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x0, x20
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_6
; %bb.2:
Lloh11:
	adrp	x8, _TCA_MIRRED_PARMS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TCA_MIRRED_PARMS@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x20, x8, lsl #3]
	cbz	x0, LBB0_20
; %bb.3:
	bl	_nla_data
	mov	x22, x0
	ldr	x1, [x0]
	cbz	x1, LBB0_7
; %bb.4:
Lloh14:
	adrp	x0, _init_net@GOTPAGE
Lloh15:
	ldr	x0, [x0, _init_net@GOTPAGEOFF]
	bl	___dev_get_by_index
	cbz	x0, LBB0_24
; %bb.5:
	mov	x20, x0
	ldr	w8, [x0]
	sub	w8, w8, #134
	cmn	w8, #6
	cset	w27, lo
	b	LBB0_8
LBB0_6:
	mov	x21, x0
	b	LBB0_22
LBB0_7:
	mov	x20, #0
	mov	w27, #0
LBB0_8:
	ldr	w0, [x22, #16]
Lloh16:
	adrp	x3, _mirred_hash_info@GOTPAGE
Lloh17:
	ldr	x3, [x3, _mirred_hash_info@GOTPAGEOFF]
	mov	x1, x23
	mov	x2, x19
	bl	_tcf_hash_check
	cbz	x0, LBB0_17
; %bb.9:
	mov	x26, x0
	cbz	w25, LBB0_25
; %bb.10:
	mov	w21, #0
LBB0_11:
	mov	x0, x26
	bl	_to_mirred
	mov	x19, x0
	add	x23, x0, #8
	mov	x0, x23
	bl	_spin_lock_bh
	ldr	d0, [x22, #8]
	str	d0, [x19, #32]
	ldr	x8, [x22]
Lloh18:
	adrp	x22, _ACT_P_CREATED@GOTPAGE
Lloh19:
	ldr	x22, [x22, _ACT_P_CREATED@GOTPAGEOFF]
	cbz	x8, LBB0_15
; %bb.12:
	str	x8, [x19, #24]
	ldr	w8, [x22]
	cmp	w21, w8
	b.eq	LBB0_14
; %bb.13:
	ldr	x0, [x19, #16]
	bl	_dev_put
LBB0_14:
	str	x20, [x19, #16]
	mov	x0, x20
	bl	_dev_hold
	str	w27, [x19]
LBB0_15:
	mov	x0, x23
	bl	_spin_unlock_bh
	ldr	w8, [x22]
	cmp	w21, w8
	b.ne	LBB0_22
; %bb.16:
	add	x0, x19, #4
Lloh20:
	adrp	x1, _mirred_list@GOTPAGE
Lloh21:
	ldr	x1, [x1, _mirred_list@GOTPAGEOFF]
	bl	_list_add
Lloh22:
	adrp	x1, _mirred_hash_info@GOTPAGE
Lloh23:
	ldr	x1, [x1, _mirred_hash_info@GOTPAGEOFF]
	mov	x0, x26
	bl	_tcf_hash_insert
	b	LBB0_22
LBB0_17:
	ldr	x8, [x22]
	cbz	x8, LBB0_20
; %bb.18:
	ldr	w0, [x22, #16]
Lloh24:
	adrp	x5, _mirred_idx_gen@GOTPAGE
Lloh25:
	ldr	x5, [x5, _mirred_idx_gen@GOTPAGEOFF]
Lloh26:
	adrp	x6, _mirred_hash_info@GOTPAGE
Lloh27:
	ldr	x6, [x6, _mirred_hash_info@GOTPAGEOFF]
	mov	x1, x24
	mov	x2, x23
	mov	w3, #40
	mov	x4, x19
	bl	_tcf_hash_create
	mov	x26, x0
	bl	_IS_ERR
	cbz	x0, LBB0_26
; %bb.19:
	mov	x0, x26
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_22
LBB0_20:
Lloh28:
	adrp	x8, _EINVAL@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_21:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_22:
	ldur	x8, [x29, #-88]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_27
; %bb.23:
	mov	x0, x21
	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_24:
Lloh33:
	adrp	x8, _ENODEV@GOTPAGE
Lloh34:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
	b	LBB0_21
LBB0_25:
	mov	x0, x26
	bl	_to_mirred
	mov	x1, x19
	bl	_tcf_mirred_release
Lloh35:
	adrp	x8, _EEXIST@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EEXIST@GOTPAGEOFF]
	b	LBB0_21
LBB0_26:
Lloh37:
	adrp	x8, _ACT_P_CREATED@GOTPAGE
Lloh38:
	ldr	x8, [x8, _ACT_P_CREATED@GOTPAGEOFF]
Lloh39:
	ldr	w21, [x8]
	b	LBB0_11
LBB0_27:
	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 AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_MIRRED_MAX,4,2             ; @TCA_MIRRED_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_mirred_policy,4,2              ; @mirred_policy
	.comm	_TCA_MIRRED_PARMS,8,3           ; @TCA_MIRRED_PARMS
	.comm	_init_net,4,2                   ; @init_net
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_mirred_hash_info,4,2           ; @mirred_hash_info
	.comm	_mirred_idx_gen,4,2             ; @mirred_idx_gen
	.comm	_ACT_P_CREATED,4,2              ; @ACT_P_CREATED
	.comm	_EEXIST,4,2                     ; @EEXIST
	.comm	_mirred_list,4,2                ; @mirred_list
	.no_dead_strip	_tcf_mirred_init
.subsections_via_symbols
