	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_nsm                       ## -- Begin function init_nsm
	.p2align	4, 0x90
_init_nsm:                              ## @init_nsm
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movabsq	$21757471640208974, %rax        ## imm = 0x4D4C4E2053464E
	movq	%rax, -48(%rbp)
	leaq	-56(%rbp), %r14
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	leaq	-48(%rbp), %rax
	movq	%rax, -56(%rbp)
	movq	_SM_PROG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_SM_VERS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_SM_UNMON_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_xdr_my_id@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_xdr_sm_stat@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-40(%rbp), %rbx
	leaq	L_.str(%rip), %rdi
	movq	%r14, %r9
	pushq	%rbx
	pushq	%rax
	callq	_callrpc
	addq	$16, %rsp
	movl	%eax, %ebx
	movq	_RPC_PROGUNAVAIL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_2
## %bb.1:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r12), %r15d
	movl	%ebx, %edi
	callq	_clnt_sperrno
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_syslog
	movl	$2, %edi
	callq	_sleep
LBB0_2:
	testl	%ebx, %ebx
	jne	LBB0_4
## %bb.3:
	movl	-40(%rbp), %eax
	movq	_nsm_state@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_localhost@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_mon_host@GOTPCREL(%rip), %rcx
	movl	%eax, 12(%rcx)
	movq	_NLM_PROG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rcx)
	movq	_NLM_SM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movq	_NLM_SM_NOTIFY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rcx)
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	(%r12), %r15d
	movl	%ebx, %edi
	callq	_clnt_sperrno
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%r15d, %edx
	movl	%eax, %ecx
	callq	_syslog
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"localhost"

	.comm	_SM_PROG,4,2                    ## @SM_PROG
	.comm	_SM_VERS,4,2                    ## @SM_VERS
	.comm	_SM_UNMON_ALL,4,2               ## @SM_UNMON_ALL
	.comm	_xdr_my_id,8,3                  ## @xdr_my_id
	.comm	_xdr_sm_stat,8,3                ## @xdr_sm_stat
	.comm	_RPC_PROGUNAVAIL,4,2            ## @RPC_PROGUNAVAIL
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"%lu %s"

	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_nsm_state,4,2                  ## @nsm_state
	.comm	_localhost,4,2                  ## @localhost
	.comm	_mon_host,16,2                  ## @mon_host
	.comm	_NLM_PROG,4,2                   ## @NLM_PROG
	.comm	_NLM_SM,4,2                     ## @NLM_SM
	.comm	_NLM_SM_NOTIFY,4,2              ## @NLM_SM_NOTIFY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_init_nsm                       ; -- Begin function init_nsm
	.p2align	2
_init_nsm:                              ; @init_nsm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x8, #17998
	movk	x8, #8275, lsl #16
	movk	x8, #19534, lsl #32
	movk	x8, #77, lsl #48
	str	x8, [sp, #8]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	add	x8, sp, #8
	str	x8, [sp, #24]
Lloh0:
	adrp	x22, _SM_PROG@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SM_PROG@GOTPAGEOFF]
	ldr	w1, [x22]
Lloh2:
	adrp	x8, _SM_VERS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SM_VERS@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
Lloh5:
	adrp	x8, _SM_UNMON_ALL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SM_UNMON_ALL@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
Lloh8:
	adrp	x8, _xdr_my_id@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xdr_my_id@GOTPAGEOFF]
Lloh10:
	ldr	w4, [x8]
Lloh11:
	adrp	x8, _xdr_sm_stat@GOTPAGE
Lloh12:
	ldr	x8, [x8, _xdr_sm_stat@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	add	x5, sp, #24
	add	x7, sp, #16
	bl	_callrpc
	mov	x19, x0
Lloh16:
	adrp	x8, _RPC_PROGUNAVAIL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _RPC_PROGUNAVAIL@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
Lloh19:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh20:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh21:
	ldr	w20, [x8]
	ldr	w21, [x22]
	mov	x0, x19
	bl	_clnt_sperrno
	mov	x3, x0
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_syslog
	mov	w0, #2
	bl	_sleep
LBB0_2:
	cbnz	w19, LBB0_4
; %bb.3:
	ldr	w8, [sp, #16]
Lloh24:
	adrp	x9, _nsm_state@GOTPAGE
Lloh25:
	ldr	x9, [x9, _nsm_state@GOTPAGEOFF]
Lloh26:
	str	w8, [x9]
Lloh27:
	adrp	x8, _localhost@GOTPAGE
Lloh28:
	ldr	x8, [x8, _localhost@GOTPAGEOFF]
Lloh29:
	adrp	x9, _mon_host@GOTPAGE
Lloh30:
	ldr	x9, [x9, _mon_host@GOTPAGEOFF]
Lloh31:
	adrp	x10, _NLM_PROG@GOTPAGE
Lloh32:
	ldr	x10, [x10, _NLM_PROG@GOTPAGEOFF]
Lloh33:
	ldr	w8, [x8]
Lloh34:
	ldr	w10, [x10]
	stp	w10, w8, [x9, #8]
Lloh35:
	adrp	x8, _NLM_SM@GOTPAGE
Lloh36:
	ldr	x8, [x8, _NLM_SM@GOTPAGEOFF]
Lloh37:
	ldr	w8, [x8]
Lloh38:
	adrp	x10, _NLM_SM_NOTIFY@GOTPAGE
Lloh39:
	ldr	x10, [x10, _NLM_SM_NOTIFY@GOTPAGEOFF]
Lloh40:
	ldr	w10, [x10]
	stp	w10, w8, [x9]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
Lloh41:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh42:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh43:
	ldr	w20, [x8]
	ldr	w21, [x22]
	mov	x0, x19
	bl	_clnt_sperrno
	mov	x3, x0
Lloh44:
	adrp	x1, l_.str.1@PAGE
Lloh45:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_syslog
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh34
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh33
	.loh AdrpLdrGotStr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"localhost"

	.comm	_SM_PROG,4,2                    ; @SM_PROG
	.comm	_SM_VERS,4,2                    ; @SM_VERS
	.comm	_SM_UNMON_ALL,4,2               ; @SM_UNMON_ALL
	.comm	_xdr_my_id,8,3                  ; @xdr_my_id
	.comm	_xdr_sm_stat,8,3                ; @xdr_sm_stat
	.comm	_RPC_PROGUNAVAIL,4,2            ; @RPC_PROGUNAVAIL
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"%lu %s"

	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_nsm_state,4,2                  ; @nsm_state
	.comm	_localhost,4,2                  ; @localhost
	.comm	_mon_host,16,2                  ; @mon_host
	.comm	_NLM_PROG,4,2                   ; @NLM_PROG
	.comm	_NLM_SM,4,2                     ; @NLM_SM
	.comm	_NLM_SM_NOTIFY,4,2              ; @NLM_SM_NOTIFY
.subsections_via_symbols
