	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_unlock                      ## -- Begin function do_unlock
	.p2align	4, 0x90
_do_unlock:                             ## @do_unlock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_debuglog
	movq	%rbx, %rdi
	callq	_unlock_partialfilelock
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$6, %eax
	ja	LBB0_7
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_6:
	leaq	L_.str.4(%rip), %rdi
	callq	_debuglog
	movq	%rbx, %rdi
	callq	_dump_filelock
	movq	_nlm_denied_nolocks@GOTPCREL(%rip), %rax
	movq	_nlm4_denied_nolocks@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_4:
	leaq	L_.str.3(%rip), %rdi
	callq	_debuglog
	jmp	LBB0_5
LBB0_3:
	leaq	L_.str.2(%rip), %rdi
	callq	_debuglog
	movq	%rbx, %rdi
	callq	_dump_filelock
	movq	_nlm_denied@GOTPCREL(%rip), %rax
	movq	_nlm4_denied@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	leaq	L_.str.5(%rip), %rdi
	callq	_debuglog
	movq	%rbx, %rdi
	callq	_dump_filelock
	movq	_nlm_denied@GOTPCREL(%rip), %rax
	movq	_nlm4_failed@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_2:
	leaq	L_.str.1(%rip), %rdi
	callq	_debuglog
	movq	%rbx, %rdi
	callq	_dump_filelock
LBB0_5:
	movq	_nlm_granted@GOTPCREL(%rip), %rax
	movq	_nlm4_granted@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	_LOCK_V4@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	andl	(%rbx), %edx
	cmoveq	%rax, %rcx
	movl	(%rcx), %ebx
	leaq	L_.str.6(%rip), %rdi
	callq	_debuglog
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_3
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Entering do_unlock...\n"

L_.str.1:                               ## @.str.1
	.asciz	"PFL unlock granted"

	.comm	_LOCK_V4,4,2                    ## @LOCK_V4
	.comm	_nlm4_granted,4,2               ## @nlm4_granted
	.comm	_nlm_granted,4,2                ## @nlm_granted
L_.str.2:                               ## @.str.2
	.asciz	"PFL_NFS unlock denied"

	.comm	_nlm4_denied,4,2                ## @nlm4_denied
	.comm	_nlm_denied,4,2                 ## @nlm_denied
L_.str.3:                               ## @.str.3
	.asciz	"PFL_NFS no lock found\n"

L_.str.4:                               ## @.str.4
	.asciz	"PFL unlock resource failure"

	.comm	_nlm4_denied_nolocks,4,2        ## @nlm4_denied_nolocks
	.comm	_nlm_denied_nolocks,4,2         ## @nlm_denied_nolocks
L_.str.5:                               ## @.str.5
	.asciz	"PFL unlock *FAILED*"

	.comm	_nlm4_failed,4,2                ## @nlm4_failed
L_.str.6:                               ## @.str.6
	.asciz	"Exiting do_unlock...\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_do_unlock                      ; -- Begin function do_unlock
	.p2align	2
_do_unlock:                             ; @do_unlock
	.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	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debuglog
	mov	x0, x19
	bl	_unlock_partialfilelock
	sub	w8, w0, #128
	cmp	w8, #6
	b.hi	LBB0_5
; %bb.1:
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_debuglog
	mov	x0, x19
	bl	_dump_filelock
Lloh6:
	adrp	x8, _nlm_denied_nolocks@GOTPAGE
Lloh7:
	ldr	x8, [x8, _nlm_denied_nolocks@GOTPAGEOFF]
Lloh8:
	adrp	x9, _nlm4_denied_nolocks@GOTPAGE
Lloh9:
	ldr	x9, [x9, _nlm4_denied_nolocks@GOTPAGEOFF]
	b	LBB0_8
LBB0_3:
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_debuglog
	b	LBB0_7
LBB0_4:
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debuglog
	mov	x0, x19
	bl	_dump_filelock
Lloh14:
	adrp	x8, _nlm_denied@GOTPAGE
Lloh15:
	ldr	x8, [x8, _nlm_denied@GOTPAGEOFF]
Lloh16:
	adrp	x9, _nlm4_denied@GOTPAGE
Lloh17:
	ldr	x9, [x9, _nlm4_denied@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_debuglog
	mov	x0, x19
	bl	_dump_filelock
Lloh20:
	adrp	x8, _nlm_denied@GOTPAGE
Lloh21:
	ldr	x8, [x8, _nlm_denied@GOTPAGEOFF]
Lloh22:
	adrp	x9, _nlm4_failed@GOTPAGE
Lloh23:
	ldr	x9, [x9, _nlm4_failed@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
Lloh24:
	adrp	x0, l_.str.1@PAGE
Lloh25:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debuglog
	mov	x0, x19
	bl	_dump_filelock
LBB0_7:
Lloh26:
	adrp	x8, _nlm_granted@GOTPAGE
Lloh27:
	ldr	x8, [x8, _nlm_granted@GOTPAGEOFF]
Lloh28:
	adrp	x9, _nlm4_granted@GOTPAGE
Lloh29:
	ldr	x9, [x9, _nlm4_granted@GOTPAGEOFF]
LBB0_8:
	ldr	w10, [x19]
Lloh30:
	adrp	x11, _LOCK_V4@GOTPAGE
Lloh31:
	ldr	x11, [x11, _LOCK_V4@GOTPAGEOFF]
Lloh32:
	ldr	w11, [x11]
	tst	w11, w10
	csel	x8, x8, x9, eq
	ldr	w19, [x8]
Lloh33:
	adrp	x0, l_.str.6@PAGE
Lloh34:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_debuglog
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Entering do_unlock...\n"

l_.str.1:                               ; @.str.1
	.asciz	"PFL unlock granted"

	.comm	_LOCK_V4,4,2                    ; @LOCK_V4
	.comm	_nlm4_granted,4,2               ; @nlm4_granted
	.comm	_nlm_granted,4,2                ; @nlm_granted
l_.str.2:                               ; @.str.2
	.asciz	"PFL_NFS unlock denied"

	.comm	_nlm4_denied,4,2                ; @nlm4_denied
	.comm	_nlm_denied,4,2                 ; @nlm_denied
l_.str.3:                               ; @.str.3
	.asciz	"PFL_NFS no lock found\n"

l_.str.4:                               ; @.str.4
	.asciz	"PFL unlock resource failure"

	.comm	_nlm4_denied_nolocks,4,2        ; @nlm4_denied_nolocks
	.comm	_nlm_denied_nolocks,4,2         ; @nlm_denied_nolocks
l_.str.5:                               ; @.str.5
	.asciz	"PFL unlock *FAILED*"

	.comm	_nlm4_failed,4,2                ; @nlm4_failed
l_.str.6:                               ; @.str.6
	.asciz	"Exiting do_unlock...\n"

.subsections_via_symbols
