	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nis_init                       ## -- Begin function nis_init
	.p2align	4, 0x90
_nis_init:                              ## @nis_init
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	_gopt@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	testl	%edi, %edi
	je	LBB0_1
LBB0_3:
	leaq	-40(%rbp), %rdx
	movq	%r15, %rsi
	callq	_yp_order
	cmpl	$128, %eax
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	_has_yp_order@GOTPCREL(%rip), %rax
	movl	$1, (%rax)
	movq	-40(%rbp), %rcx
	movl	%ecx, (%r14)
	movl	(%r12), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_dlog
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
	callq	_determine_nis_domain
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_10
## %bb.2:
	movl	(%r12), %edi
	jmp	LBB0_3
LBB0_6:
	movq	_has_yp_order@GOTPCREL(%rip), %rax
	movl	$0, (%rax)
	movl	(%r12), %edi
	leaq	-48(%rbp), %rdx
	movq	%r15, %rsi
	callq	_yp_master
	testl	%eax, %eax
	jne	LBB0_9
## %bb.7:
	movl	(%r12), %edx
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	movq	%r15, %rsi
	xorl	%eax, %eax
	callq	_dlog
	xorl	%edi, %edi
	callq	_time
	movl	%eax, (%r14)
	jmp	LBB0_10
LBB0_8:
	movq	_has_yp_order@GOTPCREL(%rip), %rax
	movl	$-1, (%rax)
LBB0_9:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_gopt,4,2                       ## @gopt
	.comm	_has_yp_order,4,2               ## @has_yp_order
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"NIS master for %s@%s has order %lu"

	.comm	_ENOENT,4,2                     ## @ENOENT
L_.str.1:                               ## @.str.1
	.asciz	"NIS master for %s@%s is a NIS+ server"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nis_init                       ; -- Begin function nis_init
	.p2align	2
_nis_init:                              ; @nis_init
	.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	x19, x2
	mov	x20, x1
Lloh0:
	adrp	x21, _gopt@GOTPAGE
Lloh1:
	ldr	x21, [x21, _gopt@GOTPAGEOFF]
	ldr	w0, [x21]
	cbz	w0, LBB0_4
LBB0_1:
	add	x2, sp, #24
	mov	x1, x20
	bl	_yp_order
Lloh2:
	adrp	x8, _has_yp_order@GOTPAGE
Lloh3:
	ldr	x8, [x8, _has_yp_order@GOTPAGEOFF]
	cmp	w0, #128
	b.eq	LBB0_6
; %bb.2:
	cbnz	w0, LBB0_8
; %bb.3:
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [sp, #24]
	str	w8, [x19]
	ldr	w2, [x21]
	str	x8, [sp]
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_dlog
	mov	w0, #0
	b	LBB0_10
LBB0_4:
	bl	_determine_nis_domain
	cbnz	w0, LBB0_10
; %bb.5:
	ldr	w0, [x21]
	b	LBB0_1
LBB0_6:
	str	wzr, [x8]
	ldr	w0, [x21]
	add	x2, sp, #16
	mov	x1, x20
	bl	_yp_master
	cbnz	w0, LBB0_9
; %bb.7:
	ldr	w2, [x21]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_dlog
	mov	x0, #0
	bl	_time
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19]
	b	LBB0_10
LBB0_8:
	mov	w9, #-1
	str	w9, [x8]
LBB0_9:
Lloh8:
	adrp	x8, _ENOENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
LBB0_10:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_gopt,4,2                       ; @gopt
	.comm	_has_yp_order,4,2               ; @has_yp_order
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"NIS master for %s@%s has order %lu"

	.comm	_ENOENT,4,2                     ; @ENOENT
l_.str.1:                               ; @.str.1
	.asciz	"NIS master for %s@%s is a NIS+ server"

.subsections_via_symbols
