	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ypbindproc_domain_2_yp
_ypbindproc_domain_2_yp:                ## @ypbindproc_domain_2_yp
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_MAXPATHLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	leaq	_ypbindproc_domain_2_yp.res(%rip), %rdi
	movl	$80, %esi
	callq	_bzero
	movq	_YPBIND_FAIL_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _ypbindproc_domain_2_yp.res+40(%rip)
	movq	_YPBIND_ERR_NOSERV@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, _ypbindproc_domain_2_yp.res+32(%rip)
	movl	(%r15), %edi
	movl	$47, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_8
LBB0_1:
	movq	_ypbindlist@GOTPCREL(%rip), %r12
	movq	(%r12), %rbx
	testq	%rbx, %rbx
	je	LBB0_5
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	48(%rbx), %rbx
	testq	%rbx, %rbx
	jne	LBB0_3
LBB0_5:
	movq	_yp_restricted@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.6:
	movq	_LOG_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str.1(%rip), %rsi
LBB0_8:
	xorl	%eax, %eax
	callq	_syslog
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	leaq	_ypbindproc_domain_2_yp.res(%rip), %rax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_domains@GOTPCREL(%rip), %r13
	movq	_MAX_DOMAINS@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	cmpq	%rdx, (%r13)
	jge	LBB0_10
## %bb.12:
	movl	(%r15), %edi
	callq	_strlen
	movq	_YPMAXDOMAIN@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jle	LBB0_14
## %bb.13:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r15), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_11
LBB0_10:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
LBB0_11:
	movq	_YPBIND_ERR_RESC@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, _ypbindproc_domain_2_yp.res+32(%rip)
	jmp	LBB0_19
