	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_hmacsha512_sign            ## -- Begin function isc_hmacsha512_sign
	.p2align	4, 0x90
_isc_hmacsha512_sign:                   ## @isc_hmacsha512_sign
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	%rsi, -88(%rbp)                 ## 8-byte Spill
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ISC_SHA512_BLOCK_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r13d
	movq	%r13, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_ISC_SHA512_DIGESTLENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	movl	%ebx, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r12
	xorl	%edi, %edi
	movq	%r15, -96(%rbp)                 ## 8-byte Spill
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	cmpq	%r15, %rbx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	setae	%dil
	callq	_REQUIRE
	leaq	8(%rbx), %r15
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_isc_sha512_final
	movq	_OPAD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%r13, -72(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edx
	callq	_memset
	movq	_ISC_SHA512_BLOCK_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testq	%rax, %rax
	je	LBB0_22
## %bb.1:
	movq	(%rbx), %rcx
	cmpl	$8, %eax
	jb	LBB0_2
## %bb.3:
	leaq	(%rcx,%rax), %rdx
	cmpq	%rdx, %r14
	jae	LBB0_6
## %bb.4:
	movq	%r14, %rdx
	addq	%rax, %rdx
	cmpq	%rdx, %rcx
	jae	LBB0_6
LBB0_2:
	xorl	%edx, %edx
LBB0_18:
	movq	%rdx, %rsi
	notq	%rsi
	addq	%rax, %rsi
	movq	%rax, %rdi
	andq	$3, %rdi
	je	LBB0_20
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rdx), %ebx
	xorb	%bl, (%r14,%rdx)
	incq	%rdx
	decq	%rdi
	jne	LBB0_19
LBB0_20:
	cmpq	$3, %rsi
	jb	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rcx,%rdx), %ebx
	xorb	%bl, (%r14,%rdx)
	movzbl	1(%rcx,%rdx), %ebx
	xorb	%bl, 1(%r14,%rdx)
	movzbl	2(%rcx,%rdx), %ebx
	xorb	%bl, 2(%r14,%rdx)
	movzbl	3(%rcx,%rdx), %ebx
	xorb	%bl, 3(%r14,%rdx)
	addq	$4, %rdx
	cmpq	%rdx, %rax
	jne	LBB0_21
