	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nis_isup                       ## -- Begin function nis_isup
	.p2align	4, 0x90
_nis_isup:                              ## @nis_isup
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_has_yp_order@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	je	LBB0_5
## %bb.1:
	cmpl	$1, %eax
	jne	LBB0_7
## %bb.2:
	movq	_gopt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rsi
	callq	_yp_order
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%eax, %edi
	callq	_ypprot_err
	movl	%eax, %edi
	callq	_yperr_string
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_5:
	movq	_gopt@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-32(%rbp), %rdx
	movq	%r15, %rsi
	callq	_yp_master
	testl	%eax, %eax
	je	LBB0_8
## %bb.6:
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	movl	%eax, %edi
	callq	_ypprot_err
	movl	%eax, %edi
	callq	_yperr_string
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	xorl	%ebx, %ebx
	movl	%r14d, %edi
	movq	%r15, %rdx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_plog
	movb	$1, _nis_isup.last_status(%rip)
	jmp	LBB0_12
LBB0_7:
	movb	$1, _nis_isup.last_status(%rip)
	jmp	LBB0_9
LBB0_8:
	movl	$1, %ebx
	cmpb	$1, _nis_isup.last_status(%rip)
	jne	LBB0_12
LBB0_9:
	leaq	-36(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_nis_init
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_10:
	movq	_XLOG_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_plog
	movb	$0, _nis_isup.last_status(%rip)
	movl	$1, %ebx
LBB0_12:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_nis_isup.last_status,1,2 ## @nis_isup.last_status
	.comm	_has_yp_order,4,2               ## @has_yp_order
	.comm	_gopt,4,2                       ## @gopt
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"nis_isup: error getting the order of map %s: %s"

L_.str.1:                               ## @.str.1
	.asciz	"nis_isup: error getting the master of map %s: %s"

	.comm	_XLOG_INFO,4,2                  ## @XLOG_INFO
L_.str.2:                               ## @.str.2
	.asciz	"nis_isup: NIS came back up for map %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nis_isup                       ; -- Begin function nis_isup
	.p2align	2
_nis_isup:                              ; @nis_isup
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _has_yp_order@GOTPAGE
Lloh1:
	ldr	x8, [x8, _has_yp_order@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	cmp	w8, #1
	b.ne	LBB0_7
; %bb.2:
Lloh3:
	adrp	x8, _gopt@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gopt@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x2, sp, #24
	mov	x1, x19
	bl	_yp_order
	cbz	w0, LBB0_8
; %bb.3:
Lloh6:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	bl	_ypprot_err
	bl	_yperr_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_6
LBB0_4:
Lloh11:
	adrp	x8, _gopt@GOTPAGE
Lloh12:
	ldr	x8, [x8, _gopt@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	add	x2, sp, #24
	mov	x1, x19
	bl	_yp_master
	cbz	w0, LBB0_8
; %bb.5:
Lloh14:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh16:
	ldr	w20, [x8]
	bl	_ypprot_err
	bl	_yperr_string
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_6:
	mov	x0, x20
	mov	x2, x19
	bl	_plog
	mov	w0, #0
	mov	w8, #1
	adrp	x9, _nis_isup.last_status@PAGE
	strb	w8, [x9, _nis_isup.last_status@PAGEOFF]
	b	LBB0_13
LBB0_7:
	mov	w8, #1
	adrp	x9, _nis_isup.last_status@PAGE
	strb	w8, [x9, _nis_isup.last_status@PAGEOFF]
	b	LBB0_9
LBB0_8:
	adrp	x8, _nis_isup.last_status@PAGE
	ldrb	w8, [x8, _nis_isup.last_status@PAGEOFF]
	cmp	w8, #1
	b.ne	LBB0_12
LBB0_9:
	add	x2, sp, #20
	mov	x0, x20
	mov	x1, x19
	bl	_nis_init
	cbz	w0, LBB0_11
; %bb.10:
	mov	w0, #0
	b	LBB0_13
LBB0_11:
Lloh19:
	adrp	x8, _XLOG_INFO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _XLOG_INFO@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str.2@PAGE
Lloh23:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x19
	bl	_plog
	adrp	x8, _nis_isup.last_status@PAGE
	strb	wzr, [x8, _nis_isup.last_status@PAGEOFF]
LBB0_12:
	mov	w0, #1
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_nis_isup.last_status,1,2 ; @nis_isup.last_status
	.comm	_has_yp_order,4,2               ; @has_yp_order
	.comm	_gopt,4,2                       ; @gopt
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"nis_isup: error getting the order of map %s: %s"

l_.str.1:                               ; @.str.1
	.asciz	"nis_isup: error getting the master of map %s: %s"

	.comm	_XLOG_INFO,4,2                  ; @XLOG_INFO
l_.str.2:                               ; @.str.2
	.asciz	"nis_isup: NIS came back up for map %s"

.subsections_via_symbols