LBB0_14:
	movl	$80, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%rax, %rbx
	movq	%rax, %rdi
	movl	$80, %esi
	callq	_bzero
	movq	(%rbx), %rdi
	movl	(%r15), %esi
	movl	$8, %edx
	callq	_strlcpy
	movq	_YPVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%r8d, 56(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 64(%rbx)
	movl	$-1, 8(%rbx)
	movq	_BINDINGDIR@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	(%rbx), %rcx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	callq	_sprintf
	movq	%r14, %rdi
	callq	_unlink
	movq	(%r12), %rax
	movq	%rax, 48(%rbx)
	movq	%rbx, (%r12)
	incq	(%r13)
LBB0_17:
	movq	%rbx, %rdi
	callq	_ping
	testq	%rax, %rax
	jne	LBB0_19
## %bb.18:
	movq	_YPBIND_SUCC_VAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, _ypbindproc_domain_2_yp.res+40(%rip)
	movq	$0, _ypbindproc_domain_2_yp.res+32(%rip)
	leaq	_ypbindproc_domain_2_yp.res+24(%rip), %r14
	leaq	12(%rbx), %r15
	addq	$16, %rbx
	leaq	_ypbindproc_domain_2_yp.res+28(%rip), %rdi
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	jmp	LBB0_19
LBB0_15:
	movq	_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_syslog
	jmp	LBB0_11
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_ypbindproc_domain_2_yp.res,80,3 ## @ypbindproc_domain_2_yp.res
	.comm	_MAXPATHLEN,4,2                 ## @MAXPATHLEN
	.comm	_YPBIND_FAIL_VAL,4,2            ## @YPBIND_FAIL_VAL
	.comm	_YPBIND_ERR_NOSERV,8,3          ## @YPBIND_ERR_NOSERV
	.comm	_LOG_WARNING,4,2                ## @LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Domain name '%s' has embedded slash -- rejecting."

	.comm	_ypbindlist,8,3                 ## @ypbindlist
	.comm	_yp_restricted,8,3              ## @yp_restricted
	.comm	_LOG_NOTICE,4,2                 ## @LOG_NOTICE
L_.str.1:                               ## @.str.1
	.asciz	"Running in restricted mode -- request to bind domain \"%s\" rejected.\n"

	.comm	_domains,8,3                    ## @domains
	.comm	_MAX_DOMAINS,8,3                ## @MAX_DOMAINS
L_.str.2:                               ## @.str.2
	.asciz	"domain limit (%d) exceeded"

	.comm	_YPBIND_ERR_RESC,8,3            ## @YPBIND_ERR_RESC
	.comm	_YPMAXDOMAIN,8,3                ## @YPMAXDOMAIN
L_.str.3:                               ## @.str.3
	.asciz	"domain %s too long"

L_.str.4:                               ## @.str.4
	.asciz	"malloc: %m"

	.comm	_YPVERS,4,2                     ## @YPVERS
L_.str.5:                               ## @.str.5
	.asciz	"%s/%s.%ld"

	.comm	_BINDINGDIR,8,3                 ## @BINDINGDIR
	.comm	_YPBIND_SUCC_VAL,4,2            ## @YPBIND_SUCC_VAL
	.no_dead_strip	_ypbindproc_domain_2_yp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ypbindproc_domain_2_yp
_ypbindproc_domain_2_yp:                ; @ypbindproc_domain_2_yp
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	sub	sp, sp, #16
	mov	x20, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x8, _MAXPATHLEN@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXPATHLEN@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
Lloh8:
	adrp	x21, _ypbindproc_domain_2_yp.res@PAGE
Lloh9:
	add	x21, x21, _ypbindproc_domain_2_yp.res@PAGEOFF
	mov	x0, x21
	mov	w1, #80
	bl	_bzero
Lloh10:
	adrp	x8, _YPBIND_FAIL_VAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _YPBIND_FAIL_VAL@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	str	w8, [x21, #40]
Lloh13:
	adrp	x8, _YPBIND_ERR_NOSERV@GOTPAGE
Lloh14:
	ldr	x8, [x8, _YPBIND_ERR_NOSERV@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	str	x8, [x21, #32]
	ldr	w0, [x20]
	mov	w1, #47
	bl	_strchr
	cbz	x0, LBB0_2
; %bb.1:
Lloh16:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh17:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp, #-16]!
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_7
LBB0_2:
Lloh21:
	adrp	x22, _ypbindlist@GOTPAGE
Lloh22:
	ldr	x22, [x22, _ypbindlist@GOTPAGEOFF]
	ldr	x21, [x22]
	cbz	x21, LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x21]
	ldr	w1, [x20]
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x21, [x21, #48]
	cbnz	x21, LBB0_3
LBB0_5:
Lloh23:
	adrp	x8, _yp_restricted@GOTPAGE
Lloh24:
	ldr	x8, [x8, _yp_restricted@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.6:
Lloh26:
	adrp	x8, _LOG_NOTICE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _LOG_NOTICE@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp, #-16]!
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_7:
	bl	_syslog
	add	sp, sp, #16
LBB0_8:
	ldur	x8, [x29, #-56]
Lloh31:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh32:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh33:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_21
; %bb.9:
Lloh34:
	adrp	x0, _ypbindproc_domain_2_yp.res@PAGE
Lloh35:
	add	x0, x0, _ypbindproc_domain_2_yp.res@PAGEOFF
	sub	sp, x29, #48
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh36:
	adrp	x23, _domains@GOTPAGE
Lloh37:
	ldr	x23, [x23, _domains@GOTPAGEOFF]
	ldr	x9, [x23]
Lloh38:
	adrp	x8, _MAX_DOMAINS@GOTPAGE
Lloh39:
	ldr	x8, [x8, _MAX_DOMAINS@GOTPAGEOFF]
Lloh40:
	ldr	x8, [x8]
	cmp	x9, x8
	b.ge	LBB0_13
; %bb.11:
	ldr	w0, [x20]
	bl	_strlen
Lloh41:
	adrp	x8, _YPMAXDOMAIN@GOTPAGE
Lloh42:
	ldr	x8, [x8, _YPMAXDOMAIN@GOTPAGEOFF]
Lloh43:
	ldr	x8, [x8]
	cmp	x0, x8
	b.le	LBB0_16
; %bb.12:
Lloh44:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh45:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh46:
	ldr	w0, [x8]
	ldr	w8, [x20]
	str	x8, [sp, #-16]!
Lloh47:
	adrp	x1, l_.str.3@PAGE
Lloh48:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_13:
Lloh49:
	adrp	x9, _LOG_WARNING@GOTPAGE
Lloh50:
	ldr	x9, [x9, _LOG_WARNING@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x9]
	str	x8, [sp, #-16]!
Lloh52:
	adrp	x1, l_.str.2@PAGE
Lloh53:
	add	x1, x1, l_.str.2@PAGEOFF
LBB0_14:
	bl	_syslog
	add	sp, sp, #16
LBB0_15:
Lloh54:
	adrp	x8, _YPBIND_ERR_RESC@GOTPAGE
Lloh55:
	ldr	x8, [x8, _YPBIND_ERR_RESC@GOTPAGEOFF]
Lloh56:
	ldr	x8, [x8]
	adrp	x9, _ypbindproc_domain_2_yp.res@PAGE+32
	str	x8, [x9, _ypbindproc_domain_2_yp.res@PAGEOFF+32]
	b	LBB0_8
LBB0_16:
	mov	w0, #80
	bl	_malloc
	cbz	x0, LBB0_20
; %bb.17:
	mov	x21, x0
	mov	w1, #80
	bl	_bzero
	ldr	x0, [x21]
	ldr	w1, [x20]
	mov	w2, #8
	bl	_strlcpy
Lloh57:
	adrp	x8, _YPVERS@GOTPAGE
Lloh58:
	ldr	x8, [x8, _YPVERS@GOTPAGEOFF]
Lloh59:
	ldr	w4, [x8]
	str	w4, [x21, #56]
	stp	xzr, xzr, [x21, #64]
	mov	w8, #-1
	str	w8, [x21, #8]
Lloh60:
	adrp	x8, _BINDINGDIR@GOTPAGE
Lloh61:
	ldr	x8, [x8, _BINDINGDIR@GOTPAGEOFF]
Lloh62:
	ldr	x2, [x8]
	ldr	x3, [x21]
Lloh63:
	adrp	x1, l_.str.5@PAGE
Lloh64:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	bl	_sprintf
	mov	x0, x19
	bl	_unlink
	ldr	x8, [x22]
	str	x8, [x21, #48]
	str	x21, [x22]
	ldr	x8, [x23]
	add	x8, x8, #1
	str	x8, [x23]
LBB0_18:
	mov	x0, x21
	bl	_ping
	cbnz	x0, LBB0_8
; %bb.19:
Lloh65:
	adrp	x8, _YPBIND_SUCC_VAL@GOTPAGE
Lloh66:
	ldr	x8, [x8, _YPBIND_SUCC_VAL@GOTPAGEOFF]
Lloh67:
	ldr	w8, [x8]
Lloh68:
	adrp	x19, _ypbindproc_domain_2_yp.res@PAGE+24
Lloh69:
	add	x19, x19, _ypbindproc_domain_2_yp.res@PAGEOFF+24
	str	w8, [x19, #16]
	str	xzr, [x19, #8]
	add	x20, x21, #12
	add	x1, x21, #16
	add	x0, x19, #4
	mov	w2, #4
	bl	_memcpy
	mov	x0, x19
	mov	x1, x20
	mov	w2, #4
	bl	_memcpy
	b	LBB0_8
LBB0_20:
Lloh70:
	adrp	x8, _LOG_WARNING@GOTPAGE
Lloh71:
	ldr	x8, [x8, _LOG_WARNING@GOTPAGEOFF]
Lloh72:
	ldr	w0, [x8]
Lloh73:
	adrp	x1, l_.str.4@PAGE
Lloh74:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_syslog
	b	LBB0_15
LBB0_21:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh63, Lloh64
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh65, Lloh66, Lloh67
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_ypbindproc_domain_2_yp.res,80,3 ; @ypbindproc_domain_2_yp.res
	.comm	_MAXPATHLEN,4,2                 ; @MAXPATHLEN
	.comm	_YPBIND_FAIL_VAL,4,2            ; @YPBIND_FAIL_VAL
	.comm	_YPBIND_ERR_NOSERV,8,3          ; @YPBIND_ERR_NOSERV
	.comm	_LOG_WARNING,4,2                ; @LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Domain name '%s' has embedded slash -- rejecting."

	.comm	_ypbindlist,8,3                 ; @ypbindlist
	.comm	_yp_restricted,8,3              ; @yp_restricted
	.comm	_LOG_NOTICE,4,2                 ; @LOG_NOTICE
l_.str.1:                               ; @.str.1
	.asciz	"Running in restricted mode -- request to bind domain \"%s\" rejected.\n"

	.comm	_domains,8,3                    ; @domains
	.comm	_MAX_DOMAINS,8,3                ; @MAX_DOMAINS
l_.str.2:                               ; @.str.2
	.asciz	"domain limit (%d) exceeded"

	.comm	_YPBIND_ERR_RESC,8,3            ; @YPBIND_ERR_RESC
	.comm	_YPMAXDOMAIN,8,3                ; @YPMAXDOMAIN
l_.str.3:                               ; @.str.3
	.asciz	"domain %s too long"

l_.str.4:                               ; @.str.4
	.asciz	"malloc: %m"

	.comm	_YPVERS,4,2                     ; @YPVERS
l_.str.5:                               ; @.str.5
	.asciz	"%s/%s.%ld"

	.comm	_BINDINGDIR,8,3                 ; @BINDINGDIR
	.comm	_YPBIND_SUCC_VAL,4,2            ; @YPBIND_SUCC_VAL
	.no_dead_strip	_ypbindproc_domain_2_yp
.subsections_via_symbols