LBB0_22:
	movq	%r15, %rdi
	callq	_isc_sha512_init
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_isc_sha512_update
	movq	_ISC_SHA512_DIGESTLENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_isc_sha512_update
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_isc_sha512_final
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_memcpy
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	-80(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memset
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_25
## %bb.23:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	cmpl	$32, %eax
	jae	LBB0_8
## %bb.7:
	xorl	%edx, %edx
	jmp	LBB0_15
LBB0_8:
	movl	%eax, %edx
	andl	$-32, %edx
	leaq	-32(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$5, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_24
## %bb.9:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rcx,%rsi), %xmm0
	movups	16(%rcx,%rsi), %xmm1
	xorps	(%r14,%rsi), %xmm0
	xorps	16(%r14,%rsi), %xmm1
	movaps	%xmm0, (%r14,%rsi)
	movaps	%xmm1, 16(%r14,%rsi)
	movups	32(%rcx,%rsi), %xmm0
	movups	48(%rcx,%rsi), %xmm1
	xorps	32(%r14,%rsi), %xmm0
	xorps	48(%r14,%rsi), %xmm1
	movaps	%xmm0, 32(%r14,%rsi)
	movaps	%xmm1, 48(%r14,%rsi)
	addq	$64, %rsi
	addq	$-2, %rdi
	jne	LBB0_10
## %bb.11:
	testb	$1, %r8b
	je	LBB0_13
LBB0_12:
	movups	(%rcx,%rsi), %xmm0
	movups	16(%rcx,%rsi), %xmm1
	xorps	(%r14,%rsi), %xmm0
	xorps	16(%r14,%rsi), %xmm1
	movaps	%xmm0, (%r14,%rsi)
	movaps	%xmm1, 16(%r14,%rsi)
LBB0_13:
	cmpq	%rax, %rdx
	je	LBB0_22
## %bb.14:
	testb	$24, %al
	je	LBB0_18
LBB0_15:
	movq	%rdx, %rsi
	movl	%eax, %edx
	andl	$-8, %edx
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rsi), %rdi
	xorq	%rdi, (%r14,%rsi)
	addq	$8, %rsi
	cmpq	%rsi, %rdx
	jne	LBB0_16
## %bb.17:
	cmpq	%rax, %rdx
	je	LBB0_22
	jmp	LBB0_18
LBB0_24:
	xorl	%esi, %esi
	testb	$1, %r8b
	jne	LBB0_12
	jmp	LBB0_13
LBB0_25:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_SHA512_BLOCK_LENGTH,4,2    ## @ISC_SHA512_BLOCK_LENGTH
	.comm	_ISC_SHA512_DIGESTLENGTH,4,2    ## @ISC_SHA512_DIGESTLENGTH
	.comm	_OPAD,4,2                       ## @OPAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_hmacsha512_sign            ; -- Begin function isc_hmacsha512_sign
	.p2align	2
_isc_hmacsha512_sign:                   ; @isc_hmacsha512_sign
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #16
	mov	x19, x2
	mov	x20, x1
	mov	x26, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x28, _ISC_SHA512_BLOCK_LENGTH@GOTPAGE
Lloh4:
	ldr	x28, [x28, _ISC_SHA512_BLOCK_LENGTH@GOTPAGEOFF]
	ldr	w23, [x28]
	mov	x9, x23
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x23, #15
	and	x9, x9, #0x1fffffff0
	sub	x24, x8, x9
	mov	sp, x24
Lloh7:
	adrp	x27, _ISC_SHA512_DIGESTLENGTH@GOTPAGE
Lloh8:
	ldr	x27, [x27, _ISC_SHA512_DIGESTLENGTH@GOTPAGEOFF]
	ldrsw	x21, [x27]
	and	x8, x21, #0xffffffff
	mov	x9, x8
Lloh9:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh10:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x22, x9, x8
	mov	sp, x22
	cmp	x21, x2
	cset	w0, hs
	bl	_REQUIRE
	add	x25, x26, #8
	mov	x0, x22
	mov	x1, x25
	bl	_isc_sha512_final
Lloh11:
	adrp	x8, _OPAD@GOTPAGE
Lloh12:
	ldr	x8, [x8, _OPAD@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x24
	mov	x2, x23
	bl	_memset
	ldr	w8, [x28]
	cbz	w8, LBB0_8
; %bb.1:
	ldr	x9, [x26]
	cmp	w8, #8
	b.lo	LBB0_5
; %bb.2:
	add	x10, x24, x8
	add	x11, x9, x8
	cmp	x24, x11
	ccmp	x9, x10, #2, lo
	b.lo	LBB0_5
; %bb.3:
	cmp	w8, #64
	b.hs	LBB0_10
; %bb.4:
	mov	x10, #0
	b	LBB0_14
LBB0_5:
	mov	x10, #0
LBB0_6:
	add	x9, x9, x10
	add	x11, x24, x10
	sub	x8, x8, x10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w10, [x9], #1
	ldrb	w12, [x11]
	eor	w10, w12, w10
	strb	w10, [x11], #1
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	mov	x0, x25
	bl	_isc_sha512_init
	mov	x0, x25
	mov	x1, x24
	mov	x2, x23
	bl	_isc_sha512_update
	ldr	w2, [x27]
	mov	x0, x25
	mov	x1, x22
	bl	_isc_sha512_update
	mov	x0, x22
	mov	x1, x25
	bl	_isc_sha512_final
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_memcpy
	mov	x0, x22
	mov	w1, #0
	mov	x2, x21
	bl	_memset
	ldur	x8, [x29, #-88]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_17
; %bb.9:
	sub	sp, x29, #80
	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
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_10:
	and	x10, x8, #0xffffffc0
	add	x11, x24, #32
	add	x12, x9, #32
	mov	x13, x10
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11]
	eor.16b	v0, v4, v0
	eor.16b	v1, v5, v1
	eor.16b	v2, v6, v2
	eor.16b	v3, v7, v3
	stp	q0, q1, [x11, #-32]
	stp	q2, q3, [x11], #64
	subs	x13, x13, #64
	b.ne	LBB0_11
; %bb.12:
	cmp	x10, x8
	b.eq	LBB0_8
; %bb.13:
	tst	x8, #0x38
	b.eq	LBB0_6
LBB0_14:
	mov	x13, x10
	and	x10, x8, #0xfffffff8
	add	x11, x9, x13
	add	x12, x24, x13
	sub	x13, x13, x10
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	d0, [x11], #8
	ldr	d1, [x12]
	eor.8b	v0, v1, v0
	str	d0, [x12], #8
	adds	x13, x13, #8
	b.ne	LBB0_15
; %bb.16:
	cmp	x10, x8
	b.eq	LBB0_8
	b	LBB0_6
LBB0_17:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_SHA512_BLOCK_LENGTH,4,2    ; @ISC_SHA512_BLOCK_LENGTH
	.comm	_ISC_SHA512_DIGESTLENGTH,4,2    ; @ISC_SHA512_DIGESTLENGTH
	.comm	_OPAD,4,2                       ; @OPAD
.subsections_via_symbols
