	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_new_key_from_sha
_get_new_key_from_sha:                  ## @get_new_key_from_sha
	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-64(%rbp), %r14
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_sg_init_table
	movl	(%r15), %edx
	movl	16(%r15), %esi
	movq	%r14, %rdi
	callq	_setup_sg
	movl	%eax, %ebx
	leaq	-60(%rbp), %rdi
	movq	_sha_pad@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	4(%rax), %esi
	movl	$4, %edx
	callq	_setup_sg
	addl	%eax, %ebx
	leaq	-56(%rbp), %rdi
	movl	(%r15), %edx
	movl	12(%r15), %esi
	callq	_setup_sg
	addl	%eax, %ebx
	leaq	-52(%rbp), %rdi
	movq	(%r12), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_setup_sg
	addl	%eax, %ebx
	movl	8(%r15), %eax
	movl	%eax, -72(%rbp)
	movq	$0, -80(%rbp)
	movl	4(%r15), %ecx
	leaq	-80(%rbp), %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_crypto_hash_digest
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_sha_pad,8,3                    ## @sha_pad
	.no_dead_strip	_get_new_key_from_sha
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_new_key_from_sha
_get_new_key_from_sha:                  ; @get_new_key_from_sha
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	add	x21, sp, #24
	add	x0, sp, #24
	mov	w1, #4
	bl	_sg_init_table
	ldr	w1, [x19, #16]
	ldr	w2, [x19]
	add	x0, sp, #24
	bl	_setup_sg
	mov	x20, x0
	orr	x0, x21, #0x4
Lloh3:
	adrp	x22, _sha_pad@GOTPAGE
Lloh4:
	ldr	x22, [x22, _sha_pad@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	mov	w2, #4
	bl	_setup_sg
	add	w20, w0, w20
	add	x0, x21, #8
	ldr	w1, [x19, #12]
	ldr	w2, [x19]
	bl	_setup_sg
	add	w20, w20, w0
	add	x0, x21, #12
	ldr	x8, [x22]
	ldr	w1, [x8]
	mov	w2, #4
	bl	_setup_sg
	add	w2, w20, w0
	ldp	w3, w8, [x19, #4]
	str	w8, [sp, #16]
	str	xzr, [sp, #8]
	add	x0, sp, #8
	add	x1, sp, #24
	bl	_crypto_hash_digest
	ldr	x8, [sp, #40]
Lloh5:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_sha_pad,8,3                    ; @sha_pad
	.no_dead_strip	_get_new_key_from_sha
.subsections_via_symbols
