	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yp_get_default_domain_locked
_yp_get_default_domain_locked:          ## @yp_get_default_domain_locked
	.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	$0, (%rdi)
	movq	__yp_domain@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	cmpb	$0, (%rdi)
	je	LBB0_1
LBB0_3:
	movq	%rdi, (%rbx)
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_1:
	movl	$8, %esi
	callq	_getdomainname
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	_YPERR_NODOM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_4:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	(%r14), %rdi
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	__yp_domain,8,3                 ## @_yp_domain
	.comm	_YPERR_NODOM,4,2                ## @YPERR_NODOM
	.no_dead_strip	_yp_get_default_domain_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yp_get_default_domain_locked
_yp_get_default_domain_locked:          ; @yp_get_default_domain_locked
	.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
	str	xzr, [x0]
Lloh0:
	adrp	x20, __yp_domain@GOTPAGE
Lloh1:
	ldr	x20, [x20, __yp_domain@GOTPAGEOFF]
	ldr	x0, [x20]
	ldrb	w8, [x0]
	cbz	w8, LBB0_2
LBB0_1:
	mov	w8, #0
	str	x0, [x19]
	b	LBB0_4
LBB0_2:
	mov	w1, #8
	bl	_getdomainname
	cbz	x0, LBB0_5
; %bb.3:
Lloh2:
	adrp	x8, _YPERR_NODOM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _YPERR_NODOM@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
LBB0_4:
	mov	x0, x8
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x20]
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	__yp_domain,8,3                 ; @_yp_domain
	.comm	_YPERR_NODOM,4,2                ; @YPERR_NODOM
	.no_dead_strip	_yp_get_default_domain_locked
.subsections_via_symbols
