	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unmonitor_lock_host            ## -- Begin function unmonitor_lock_host
	.p2align	4, 0x90
_unmonitor_lock_host:                   ## @unmonitor_lock_host
	.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
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_hostlst_head@GOTPCREL(%rip), %rdi
	callq	_LIST_FIRST
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %rbx
	movq	_SM_MAXSTRLEN@GOTPCREL(%rip), %r15
	movq	_hostlst@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	4(%rbx), %esi
	movl	(%r15), %edx
	movq	%r14, %rdi
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_LIST_NEXT
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
LBB0_4:
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_debuglog                       ## TAILCALL
LBB0_5:
	movl	(%rbx), %eax
	leal	-1(%rax), %esi
	movl	%esi, (%rbx)
	cmpl	$1, %eax
	jg	LBB0_11
## %bb.6:
	je	LBB0_8
## %bb.7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_debuglog
LBB0_8:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_debuglog
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	movl	$32, %esi
	callq	_bzero
	movq	%r14, -72(%rbp)
	leaq	L_.str.3(%rip), %rdi
	movq	%rdi, -64(%rbp)
	movq	_NLM_PROG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	_NLM_SM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -52(%rbp)
	movq	_NLM_SM_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -56(%rbp)
	movq	_SM_PROG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_SM_VERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SM_UNMON@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_xdr_mon_id@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_xdr_sm_stat@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-40(%rbp), %r10
	movq	%r15, %r9
	pushq	%r10
	pushq	%rax
	callq	_callrpc
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_debuglog
LBB0_10:
	movl	(%r12), %esi
	movq	%rbx, %rdi
	callq	_LIST_REMOVE
	movq	%rbx, %rdi
	callq	_free
LBB0_11:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_hostlst_head,4,2               ## @hostlst_head
	.comm	_SM_MAXSTRLEN,4,2               ## @SM_MAXSTRLEN
	.comm	_hostlst,4,2                    ## @hostlst
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not find host %16s in mon list\n"

L_.str.1:                               ## @.str.1
	.asciz	"Negative refcount!: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"Attempting to unmonitor host %16s\n"

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

	.comm	_NLM_PROG,4,2                   ## @NLM_PROG
	.comm	_NLM_SM,4,2                     ## @NLM_SM
	.comm	_NLM_SM_NOTIFY,4,2              ## @NLM_SM_NOTIFY
	.comm	_SM_PROG,4,2                    ## @SM_PROG
	.comm	_SM_VERS,4,2                    ## @SM_VERS
	.comm	_SM_UNMON,4,2                   ## @SM_UNMON
	.comm	_xdr_mon_id,8,3                 ## @xdr_mon_id
	.comm	_xdr_sm_stat,8,3                ## @xdr_sm_stat
L_.str.4:                               ## @.str.4
	.asciz	"Rpc call to unmonitor statd failed with  return value: %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unmonitor_lock_host            ; -- Begin function unmonitor_lock_host
	.p2align	2
_unmonitor_lock_host:                   ; @unmonitor_lock_host
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x0, _hostlst_head@GOTPAGE
Lloh1:
	ldr	x0, [x0, _hostlst_head@GOTPAGEOFF]
	bl	_LIST_FIRST
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x22, _SM_MAXSTRLEN@GOTPAGE
Lloh3:
	ldr	x22, [x22, _SM_MAXSTRLEN@GOTPAGEOFF]
Lloh4:
	adrp	x21, _hostlst@GOTPAGE
Lloh5:
	ldr	x21, [x21, _hostlst@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #4]
	ldr	w2, [x22]
	mov	x0, x20
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_LIST_NEXT
	mov	x19, x0
	cbnz	x0, LBB0_2
LBB0_4:
	str	x20, [sp]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_debuglog
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_6:
	ldr	w8, [x19]
	subs	w8, w8, #1
	str	w8, [x19]
	b.gt	LBB0_5
; %bb.7:
	b.eq	LBB0_9
; %bb.8:
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str.1@PAGE
Lloh9:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_debuglog
LBB0_9:
	str	x20, [sp]
Lloh10:
	adrp	x0, l_.str.2@PAGE
Lloh11:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_debuglog
	add	x0, sp, #16
	mov	w1, #32
	bl	_bzero
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
	stp	x20, x0, [sp, #16]
Lloh14:
	adrp	x8, _NLM_PROG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NLM_PROG@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [sp, #40]
Lloh17:
	adrp	x8, _NLM_SM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _NLM_SM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
Lloh20:
	adrp	x9, _NLM_SM_NOTIFY@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NLM_SM_NOTIFY@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #32]
Lloh23:
	adrp	x8, _SM_PROG@GOTPAGE
Lloh24:
	ldr	x8, [x8, _SM_PROG@GOTPAGEOFF]
Lloh25:
	ldr	w1, [x8]
Lloh26:
	adrp	x8, _SM_VERS@GOTPAGE
Lloh27:
	ldr	x8, [x8, _SM_VERS@GOTPAGEOFF]
Lloh28:
	ldr	w2, [x8]
Lloh29:
	adrp	x8, _SM_UNMON@GOTPAGE
Lloh30:
	ldr	x8, [x8, _SM_UNMON@GOTPAGEOFF]
Lloh31:
	ldr	w3, [x8]
Lloh32:
	adrp	x8, _xdr_mon_id@GOTPAGE
Lloh33:
	ldr	x8, [x8, _xdr_mon_id@GOTPAGEOFF]
Lloh34:
	ldr	w4, [x8]
Lloh35:
	adrp	x8, _xdr_sm_stat@GOTPAGE
Lloh36:
	ldr	x8, [x8, _xdr_sm_stat@GOTPAGEOFF]
Lloh37:
	ldr	w6, [x8]
	add	x5, sp, #16
	add	x7, sp, #8
	bl	_callrpc
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_11
; %bb.10:
	str	x0, [sp]
Lloh38:
	adrp	x0, l_.str.4@PAGE
Lloh39:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_debuglog
LBB0_11:
	ldr	w1, [x21]
	mov	x0, x19
	bl	_LIST_REMOVE
	mov	x0, x19
	bl	_free
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.comm	_hostlst_head,4,2               ; @hostlst_head
	.comm	_SM_MAXSTRLEN,4,2               ; @SM_MAXSTRLEN
	.comm	_hostlst,4,2                    ; @hostlst
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not find host %16s in mon list\n"

l_.str.1:                               ; @.str.1
	.asciz	"Negative refcount!: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"Attempting to unmonitor host %16s\n"

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

	.comm	_NLM_PROG,4,2                   ; @NLM_PROG
	.comm	_NLM_SM,4,2                     ; @NLM_SM
	.comm	_NLM_SM_NOTIFY,4,2              ; @NLM_SM_NOTIFY
	.comm	_SM_PROG,4,2                    ; @SM_PROG
	.comm	_SM_VERS,4,2                    ; @SM_VERS
	.comm	_SM_UNMON,4,2                   ; @SM_UNMON
	.comm	_xdr_mon_id,8,3                 ; @xdr_mon_id
	.comm	_xdr_sm_stat,8,3                ; @xdr_sm_stat
l_.str.4:                               ; @.str.4
	.asciz	"Rpc call to unmonitor statd failed with  return value: %d\n"

.subsections_via_symbols
