	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GenerateAuthenticatorResponse  ## -- Begin function GenerateAuthenticatorResponse
	.p2align	4, 0x90
_GenerateAuthenticatorResponse:         ## @GenerateAuthenticatorResponse
	.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
	subq	$184, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -208(%rbp)                 ## 8-byte Spill
	movq	%r8, -200(%rbp)                 ## 8-byte Spill
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movq	%rdx, -184(%rbp)                ## 8-byte Spill
	movl	%esi, %ebx
	movq	%rdi, %r15
	movq	%rsp, -216(%rbp)                ## 8-byte Spill
	movq	16(%rbp), %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SHA_DIGEST_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movaps	l___const.GenerateAuthenticatorResponse.Magic1+16(%rip), %xmm0
	movaps	%xmm0, -112(%rbp)
	movaps	l___const.GenerateAuthenticatorResponse.Magic1(%rip), %xmm0
	movaps	%xmm0, -128(%rbp)
	movabsq	$8389750308618530659, %rax      ## imm = 0x746E6174736E6F63
	movq	%rax, -97(%rbp)
	movups	l___const.GenerateAuthenticatorResponse.Magic2+25(%rip), %xmm0
	movups	%xmm0, -151(%rbp)
	movaps	l___const.GenerateAuthenticatorResponse.Magic2+16(%rip), %xmm0
	movaps	%xmm0, -160(%rbp)
	movaps	l___const.GenerateAuthenticatorResponse.Magic2(%rip), %xmm0
	movaps	%xmm0, -176(%rbp)
	leaq	-64(%rbp), %r12
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%r12, %rdx
	callq	_NtPasswordHash
	leaq	-80(%rbp), %r15
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_HashNtPasswordHash
	leaq	-220(%rbp), %r12
	movq	%r12, %rdi
	callq	_SHA1_Init
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$16, %edx
	callq	_SHA1_Update
	movq	%r12, %rdi
	movq	-184(%rbp), %rsi                ## 8-byte Reload
	movl	$24, %edx
	callq	_SHA1_Update
	leaq	-128(%rbp), %rsi
	movq	%r12, %rdi
	movl	$39, %edx
	callq	_SHA1_Update
	movq	%r14, %rbx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_SHA1_Final
	leaq	-88(%rbp), %r14
	movq	-192(%rbp), %rdi                ## 8-byte Reload
	movq	-200(%rbp), %rsi                ## 8-byte Reload
	movq	-208(%rbp), %rdx                ## 8-byte Reload
	movq	%r14, %rcx
	callq	_ChallengeHash
	movq	%r12, %rdi
	callq	_SHA1_Init
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	$20, %edx
	callq	_SHA1_Update
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$8, %edx
	callq	_SHA1_Update
	leaq	-176(%rbp), %rsi
	movq	%r12, %rdi
	movl	$41, %edx
	callq	_SHA1_Update
	movw	$15699, (%r13)                  ## imm = 0x3D53
	leaq	2(%r13), %rsi
	movq	%r12, %rdi
	callq	_SHA1_End
	movl	$2, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%r13,%rbx), %edi
	callq	_toupper
	movb	%al, (%r13,%rbx)
	incq	%rbx
	cmpq	$42, %rbx
	jne	LBB0_1
## %bb.2:
	movq	-216(%rbp), %rsp                ## 8-byte Reload
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_4
## %bb.3:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SHA_DIGEST_LENGTH,4,2          ## @SHA_DIGEST_LENGTH
	.section	__TEXT,__const
	.p2align	4                               ## @__const.GenerateAuthenticatorResponse.Magic1
l___const.GenerateAuthenticatorResponse.Magic1:
	.ascii	"Magic server to client signing constant"

	.p2align	4                               ## @__const.GenerateAuthenticatorResponse.Magic2
l___const.GenerateAuthenticatorResponse.Magic2:
	.ascii	"Pad to make it do more than one iteration"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_GenerateAuthenticatorResponse  ; -- Begin function GenerateAuthenticatorResponse
	.p2align	2
_GenerateAuthenticatorResponse:         ; @GenerateAuthenticatorResponse
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	sub	sp, sp, #160
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x25, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _SHA_DIGEST_LENGTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SHA_DIGEST_LENGTH@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	x23, x9, x8
	mov	sp, x23
Lloh8:
	adrp	x8, l___const.GenerateAuthenticatorResponse.Magic1@PAGE
Lloh9:
	add	x8, x8, l___const.GenerateAuthenticatorResponse.Magic1@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [x29, #-160]
	ldur	x8, [x8, #31]
	stur	x8, [x29, #-129]
Lloh10:
	adrp	x8, l___const.GenerateAuthenticatorResponse.Magic2@PAGE
Lloh11:
	add	x8, x8, l___const.GenerateAuthenticatorResponse.Magic2@PAGEOFF
	ldp	q0, q1, [x8]
	stp	q0, q1, [x29, #-208]
	ldur	q0, [x8, #25]
	stur	q0, [x29, #-183]
	sub	x2, x29, #88
	bl	_NtPasswordHash
	sub	x0, x29, #88
	sub	x1, x29, #104
	bl	_HashNtPasswordHash
	sub	x0, x29, #212
	bl	_SHA1_Init
	sub	x0, x29, #212
	sub	x1, x29, #104
	mov	w2, #16
	bl	_SHA1_Update
	sub	x0, x29, #212
	mov	x1, x24
	mov	w2, #24
	bl	_SHA1_Update
	sub	x0, x29, #212
	sub	x1, x29, #160
	mov	w2, #39
	bl	_SHA1_Update
	sub	x1, x29, #212
	mov	x0, x23
	bl	_SHA1_Final
	sub	x3, x29, #112
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_ChallengeHash
	sub	x0, x29, #212
	bl	_SHA1_Init
	sub	x0, x29, #212
	mov	x1, x23
	mov	w2, #20
	bl	_SHA1_Update
	sub	x0, x29, #212
	sub	x1, x29, #112
	mov	w2, #8
	bl	_SHA1_Update
	sub	x0, x29, #212
	sub	x1, x29, #208
	mov	w2, #41
	bl	_SHA1_Update
	mov	w8, #15699
	mov	x1, x19
	strh	w8, [x1], #2
	sub	x0, x29, #212
	bl	_SHA1_End
	mov	w20, #2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrsb	w0, [x19, x20]
	bl	_toupper
	strb	w0, [x19, x20]
	add	x20, x20, #1
	cmp	x20, #42
	b.ne	LBB0_1
; %bb.2:
	mov	sp, x25
	ldur	x8, [x29, #-72]
Lloh12:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh13:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_4
; %bb.3:
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_4:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_SHA_DIGEST_LENGTH,4,2          ; @SHA_DIGEST_LENGTH
	.section	__TEXT,__const
l___const.GenerateAuthenticatorResponse.Magic1: ; @__const.GenerateAuthenticatorResponse.Magic1
	.ascii	"Magic server to client signing constant"

l___const.GenerateAuthenticatorResponse.Magic2: ; @__const.GenerateAuthenticatorResponse.Magic2
	.ascii	"Pad to make it do more than one iteration"

.subsections_via_symbols
