	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gfar_set_nfc
_gfar_set_nfc:                          ## @gfar_set_nfc
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_GFAR_RESETTING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r15), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_13
LBB0_2:
	movq	%r15, %rdi
	callq	_mutex_lock
	movl	(%r14), %eax
	cmpl	$130, %eax
	je	LBB0_10
## %bb.3:
	cmpl	$129, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$128, %eax
	jne	LBB0_11
## %bb.5:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_gfar_set_hash_opts
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_10:
	movl	4(%r14), %esi
	movq	%r15, %rdi
	callq	_gfar_del_cls
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_6:
	movl	8(%r14), %eax
	movq	_RX_CLS_FLOW_DISC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_8
## %bb.7:
	cmpl	4(%r15), %eax
	jge	LBB0_11
LBB0_8:
	addq	$4, %r14
	movl	(%r14), %eax
	movq	_MAX_FILER_IDX@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_11
## %bb.9:
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_gfar_add_cls
	movl	%eax, %ebx
	jmp	LBB0_12
LBB0_11:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_12:
	movq	%r15, %rdi
	callq	_mutex_unlock
LBB0_13:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFAR_RESETTING,4,2             ## @GFAR_RESETTING
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_RX_CLS_FLOW_DISC,4,2           ## @RX_CLS_FLOW_DISC
	.comm	_MAX_FILER_IDX,4,2              ## @MAX_FILER_IDX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_gfar_set_nfc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gfar_set_nfc
_gfar_set_nfc:                          ; @gfar_set_nfc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _GFAR_RESETTING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFAR_RESETTING@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EBUSY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_13
LBB0_2:
	mov	x0, x19
	bl	_mutex_lock
	ldr	w8, [x20]
	cmp	w8, #130
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #129
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #128
	b.ne	LBB0_11
; %bb.5:
	mov	x0, x19
	mov	x1, x20
	bl	_gfar_set_hash_opts
	mov	x20, x0
	b	LBB0_12
LBB0_6:
	ldr	w1, [x20, #4]
	mov	x0, x19
	bl	_gfar_del_cls
	mov	x20, x0
	b	LBB0_12
LBB0_7:
	ldr	w8, [x20, #8]
Lloh6:
	adrp	x9, _RX_CLS_FLOW_DISC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RX_CLS_FLOW_DISC@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_9
; %bb.8:
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.ge	LBB0_11
LBB0_9:
	add	x1, x20, #4
	ldr	w8, [x1]
Lloh9:
	adrp	x9, _MAX_FILER_IDX@GOTPAGE
Lloh10:
	ldr	x9, [x9, _MAX_FILER_IDX@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ge	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_gfar_add_cls
	mov	x20, x0
	b	LBB0_12
LBB0_11:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_12:
	mov	x0, x19
	bl	_mutex_unlock
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GFAR_RESETTING,4,2             ; @GFAR_RESETTING
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_RX_CLS_FLOW_DISC,4,2           ; @RX_CLS_FLOW_DISC
	.comm	_MAX_FILER_IDX,4,2              ; @MAX_FILER_IDX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_gfar_set_nfc
.subsections_via_symbols
