	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nfslock_send
_nfslock_send:                          ## @nfslock_send
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_M_NFSLOCK@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$4, %edi
	callq	_malloc
	movq	%rax, %r15
	movq	_nfslock_mtx@GOTPCREL(%rip), %rdi
	callq	_mtx_lock
	movq	_nfslock_isopen@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	_lm_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_nfslock_list@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_TAILQ_INSERT_TAIL
	movq	%rbx, %rdi
	callq	_wakeup
	movq	_nfslock_mtx@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
LBB0_4:
	xorl	%ebx, %ebx
	jmp	LBB0_5
LBB0_2:
	movq	_EOPNOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_nfslock_mtx@GOTPCREL(%rip), %rdi
	callq	_mtx_unlock
	testl	%ebx, %ebx
	je	LBB0_4
## %bb.3:
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_free
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_NFSLOCK,4,2                  ## @M_NFSLOCK
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_nfslock_mtx,4,2                ## @nfslock_mtx
	.comm	_nfslock_isopen,8,3             ## @nfslock_isopen
	.comm	_nfslock_list,4,2               ## @nfslock_list
	.comm	_lm_link,4,2                    ## @lm_link
	.comm	_EOPNOTSUPP,4,2                 ## @EOPNOTSUPP
	.no_dead_strip	_nfslock_send
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nfslock_send
_nfslock_send:                          ; @nfslock_send
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x21, _M_NFSLOCK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _M_NFSLOCK@GOTPAGEOFF]
	ldr	w1, [x21]
Lloh2:
	adrp	x8, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	w0, #4
	bl	_malloc
	mov	x19, x0
Lloh5:
	adrp	x0, _nfslock_mtx@GOTPAGE
Lloh6:
	ldr	x0, [x0, _nfslock_mtx@GOTPAGEOFF]
	bl	_mtx_lock
Lloh7:
	adrp	x8, _nfslock_isopen@GOTPAGE
Lloh8:
	ldr	x8, [x8, _nfslock_isopen@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
Lloh10:
	adrp	x8, _lm_link@GOTPAGE
Lloh11:
	ldr	x8, [x8, _lm_link@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
Lloh13:
	adrp	x20, _nfslock_list@GOTPAGE
Lloh14:
	ldr	x20, [x20, _nfslock_list@GOTPAGEOFF]
	mov	x0, x20
	mov	x1, x19
	bl	_TAILQ_INSERT_TAIL
	mov	x0, x20
	bl	_wakeup
Lloh15:
	adrp	x0, _nfslock_mtx@GOTPAGE
Lloh16:
	ldr	x0, [x0, _nfslock_mtx@GOTPAGEOFF]
	bl	_mtx_unlock
	mov	w20, #0
	b	LBB0_4
LBB0_2:
Lloh17:
	adrp	x8, _EOPNOTSUPP@GOTPAGE
Lloh18:
	ldr	x8, [x8, _EOPNOTSUPP@GOTPAGEOFF]
Lloh19:
	ldr	w20, [x8]
Lloh20:
	adrp	x0, _nfslock_mtx@GOTPAGE
Lloh21:
	ldr	x0, [x0, _nfslock_mtx@GOTPAGEOFF]
	bl	_mtx_unlock
	cbz	w20, LBB0_4
; %bb.3:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_free
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_M_NFSLOCK,4,2                  ; @M_NFSLOCK
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_nfslock_mtx,4,2                ; @nfslock_mtx
	.comm	_nfslock_isopen,8,3             ; @nfslock_isopen
	.comm	_nfslock_list,4,2               ; @nfslock_list
	.comm	_lm_link,4,2                    ; @lm_link
	.comm	_EOPNOTSUPP,4,2                 ; @EOPNOTSUPP
	.no_dead_strip	_nfslock_send
.subsections_via_symbols
