	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function yp_checkauth
_yp_checkauth:                          ## @yp_checkauth
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	8(%rdi), %eax
	leal	-128(%rax), %ecx
	cmpl	$2, %ecx
	jae	LBB0_2
## %bb.1:
	movq	_AUTH_TOOWEAK@GOTPCREL(%rip), %rbx
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_7
LBB0_2:
	cmpl	$130, %eax
	jne	LBB0_6
## %bb.3:
	movq	(%rdi), %rax
	movl	(%rax), %eax
	movq	_WINDOW@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jle	LBB0_4
## %bb.5:
	movq	_AUTH_BADCRED@GOTPCREL(%rip), %rbx
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_7
LBB0_6:
	movq	_AUTH_REJECTEDCRED@GOTPCREL(%rip), %rbx
	leaq	L_.str.2(%rip), %rdi
LBB0_7:
	callq	_yp_error
LBB0_8:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	movq	_AUTH_OK@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_WINDOW,4,2                     ## @WINDOW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"warning: client-specified window size was too large -- possible spoof attempt"

	.comm	_AUTH_BADCRED,4,2               ## @AUTH_BADCRED
	.comm	_AUTH_OK,4,2                    ## @AUTH_OK
L_.str.1:                               ## @.str.1
	.asciz	"warning: client didn't use DES authentication"

	.comm	_AUTH_TOOWEAK,4,2               ## @AUTH_TOOWEAK
L_.str.2:                               ## @.str.2
	.asciz	"client used unknown auth flavor"

	.comm	_AUTH_REJECTEDCRED,4,2          ## @AUTH_REJECTEDCRED
	.no_dead_strip	_yp_checkauth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function yp_checkauth
_yp_checkauth:                          ; @yp_checkauth
	.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
	ldr	w8, [x0, #8]
	sub	w9, w8, #128
	cmp	w9, #2
	b.hs	LBB0_2
; %bb.1:
Lloh0:
	adrp	x19, _AUTH_TOOWEAK@GOTPAGE
Lloh1:
	ldr	x19, [x19, _AUTH_TOOWEAK@GOTPAGEOFF]
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_6
LBB0_2:
	cmp	w8, #130
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _WINDOW@GOTPAGE
Lloh5:
	ldr	x9, [x9, _WINDOW@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	cmp	w8, w9
	b.le	LBB0_8
; %bb.4:
Lloh7:
	adrp	x19, _AUTH_BADCRED@GOTPAGE
Lloh8:
	ldr	x19, [x19, _AUTH_BADCRED@GOTPAGEOFF]
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_6
LBB0_5:
Lloh11:
	adrp	x19, _AUTH_REJECTEDCRED@GOTPAGE
Lloh12:
	ldr	x19, [x19, _AUTH_REJECTEDCRED@GOTPAGEOFF]
Lloh13:
	adrp	x0, l_.str.2@PAGE
Lloh14:
	add	x0, x0, l_.str.2@PAGEOFF
LBB0_6:
	bl	_yp_error
LBB0_7:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh15:
	adrp	x19, _AUTH_OK@GOTPAGE
Lloh16:
	ldr	x19, [x19, _AUTH_OK@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_WINDOW,4,2                     ; @WINDOW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"warning: client-specified window size was too large -- possible spoof attempt"

	.comm	_AUTH_BADCRED,4,2               ; @AUTH_BADCRED
	.comm	_AUTH_OK,4,2                    ; @AUTH_OK
l_.str.1:                               ; @.str.1
	.asciz	"warning: client didn't use DES authentication"

	.comm	_AUTH_TOOWEAK,4,2               ; @AUTH_TOOWEAK
l_.str.2:                               ; @.str.2
	.asciz	"client used unknown auth flavor"

	.comm	_AUTH_REJECTEDCRED,4,2          ; @AUTH_REJECTEDCRED
	.no_dead_strip	_yp_checkauth
.subsections_via_symbols
