	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function determine_nis_domain
_determine_nis_domain:                  ## @determine_nis_domain
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -24(%rbp)
	movq	_YPMAXDOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	cmpb	$1, _determine_nis_domain.nis_not_running(%rip)
	jne	LBB0_2
LBB0_1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_2:
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_getdomainname
	testq	%rax, %rax
	js	LBB0_5
## %bb.3:
	cmpb	$0, (%r14)
	je	LBB0_9
## %bb.4:
	movq	%r14, %rdi
	callq	_xstrdup
	movq	_gopt@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	movb	$1, _determine_nis_domain.nis_not_running(%rip)
	movq	_XLOG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_plog
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %eax
LBB0_7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_10
## %bb.8:
	leaq	-16(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movb	$1, _determine_nis_domain.nis_not_running(%rip)
	movq	_XLOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_plog
	jmp	LBB0_1
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_determine_nis_domain.nis_not_running,1,2 ## @determine_nis_domain.nis_not_running
	.comm	_YPMAXDOMAIN,4,2                ## @YPMAXDOMAIN
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_XLOG_ERROR,4,2                 ## @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"getdomainname: %m"

	.comm	_EIO,4,2                        ## @EIO
	.comm	_XLOG_WARNING,4,2               ## @XLOG_WARNING
L_.str.1:                               ## @.str.1
	.asciz	"NIS domain name is not set.  NIS ignored."

	.comm	_gopt,4,2                       ## @gopt
	.no_dead_strip	_determine_nis_domain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function determine_nis_domain
_determine_nis_domain:                  ; @determine_nis_domain
	.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
	sub	sp, sp, #16
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, _YPMAXDOMAIN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _YPMAXDOMAIN@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x9, x1
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x1, #15
	and	x9, x9, #0x1fffffff0
	sub	x19, x8, x9
	mov	sp, x19
	adrp	x20, _determine_nis_domain.nis_not_running@PAGE
	ldrb	w8, [x20, _determine_nis_domain.nis_not_running@PAGEOFF]
	cmp	w8, #1
	b.ne	LBB0_2
LBB0_1:
Lloh8:
	adrp	x8, _ENOENT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_6
LBB0_2:
	mov	x0, x19
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_getdomainname
	tbnz	x0, #63, LBB0_5
; %bb.3:
	ldrb	w8, [x19]
	cbz	w8, LBB0_9
; %bb.4:
	mov	x0, x19
	bl	_xstrdup
	mov	x8, x0
	mov	w0, #0
Lloh10:
	adrp	x9, _gopt@GOTPAGE
Lloh11:
	ldr	x9, [x9, _gopt@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
	b	LBB0_7
LBB0_5:
	mov	w8, #1
	strb	w8, [x20, _determine_nis_domain.nis_not_running@PAGEOFF]
Lloh13:
	adrp	x8, _XLOG_ERROR@GOTPAGE
Lloh14:
	ldr	x8, [x8, _XLOG_ERROR@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
Lloh16:
	adrp	x1, l_.str@PAGE
Lloh17:
	add	x1, x1, l_.str@PAGEOFF
	bl	_plog
Lloh18:
	adrp	x8, _EIO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	ldur	x8, [x29, #-24]
Lloh20:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh21:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_10
; %bb.8:
	sub	sp, x29, #16
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	mov	w8, #1
	strb	w8, [x20, _determine_nis_domain.nis_not_running@PAGEOFF]
Lloh23:
	adrp	x8, _XLOG_WARNING@GOTPAGE
Lloh24:
	ldr	x8, [x8, _XLOG_WARNING@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_plog
	b	LBB0_1
LBB0_10:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_determine_nis_domain.nis_not_running,1,2 ; @determine_nis_domain.nis_not_running
	.comm	_YPMAXDOMAIN,4,2                ; @YPMAXDOMAIN
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_XLOG_ERROR,4,2                 ; @XLOG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"getdomainname: %m"

	.comm	_EIO,4,2                        ; @EIO
	.comm	_XLOG_WARNING,4,2               ; @XLOG_WARNING
l_.str.1:                               ; @.str.1
	.asciz	"NIS domain name is not set.  NIS ignored."

	.comm	_gopt,4,2                       ; @gopt
	.no_dead_strip	_determine_nis_domain
.subsections_via_symbols
