	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function validate
_validate:                              ## @validate
	.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	%rsi, %rbx
	movq	(%rsi), %rsi
	movb	(%rsi), %al
	cmpb	$45, %al
	je	LBB0_2
## %bb.1:
	cmpb	$43, %al
	jne	LBB0_3
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_19:
	xorl	%eax, %eax
	callq	_yp_error
	jmp	LBB0_20
LBB0_3:
	movq	%rdi, %r14
	movq	32(%rbx), %rdx
	cmpq	(%rdi), %rdx
	jne	LBB0_4
## %bb.6:
	movq	24(%rbx), %rdx
	cmpq	8(%r14), %rdx
	jne	LBB0_7
## %bb.8:
	movq	_no_chsh@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_9
LBB0_14:
	movl	12(%rbx), %edi
	callq	_validchars
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.7(%rip), %rdi
	jmp	LBB0_19
LBB0_4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_yp_error
	movl	16(%r14), %esi
	movq	(%r14), %rdx
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_yp_error
	movl	16(%r14), %esi
	movq	8(%r14), %rdx
	leaq	L_.str.4(%rip), %rdi
LBB0_5:
	xorl	%eax, %eax
	callq	_yp_error
LBB0_20:
	movl	$1, %eax
LBB0_21:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movl	16(%rbx), %edi
	callq	_ok_shell
	testl	%eax, %eax
	je	LBB0_10
## %bb.11:
	cmpl	$0, (%r14)
	jne	LBB0_14
## %bb.12:
	movl	16(%rbx), %edi
	callq	_validchars
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.6(%rip), %rdi
	jmp	LBB0_19
LBB0_16:
	movl	8(%rbx), %edi
	callq	_validchars
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	leaq	L_.str.8(%rip), %rdi
	jmp	LBB0_19
LBB0_10:
	movl	16(%rbx), %esi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_yp_error
	jmp	LBB0_20
LBB0_17:
	xorl	%eax, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"client tried to modify an NIS entry"

L_.str.1:                               ## @.str.1
	.asciz	"UID mismatch: client says user %s has UID %d"

L_.str.2:                               ## @.str.2
	.asciz	"database says user %s has UID %d"

L_.str.3:                               ## @.str.3
	.asciz	"GID mismatch: client says user %s has GID %d"

L_.str.4:                               ## @.str.4
	.asciz	"database says user %s has GID %d"

	.comm	_no_chsh,4,2                    ## @no_chsh
L_.str.5:                               ## @.str.5
	.asciz	"%s is not a valid shell"

L_.str.6:                               ## @.str.6
	.asciz	"specified shell contains invalid characters"

L_.str.7:                               ## @.str.7
	.asciz	"specified gecos field contains invalid characters"

L_.str.8:                               ## @.str.8
	.asciz	"specified password contains invalid characters"

	.no_dead_strip	_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function validate
_validate:                              ; @validate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x8, [x1]
	ldrb	w9, [x8]
	cmp	w9, #45
	b.eq	LBB0_2
; %bb.1:
	cmp	w9, #43
	b.ne	LBB0_5
LBB0_2:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
LBB0_3:
	bl	_yp_error
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_5:
	mov	x19, x1
	mov	x20, x0
	ldr	x9, [x1, #32]
	ldr	x10, [x0]
	cmp	x9, x10
	b.ne	LBB0_10
; %bb.6:
	ldr	x9, [x19, #24]
	ldr	x10, [x20, #8]
	cmp	x9, x10
	b.ne	LBB0_11
; %bb.7:
Lloh2:
	adrp	x20, _no_chsh@GOTPAGE
Lloh3:
	ldr	x20, [x20, _no_chsh@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_12
LBB0_8:
	ldr	w0, [x19, #12]
	bl	_validchars
	cbz	x0, LBB0_16
; %bb.9:
Lloh4:
	adrp	x0, l_.str.7@PAGE
Lloh5:
	add	x0, x0, l_.str.7@PAGEOFF
	b	LBB0_3
LBB0_10:
	stp	x8, x9, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_yp_error
	ldr	x8, [x20]
	ldr	w9, [x20, #16]
	stp	x9, x8, [sp]
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_3
LBB0_11:
	stp	x8, x9, [sp]
Lloh10:
	adrp	x0, l_.str.3@PAGE
Lloh11:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_yp_error
	ldr	x8, [x20, #8]
	ldr	w9, [x20, #16]
	stp	x9, x8, [sp]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_12:
	ldr	w0, [x19, #16]
	bl	_ok_shell
	cbz	w0, LBB0_18
; %bb.13:
	ldr	w8, [x20]
	cbnz	w8, LBB0_8
; %bb.14:
	ldr	w0, [x19, #16]
	bl	_validchars
	cbz	x0, LBB0_8
; %bb.15:
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	b	LBB0_3
LBB0_16:
	ldr	w0, [x19, #8]
	bl	_validchars
	cbz	x0, LBB0_4
; %bb.17:
Lloh16:
	adrp	x0, l_.str.8@PAGE
Lloh17:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_3
LBB0_18:
	ldr	w8, [x19, #16]
	str	x8, [sp]
Lloh18:
	adrp	x0, l_.str.5@PAGE
Lloh19:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"client tried to modify an NIS entry"

l_.str.1:                               ; @.str.1
	.asciz	"UID mismatch: client says user %s has UID %d"

l_.str.2:                               ; @.str.2
	.asciz	"database says user %s has UID %d"

l_.str.3:                               ; @.str.3
	.asciz	"GID mismatch: client says user %s has GID %d"

l_.str.4:                               ; @.str.4
	.asciz	"database says user %s has GID %d"

	.comm	_no_chsh,4,2                    ; @no_chsh
l_.str.5:                               ; @.str.5
	.asciz	"%s is not a valid shell"

l_.str.6:                               ; @.str.6
	.asciz	"specified shell contains invalid characters"

l_.str.7:                               ; @.str.7
	.asciz	"specified gecos field contains invalid characters"

l_.str.8:                               ; @.str.8
	.asciz	"specified password contains invalid characters"

	.no_dead_strip	_validate
.subsections_via_symbols
