	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function authdes_validate
_authdes_validate:                      ## @authdes_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
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_AUTH_PRIVATE
	movq	_BYTES_PER_XDR_UNIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%rax,%rax,2), %eax
	cmpl	%eax, (%rbx)
	jne	LBB0_5
## %bb.1:
	movq	8(%rbx), %rax
	movq	(%rax), %rcx
	movq	%rcx, -24(%rbp)
	movq	8(%rax), %rcx
	movq	%rcx, -32(%rbp)
	movq	16(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_DES_DECRYPT@GOTPCREL(%rip), %rax
	movq	_DES_HW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	leaq	-40(%rbp), %rsi
	movq	%r14, %rdi
	movl	$24, %edx
	callq	_ecb_crypt
	movl	%eax, %edi
	callq	_DES_FAILED
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_LOG_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_4
LBB0_3:
	movq	-40(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_IXDR_GET_INT32
	incq	%rax
	movq	%rax, -56(%rbp)
	movq	%rbx, %rdi
	callq	_IXDR_GET_INT32
	movq	%rax, -64(%rbp)
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
LBB0_4:
	callq	_syslog
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BYTES_PER_XDR_UNIT,4,2         ## @BYTES_PER_XDR_UNIT
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_DES_DECRYPT,4,2                ## @DES_DECRYPT
	.comm	_DES_HW,4,2                     ## @DES_HW
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"authdes_validate: DES decryption failure"

	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"authdes_validate: verifier mismatch"

	.comm	_ADN_NICKNAME,4,2               ## @ADN_NICKNAME
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_authdes_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function authdes_validate
_authdes_validate:                      ; @authdes_validate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x1
	mov	x19, x0
	bl	_AUTH_PRIVATE
	ldr	w8, [x20]
Lloh0:
	adrp	x9, _BYTES_PER_XDR_UNIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _BYTES_PER_XDR_UNIT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	add	w9, w9, w9, lsl #1
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.1:
	ldr	x8, [x20, #8]
	ldr	x9, [x8]
	str	x9, [sp, #24]
	ldp	x9, x8, [x8, #8]
	str	x9, [sp, #16]
Lloh3:
	adrp	x9, _DES_DECRYPT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DES_DECRYPT@GOTPAGEOFF]
	str	x8, [sp, #56]
Lloh5:
	ldr	w8, [x9]
Lloh6:
	adrp	x9, _DES_HW@GOTPAGE
Lloh7:
	ldr	x9, [x9, _DES_HW@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w3, w9, w8
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #24
	bl	_ecb_crypt
	bl	_DES_FAILED
	cbz	x0, LBB0_3
; %bb.2:
Lloh9:
	adrp	x8, _LOG_ERR@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOG_ERR@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_4
LBB0_3:
	ldr	x19, [sp, #8]
	mov	x0, x19
	bl	_IXDR_GET_INT32
	add	x8, x0, #1
	str	x8, [sp, #48]
	mov	x0, x19
	bl	_IXDR_GET_INT32
	str	x0, [sp, #40]
Lloh14:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
Lloh17:
	adrp	x1, l_.str.1@PAGE
Lloh18:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_4:
	bl	_syslog
LBB0_5:
Lloh19:
	adrp	x8, _FALSE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_BYTES_PER_XDR_UNIT,4,2         ; @BYTES_PER_XDR_UNIT
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_DES_DECRYPT,4,2                ; @DES_DECRYPT
	.comm	_DES_HW,4,2                     ; @DES_HW
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"authdes_validate: DES decryption failure"

	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"authdes_validate: verifier mismatch"

	.comm	_ADN_NICKNAME,4,2               ; @ADN_NICKNAME
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_authdes_validate
.subsections_via_symbols
