	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nlm_host_destroy
_nlm_host_destroy:                      ## @nlm_host_destroy
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	_nlm_global_lock@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mtx_lock
	movq	_nh_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_nlm_hosts@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_REMOVE
	movq	%r14, %rdi
	callq	_mtx_unlock
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_CLNT_RELEASE
LBB0_2:
	movq	8(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.3:
	callq	_CLNT_RELEASE
LBB0_4:
	leaq	4(%rbx), %rdi
	callq	_mtx_destroy
	movq	%rbx, %rdi
	callq	_sysctl_ctx_free
	movq	_M_NLM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_free                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nlm_global_lock,4,2            ## @nlm_global_lock
	.comm	_nlm_hosts,4,2                  ## @nlm_hosts
	.comm	_nh_link,4,2                    ## @nh_link
	.comm	_M_NLM,4,2                      ## @M_NLM
	.no_dead_strip	_nlm_host_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nlm_host_destroy
_nlm_host_destroy:                      ; @nlm_host_destroy
	.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	x20, _nlm_global_lock@GOTPAGE
Lloh1:
	ldr	x20, [x20, _nlm_global_lock@GOTPAGEOFF]
	mov	x0, x20
	bl	_mtx_lock
Lloh2:
	adrp	x8, _nh_link@GOTPAGE
Lloh3:
	ldr	x8, [x8, _nh_link@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x0, _nlm_hosts@GOTPAGE
Lloh6:
	ldr	x0, [x0, _nlm_hosts@GOTPAGEOFF]
	mov	x1, x19
	bl	_TAILQ_REMOVE
	mov	x0, x20
	bl	_mtx_unlock
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_CLNT_RELEASE
LBB0_2:
	ldr	x0, [x19, #8]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_CLNT_RELEASE
LBB0_4:
	add	x0, x19, #4
	bl	_mtx_destroy
	mov	x0, x19
	bl	_sysctl_ctx_free
Lloh7:
	adrp	x8, _M_NLM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _M_NLM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_nlm_global_lock,4,2            ; @nlm_global_lock
	.comm	_nlm_hosts,4,2                  ; @nlm_hosts
	.comm	_nh_link,4,2                    ; @nh_link
	.comm	_M_NLM,4,2                      ; @M_NLM
	.no_dead_strip	_nlm_host_destroy
.subsections_via_symbols
