	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fw_change_attrs
_fw_change_attrs:                       ## @fw_change_attrs
	.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
	movq	%r8, %r13
	movq	%rdx, %r12
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_TCA_RATE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rcx,%rax,8), %rdx
	movq	_fw_ext_map@GOTPCREL(%rip), %r8
	leaq	-48(%rbp), %rcx
	movq	%r12, %rsi
	callq	_tcf_exts_validate
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_TCA_FW_CLASSID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_nla_get_u32
	leaq	8(%r14), %rsi
	movq	%rax, 8(%r14)
	movq	%r15, %rdi
	movq	%r13, %rdx
	callq	_tcf_bind_filter
LBB0_4:
	movq	_TCA_FW_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%r12,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	callq	_nla_get_u32
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	cmpl	%eax, (%rcx)
	jne	LBB0_6
LBB0_8:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_tcf_exts_change
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_1:
	movl	%eax, %ebx
	jmp	LBB0_9
LBB0_7:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$-1, (%rax)
	je	LBB0_8
LBB0_6:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	callq	_tcf_exts_destroy
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TCA_RATE,8,3                   ## @TCA_RATE
	.comm	_fw_ext_map,4,2                 ## @fw_ext_map
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_TCA_FW_CLASSID,8,3             ## @TCA_FW_CLASSID
	.comm	_TCA_FW_MASK,8,3                ## @TCA_FW_MASK
	.comm	_TCA_FW_INDEV,8,3               ## @TCA_FW_INDEV
	.no_dead_strip	_fw_change_attrs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fw_change_attrs
_fw_change_attrs:                       ; @fw_change_attrs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x22, x4
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x24, [x0]
Lloh0:
	adrp	x8, _TCA_RATE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TCA_RATE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x2, [x3, x8, lsl #3]
Lloh3:
	adrp	x4, _fw_ext_map@GOTPAGE
Lloh4:
	ldr	x4, [x4, _fw_ext_map@GOTPAGEOFF]
	add	x3, sp, #8
	mov	x1, x21
	bl	_tcf_exts_validate
	tbnz	w0, #31, LBB0_6
; %bb.1:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w23, [x8]
Lloh8:
	adrp	x8, _TCA_FW_CLASSID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TCA_FW_CLASSID@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_3
; %bb.2:
	bl	_nla_get_u32
	mov	x1, x20
	str	x0, [x1, #8]!
	mov	x0, x19
	mov	x2, x22
	bl	_tcf_bind_filter
LBB0_3:
Lloh11:
	adrp	x8, _TCA_FW_MASK@GOTPAGE
Lloh12:
	ldr	x8, [x8, _TCA_FW_MASK@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	ldr	x0, [x21, x8, lsl #3]
	cbz	x0, LBB0_7
; %bb.4:
	bl	_nla_get_u32
	ldr	w8, [x24]
	cmp	w8, w0
	b.ne	LBB0_8
LBB0_5:
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x20
	bl	_tcf_exts_change
	mov	w23, #0
	b	LBB0_9
LBB0_6:
	mov	x23, x0
	b	LBB0_9
LBB0_7:
	ldr	w8, [x24]
	cmn	w8, #1
	b.eq	LBB0_5
LBB0_8:
	neg	w23, w23
	add	x1, sp, #8
	mov	x0, x19
	bl	_tcf_exts_destroy
LBB0_9:
	mov	x0, x23
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_TCA_RATE,8,3                   ; @TCA_RATE
	.comm	_fw_ext_map,4,2                 ; @fw_ext_map
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_TCA_FW_CLASSID,8,3             ; @TCA_FW_CLASSID
	.comm	_TCA_FW_MASK,8,3                ; @TCA_FW_MASK
	.comm	_TCA_FW_INDEV,8,3               ; @TCA_FW_INDEV
	.no_dead_strip	_fw_change_attrs
.subsections_via_symbols
