	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fha_init                       ## -- Begin function fha_init
	.p2align	4, 0x90
_fha_init:                              ## @fha_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
	movq	%rdi, %r15
	movq	_FHA_HASH_SIZE@GOTPCREL(%rip), %rcx
	cmpl	$0, (%rcx)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	L_.str(%rip), %r12
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	40(%r15), %rdi
	addq	%rbx, %rdi
	movq	%r15, %r13
	movq	%rcx, %r15
	movq	_MTX_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rsi
	xorl	%edx, %edx
	callq	_mtx_init
	movq	%r15, %rcx
	movq	%r13, %r15
	incq	%r14
	movslq	(%rcx), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jl	LBB0_2
LBB0_3:
	movq	_FHA_DEF_ENABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	12(%r15), %rcx
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	leaq	32(%r15), %r13
	movl	%eax, 32(%r15)
	movq	_FHA_DEF_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	28(%r15), %rcx
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movl	%eax, 28(%r15)
	movq	_FHA_DEF_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	24(%r15), %rcx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, 24(%r15)
	movq	_FHA_DEF_BIN_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	20(%r15), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%eax, 20(%r15)
	movq	_FHA_DEF_MAX_NFSDS_PER_FH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	16(%r15), %rcx
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, 16(%r15)
	movq	_FHA_DEF_MAX_REQS_PER_NFSD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r15)
	leaq	8(%r15), %r14
	movl	4(%r15), %edi
	callq	_SYSCTL_CHILDREN
	movq	_OID_AUTO@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	movq	_CTLFLAG_RWTUN@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r8d
	leaq	L_.str.2(%rip), %r10
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r13, %r9
	pushq	%r10
	pushq	$0
	callq	_SYSCTL_ADD_UINT
	addq	$16, %rsp
	movl	4(%r15), %edi
	callq	_SYSCTL_CHILDREN
	movl	(%r12), %edx
	movl	(%rbx), %r8d
	movq	%rbx, %r13
	leaq	L_.str.4(%rip), %rbx
	leaq	L_.str.3(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_UINT
	addq	$16, %rsp
	movl	4(%r15), %edi
	callq	_SYSCTL_CHILDREN
	movl	(%r12), %edx
	movl	(%r13), %r8d
	leaq	L_.str.6(%rip), %rbx
	leaq	L_.str.5(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_UINT
	addq	$16, %rsp
	movl	4(%r15), %edi
	callq	_SYSCTL_CHILDREN
	movl	(%r12), %edx
	movl	(%r13), %r8d
	leaq	L_.str.8(%rip), %rbx
	leaq	L_.str.7(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_UINT
	addq	$16, %rsp
	movl	4(%r15), %edi
	callq	_SYSCTL_CHILDREN
	movl	(%r12), %edx
	movl	(%r13), %r8d
	leaq	L_.str.10(%rip), %rbx
	leaq	L_.str.9(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-72(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_UINT
	addq	$16, %rsp
	movl	4(%r15), %edi
	callq	_SYSCTL_CHILDREN
	movl	(%r12), %edx
	movl	(%r13), %r8d
	leaq	L_.str.12(%rip), %rbx
	leaq	L_.str.11(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_UINT
	addq	$16, %rsp
	movl	4(%r15), %edi
	callq	_SYSCTL_CHILDREN
	movl	(%r12), %edx
	movq	_CTLTYPE_STRING@GOTPCREL(%rip), %rcx
	movq	_CTLFLAG_RD@GOTPCREL(%rip), %rsi
	movl	(%rsi), %r8d
	orl	(%rcx), %r8d
	movl	(%r15), %ebx
	leaq	L_.str.15(%rip), %r10
	leaq	L_.str.14(%rip), %r11
	leaq	L_.str.13(%rip), %rcx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%r11
	pushq	%rbx
	pushq	$0
	callq	_SYSCTL_ADD_OID
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FHA_HASH_SIZE,4,2              ## @FHA_HASH_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fhalock"

	.comm	_MTX_DEF,4,2                    ## @MTX_DEF
	.comm	_FHA_DEF_ENABLE,4,2             ## @FHA_DEF_ENABLE
	.comm	_FHA_DEF_READ,4,2               ## @FHA_DEF_READ
	.comm	_FHA_DEF_WRITE,4,2              ## @FHA_DEF_WRITE
	.comm	_FHA_DEF_BIN_SHIFT,4,2          ## @FHA_DEF_BIN_SHIFT
	.comm	_FHA_DEF_MAX_NFSDS_PER_FH,4,2   ## @FHA_DEF_MAX_NFSDS_PER_FH
	.comm	_FHA_DEF_MAX_REQS_PER_NFSD,4,2  ## @FHA_DEF_MAX_REQS_PER_NFSD
	.comm	_OID_AUTO,4,2                   ## @OID_AUTO
L_.str.1:                               ## @.str.1
	.asciz	"enable"

	.comm	_CTLFLAG_RWTUN,4,2              ## @CTLFLAG_RWTUN
L_.str.2:                               ## @.str.2
	.asciz	"Enable NFS File Handle Affinity (FHA)"

L_.str.3:                               ## @.str.3
	.asciz	"read"

L_.str.4:                               ## @.str.4
	.asciz	"Enable NFS FHA read locality"

L_.str.5:                               ## @.str.5
	.asciz	"write"

L_.str.6:                               ## @.str.6
	.asciz	"Enable NFS FHA write locality"

L_.str.7:                               ## @.str.7
	.asciz	"bin_shift"

L_.str.8:                               ## @.str.8
	.asciz	"Maximum locality distance 2^(bin_shift) bytes"

L_.str.9:                               ## @.str.9
	.asciz	"max_nfsds_per_fh"

L_.str.10:                              ## @.str.10
	.asciz	"Maximum nfsd threads that should be working on requests for the same file handle"

L_.str.11:                              ## @.str.11
	.asciz	"max_reqs_per_nfsd"

L_.str.12:                              ## @.str.12
	.asciz	"Maximum requests that single nfsd thread should be working on at any time"

L_.str.13:                              ## @.str.13
	.asciz	"fhe_stats"

	.comm	_CTLTYPE_STRING,4,2             ## @CTLTYPE_STRING
	.comm	_CTLFLAG_RD,4,2                 ## @CTLFLAG_RD
L_.str.14:                              ## @.str.14
	.asciz	"A"

L_.str.15:                              ## @.str.15
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fha_init                       ; -- Begin function fha_init
	.p2align	2
_fha_init:                              ; @fha_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _FHA_HASH_SIZE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FHA_HASH_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
	mov	x23, #0
Lloh2:
	adrp	x24, _MTX_DEF@GOTPAGE
Lloh3:
	ldr	x24, [x24, _MTX_DEF@GOTPAGEOFF]
Lloh4:
	adrp	x20, l_.str@PAGE
Lloh5:
	add	x20, x20, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	add	x0, x8, x22
	ldr	w3, [x24]
	mov	x1, x20
	mov	x2, #0
	bl	_mtx_init
	add	x23, x23, #1
	ldrsw	x8, [x21]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_2
LBB0_3:
Lloh6:
	adrp	x8, _FHA_DEF_ENABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FHA_DEF_ENABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	mov	x26, x19
	str	w8, [x26, #32]!
Lloh9:
	adrp	x8, _FHA_DEF_READ@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FHA_DEF_READ@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	mov	x25, x19
	str	w8, [x25, #28]!
Lloh12:
	adrp	x8, _FHA_DEF_WRITE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _FHA_DEF_WRITE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mov	x24, x19
	str	w8, [x24, #24]!
Lloh15:
	adrp	x8, _FHA_DEF_BIN_SHIFT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FHA_DEF_BIN_SHIFT@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	mov	x23, x19
	str	w8, [x23, #20]!
Lloh18:
	adrp	x8, _FHA_DEF_MAX_NFSDS_PER_FH@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FHA_DEF_MAX_NFSDS_PER_FH@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	mov	x22, x19
	str	w8, [x22, #16]!
Lloh21:
	adrp	x8, _FHA_DEF_MAX_REQS_PER_NFSD@GOTPAGE
Lloh22:
	ldr	x8, [x8, _FHA_DEF_MAX_REQS_PER_NFSD@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	mov	x21, x19
	str	w8, [x21, #12]!
	add	x20, x19, #8
	ldr	w0, [x19, #4]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
Lloh24:
	adrp	x27, _OID_AUTO@GOTPAGE
Lloh25:
	ldr	x27, [x27, _OID_AUTO@GOTPAGEOFF]
	ldr	w2, [x27]
Lloh26:
	adrp	x28, _CTLFLAG_RWTUN@GOTPAGE
Lloh27:
	ldr	x28, [x28, _CTLFLAG_RWTUN@GOTPAGEOFF]
	ldr	w4, [x28]
Lloh28:
	adrp	x3, l_.str.1@PAGE
Lloh29:
	add	x3, x3, l_.str.1@PAGEOFF
Lloh30:
	adrp	x7, l_.str.2@PAGE
Lloh31:
	add	x7, x7, l_.str.2@PAGEOFF
	mov	x0, x20
	mov	x5, x26
	mov	w6, #0
	bl	_SYSCTL_ADD_UINT
	ldr	w0, [x19, #4]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x27]
	ldr	w4, [x28]
Lloh32:
	adrp	x3, l_.str.3@PAGE
Lloh33:
	add	x3, x3, l_.str.3@PAGEOFF
Lloh34:
	adrp	x7, l_.str.4@PAGE
Lloh35:
	add	x7, x7, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x5, x25
	mov	w6, #0
	bl	_SYSCTL_ADD_UINT
	ldr	w0, [x19, #4]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x27]
	ldr	w4, [x28]
Lloh36:
	adrp	x3, l_.str.5@PAGE
Lloh37:
	add	x3, x3, l_.str.5@PAGEOFF
Lloh38:
	adrp	x7, l_.str.6@PAGE
Lloh39:
	add	x7, x7, l_.str.6@PAGEOFF
	mov	x0, x20
	mov	x5, x24
	mov	w6, #0
	bl	_SYSCTL_ADD_UINT
	ldr	w0, [x19, #4]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x27]
	ldr	w4, [x28]
Lloh40:
	adrp	x3, l_.str.7@PAGE
Lloh41:
	add	x3, x3, l_.str.7@PAGEOFF
Lloh42:
	adrp	x7, l_.str.8@PAGE
Lloh43:
	add	x7, x7, l_.str.8@PAGEOFF
	mov	x0, x20
	mov	x5, x23
	mov	w6, #0
	bl	_SYSCTL_ADD_UINT
	ldr	w0, [x19, #4]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x27]
	ldr	w4, [x28]
Lloh44:
	adrp	x3, l_.str.9@PAGE
Lloh45:
	add	x3, x3, l_.str.9@PAGEOFF
Lloh46:
	adrp	x7, l_.str.10@PAGE
Lloh47:
	add	x7, x7, l_.str.10@PAGEOFF
	mov	x0, x20
	mov	x5, x22
	mov	w6, #0
	bl	_SYSCTL_ADD_UINT
	ldr	w0, [x19, #4]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x27]
	ldr	w4, [x28]
Lloh48:
	adrp	x3, l_.str.11@PAGE
Lloh49:
	add	x3, x3, l_.str.11@PAGEOFF
Lloh50:
	adrp	x7, l_.str.12@PAGE
Lloh51:
	add	x7, x7, l_.str.12@PAGEOFF
	mov	x0, x20
	mov	x5, x21
	mov	w6, #0
	bl	_SYSCTL_ADD_UINT
	ldr	w0, [x19, #4]
	bl	_SYSCTL_CHILDREN
	mov	x1, x0
	ldr	w2, [x27]
Lloh52:
	adrp	x8, _CTLTYPE_STRING@GOTPAGE
Lloh53:
	ldr	x8, [x8, _CTLTYPE_STRING@GOTPAGEOFF]
Lloh54:
	ldr	w8, [x8]
Lloh55:
	adrp	x9, _CTLFLAG_RD@GOTPAGE
Lloh56:
	ldr	x9, [x9, _CTLFLAG_RD@GOTPAGEOFF]
Lloh57:
	ldr	w9, [x9]
	orr	w4, w9, w8
	ldr	w7, [x19]
Lloh58:
	adrp	x8, l_.str.15@PAGE
Lloh59:
	add	x8, x8, l_.str.15@PAGEOFF
Lloh60:
	adrp	x9, l_.str.14@PAGE
Lloh61:
	add	x9, x9, l_.str.14@PAGEOFF
	stp	x9, x8, [sp]
Lloh62:
	adrp	x3, l_.str.13@PAGE
Lloh63:
	add	x3, x3, l_.str.13@PAGEOFF
	mov	x0, x20
	mov	w5, #0
	mov	w6, #0
	bl	_SYSCTL_ADD_OID
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FHA_HASH_SIZE,4,2              ; @FHA_HASH_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fhalock"

	.comm	_MTX_DEF,4,2                    ; @MTX_DEF
	.comm	_FHA_DEF_ENABLE,4,2             ; @FHA_DEF_ENABLE
	.comm	_FHA_DEF_READ,4,2               ; @FHA_DEF_READ
	.comm	_FHA_DEF_WRITE,4,2              ; @FHA_DEF_WRITE
	.comm	_FHA_DEF_BIN_SHIFT,4,2          ; @FHA_DEF_BIN_SHIFT
	.comm	_FHA_DEF_MAX_NFSDS_PER_FH,4,2   ; @FHA_DEF_MAX_NFSDS_PER_FH
	.comm	_FHA_DEF_MAX_REQS_PER_NFSD,4,2  ; @FHA_DEF_MAX_REQS_PER_NFSD
	.comm	_OID_AUTO,4,2                   ; @OID_AUTO
l_.str.1:                               ; @.str.1
	.asciz	"enable"

	.comm	_CTLFLAG_RWTUN,4,2              ; @CTLFLAG_RWTUN
l_.str.2:                               ; @.str.2
	.asciz	"Enable NFS File Handle Affinity (FHA)"

l_.str.3:                               ; @.str.3
	.asciz	"read"

l_.str.4:                               ; @.str.4
	.asciz	"Enable NFS FHA read locality"

l_.str.5:                               ; @.str.5
	.asciz	"write"

l_.str.6:                               ; @.str.6
	.asciz	"Enable NFS FHA write locality"

l_.str.7:                               ; @.str.7
	.asciz	"bin_shift"

l_.str.8:                               ; @.str.8
	.asciz	"Maximum locality distance 2^(bin_shift) bytes"

l_.str.9:                               ; @.str.9
	.asciz	"max_nfsds_per_fh"

l_.str.10:                              ; @.str.10
	.asciz	"Maximum nfsd threads that should be working on requests for the same file handle"

l_.str.11:                              ; @.str.11
	.asciz	"max_reqs_per_nfsd"

l_.str.12:                              ; @.str.12
	.asciz	"Maximum requests that single nfsd thread should be working on at any time"

l_.str.13:                              ; @.str.13
	.asciz	"fhe_stats"

	.comm	_CTLTYPE_STRING,4,2             ; @CTLTYPE_STRING
	.comm	_CTLFLAG_RD,4,2                 ; @CTLFLAG_RD
l_.str.14:                              ; @.str.14
	.asciz	"A"

l_.str.15:                              ; @.str.15
	.space	1

.subsections_via_symbols
