	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fw_change
_fw_change:                             ## @fw_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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rdx, %r13
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_TCA_OPTIONS@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	(%rcx,%rax,8), %r14
	movq	_TCA_FW_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	leal	1(%rbx), %eax
	shlq	$3, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rdi
	testq	%r14, %r14
	je	LBB0_1
## %bb.2:
	movq	%r15, -80(%rbp)                 ## 8-byte Spill
	movq	(%r15), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	(%r12), %r15
	movq	_fw_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movl	%ebx, %esi
	movq	%r14, %rdx
	callq	_nla_parse_nested
	testl	%eax, %eax
	js	LBB0_3
## %bb.4:
	testq	%r15, %r15
	je	LBB0_10
## %bb.5:
	testq	%r13, %r13
	je	LBB0_9
## %bb.6:
	cmpq	%r13, (%r15)
	jne	LBB0_7
LBB0_9:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_fw_change_attrs
	movl	%eax, %r14d
	jmp	LBB0_22
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	xorl	%eax, %eax
	testq	%r13, %r13
	cmovel	%eax, %r14d
	jmp	LBB0_22
LBB0_3:
	movl	%eax, %r14d
	jmp	LBB0_22
LBB0_10:
	testq	%r13, %r13
	je	LBB0_7
## %bb.11:
	cmpq	$0, -64(%rbp)                   ## 8-byte Folded Reload
	movq	-80(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_18
## %bb.12:
	movq	_TCA_FW_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	(%rcx,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.14:
	callq	_nla_get_u32
	movq	%rax, %r14
	jmp	LBB0_15
LBB0_7:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
LBB0_22:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_24
## %bb.23:
	movl	%r14d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_13:
	movl	$4294967295, %r14d              ## imm = 0xFFFFFFFF
LBB0_15:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.17:
	movq	%rax, %rbx
	movq	%r14, 8(%rax)
	movq	%r15, %rdi
	callq	_tcf_tree_lock
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, (%r15)
	movq	%r15, %rdi
	callq	_tcf_tree_unlock
LBB0_18:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_16
## %bb.19:
	movq	%rax, %rbx
	movq	%r13, (%rax)
	movq	%r15, %rdi
	movq	%rax, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	callq	_fw_change_attrs
	testl	%eax, %eax
	js	LBB0_21
## %bb.20:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	(%r13), %r12
	movq	%r14, %rdi
	callq	_fw_hash
	movq	(%r12,%rax,8), %rax
	movq	%rax, 8(%rbx)
	movq	%r15, %rdi
	callq	_tcf_tree_lock
	movq	(%r13), %r12
	movq	%r14, %rdi
	callq	_fw_hash
	movq	%rbx, (%r12,%rax,8)
	movq	%r15, %rdi
	callq	_tcf_tree_unlock
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	xorl	%r14d, %r14d
	jmp	LBB0_22
LBB0_16:
	movq	_ENOBUFS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_21:
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_22
LBB0_24:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_OPTIONS,8,3                ## @TCA_OPTIONS
	.comm	_TCA_FW_MAX,4,2                 ## @TCA_FW_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_fw_policy,4,2                  ## @fw_policy
	.comm	_TCA_FW_MASK,8,3                ## @TCA_FW_MASK
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ## @ENOBUFS
	.no_dead_strip	_fw_change
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fw_change
_fw_change:                             ; @fw_change
	.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	x20, x4
	mov	x23, x3
	mov	x21, x2
	mov	x22, x1
	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, #-88]
	ldr	x25, [x0]
	ldr	x27, [x4]
Lloh3:
	adrp	x8, _TCA_OPTIONS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TCA_OPTIONS@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x2, [x3, x8, lsl #3]
Lloh6:
	adrp	x8, _TCA_FW_MAX@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TCA_FW_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	add	w8, w1, #1
	lsl	x8, x8, #3
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0xffffffff0
	sub	x24, x9, x8
	mov	sp, x24
	cbz	x2, LBB0_6
; %bb.1:
Lloh11:
	adrp	x8, _fw_policy@GOTPAGE
Lloh12:
	ldr	x8, [x8, _fw_policy@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x24
	bl	_nla_parse_nested
	tbnz	w0, #31, LBB0_7
; %bb.2:
	cbz	x27, LBB0_8
; %bb.3:
	cbz	x21, LBB0_5
; %bb.4:
	ldr	x8, [x27]
	cmp	x8, x21
	b.ne	LBB0_12
LBB0_5:
	mov	x0, x19
	mov	x1, x27
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	bl	_fw_change_attrs
	mov	x26, x0
	b	LBB0_14
LBB0_6:
Lloh14:
	adrp	x8, _EINVAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	cmp	x21, #0
	csneg	w26, wzr, w8, eq
	b	LBB0_14
LBB0_7:
	mov	x26, x0
	b	LBB0_14
LBB0_8:
	cbz	x21, LBB0_12
; %bb.9:
Lloh17:
	adrp	x27, _GFP_KERNEL@GOTPAGE
Lloh18:
	ldr	x27, [x27, _GFP_KERNEL@GOTPAGEOFF]
	cbnz	x25, LBB0_19
; %bb.10:
Lloh19:
	adrp	x8, _TCA_FW_MASK@GOTPAGE
Lloh20:
	ldr	x8, [x8, _TCA_FW_MASK@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	ldr	x0, [x24, x8, lsl #3]
	cbz	x0, LBB0_16
; %bb.11:
	bl	_nla_get_u32
	mov	x26, x0
	b	LBB0_17
LBB0_12:
Lloh22:
	adrp	x8, _EINVAL@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w26, w8
LBB0_14:
	ldur	x8, [x29, #-88]
Lloh24:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh25:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh26:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_24
; %bb.15:
	mov	x0, x26
	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_16:
	mov	w26, #-1
LBB0_17:
	ldr	w1, [x27]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_22
; %bb.18:
	mov	x25, x0
	str	x26, [x0, #8]
	mov	x0, x19
	bl	_tcf_tree_lock
	str	x25, [x19]
	mov	x0, x19
	bl	_tcf_tree_unlock
LBB0_19:
	ldr	w1, [x27]
	mov	w0, #16
	bl	_kzalloc
	cbz	x0, LBB0_22
; %bb.20:
	mov	x27, x0
	str	x21, [x0]
	mov	x0, x19
	mov	x1, x27
	mov	x2, x24
	mov	x3, x23
	mov	x4, x22
	bl	_fw_change_attrs
	tbnz	w0, #31, LBB0_23
; %bb.21:
	ldr	x22, [x25]
	mov	x0, x21
	bl	_fw_hash
	ldr	x8, [x22, x0, lsl #3]
	str	x8, [x27, #8]
	mov	x0, x19
	bl	_tcf_tree_lock
	ldr	x22, [x25]
	mov	x0, x21
	bl	_fw_hash
	str	x27, [x22, x0, lsl #3]
	mov	x0, x19
	bl	_tcf_tree_unlock
	mov	w26, #0
	str	x27, [x20]
	b	LBB0_14
LBB0_22:
Lloh27:
	adrp	x8, _ENOBUFS@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOBUFS@GOTPAGEOFF]
	b	LBB0_13
LBB0_23:
	mov	x26, x0
	mov	x0, x27
	bl	_kfree
	b	LBB0_14
LBB0_24:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_OPTIONS,8,3                ; @TCA_OPTIONS
	.comm	_TCA_FW_MAX,4,2                 ; @TCA_FW_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_fw_policy,4,2                  ; @fw_policy
	.comm	_TCA_FW_MASK,8,3                ; @TCA_FW_MASK
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOBUFS,4,2                    ; @ENOBUFS
	.no_dead_strip	_fw_change
.subsections_via_symbols
