	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function derive
_derive:                                ## @derive
	.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	%r9, -72(%rbp)                  ## 8-byte Spill
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	32(%rbp), %rdi
	movb	$0, -41(%rbp)
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.1:
	movq	%rdx, %rsi
	movq	%r15, %rdx
	callq	_memcpy
LBB0_2:
	cmpq	$0, 64(%rbp)
	je	LBB0_14
## %bb.3:
	movl	$1, %r14d
	movq	64(%rbp), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%r13d, %r13d
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r14d, %edi
	callq	_be32
	movl	%eax, -48(%rbp)
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_MAC_CTX_dup
	testq	%rax, %rax
	je	LBB0_16
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %r12
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	_FEEDBACK@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	32(%rbp), %rsi
	movl	%r15d, %edx
	callq	_EVP_MAC_update
	testl	%eax, %eax
	je	LBB0_17
LBB0_7:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	-48(%rbp), %rsi
	movl	$4, %edx
	callq	_EVP_MAC_update
	testl	%eax, %eax
	je	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_MAC_update
	testl	%eax, %eax
	je	LBB0_17
## %bb.9:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	-41(%rbp), %rsi
	movl	$1, %edx
	callq	_EVP_MAC_update
	testl	%eax, %eax
	je	LBB0_17
## %bb.10:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	16(%rbp), %rsi
	movq	24(%rbp), %rdx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_EVP_MAC_update
	testl	%eax, %eax
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	leaq	48(%rbp), %rsi
	movl	$4, %edx
	callq	_EVP_MAC_update
	testl	%eax, %eax
	je	LBB0_17
## %bb.12:                              ##   in Loop: Header=BB0_4 Depth=1
	movl	%r14d, %r15d
	movq	%r12, %rdi
	movq	32(%rbp), %rsi
	xorl	%edx, %edx
	movq	40(%rbp), %rbx
	movq	%rbx, %rcx
	callq	_EVP_MAC_final
	testl	%eax, %eax
	je	LBB0_17
## %bb.13:                              ##   in Loop: Header=BB0_4 Depth=1
	movq	%rbx, %rsi
	movq	56(%rbp), %rax
	leaq	(%rax,%r13), %r14
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_MIN
	movq	%r14, %rdi
	movq	32(%rbp), %rsi
	movq	%rax, %rdx
	callq	_memcpy
	addq	40(%rbp), %r13
	movq	%r12, %rdi
	callq	_EVP_MAC_CTX_free
	movl	%r15d, %r14d
	incl	%r14d
	movq	40(%rbp), %r15
	subq	%r15, %rbx
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	cmpq	64(%rbp), %r13
	jb	LBB0_4
LBB0_14:
	movl	$1, %ebx
	xorl	%r12d, %r12d
	jmp	LBB0_15
LBB0_16:
	xorl	%r12d, %r12d
LBB0_17:
	xorl	%ebx, %ebx
LBB0_15:
	movq	%r12, %rdi
	callq	_EVP_MAC_CTX_free
	movl	%ebx, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FEEDBACK,8,3                   ## @FEEDBACK
	.no_dead_strip	_derive
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function derive
_derive:                                ; @derive
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	stp	x6, x7, [sp, #8]                ; 16-byte Folded Spill
	stp	x4, x5, [sp, #24]               ; 16-byte Folded Spill
	mov	x27, x3
	mov	x23, x1
	mov	x24, x0
	ldr	x21, [x29, #48]
	ldr	x26, [x29, #16]
	strb	wzr, [sp, #47]
	cbz	x3, LBB0_2
; %bb.1:
	mov	x0, x26
	mov	x1, x2
	mov	x2, x27
	bl	_memcpy
LBB0_2:
	cbz	x21, LBB0_14
; %bb.3:
	mov	x22, #0
	ldr	x20, [x29, #24]
	ldr	x8, [x29, #40]
	str	x8, [sp]                        ; 8-byte Folded Spill
	mov	w28, #1
	mov	x19, x21
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x28
	bl	_be32
	str	w0, [sp, #40]
	mov	x0, x24
	bl	_EVP_MAC_CTX_dup
	mov	x25, x0
	cbz	x0, LBB0_15
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh0:
	adrp	x8, _FEEDBACK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FEEDBACK@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x23
	b.ne	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	mov	x1, x26
	mov	x2, x27
	bl	_EVP_MAC_update
	cbz	w0, LBB0_15
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #40
	mov	x0, x25
	mov	w2, #4
	bl	_EVP_MAC_update
	cbz	w0, LBB0_15
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	ldp	x1, x2, [sp, #24]               ; 16-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_MAC_update
	cbz	w0, LBB0_15
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #47
	mov	x0, x25
	mov	w2, #1
	bl	_EVP_MAC_update
	cbz	w0, LBB0_15
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	ldp	x1, x2, [sp, #8]                ; 16-byte Folded Reload
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_EVP_MAC_update
	cbz	w0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_4 Depth=1
	add	x1, x29, #32
	mov	x0, x25
	mov	w2, #4
	bl	_EVP_MAC_update
	cbz	w0, LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x25
	mov	x1, x26
	mov	x2, #0
	mov	x3, x20
	bl	_EVP_MAC_final
	cbz	w0, LBB0_15
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [sp]                        ; 8-byte Folded Reload
	add	x27, x8, x22
	mov	x0, x19
	mov	x1, x20
	bl	_MIN
	mov	x2, x0
	mov	x0, x27
	mov	x1, x26
	bl	_memcpy
	add	x22, x22, x20
	mov	x0, x25
	bl	_EVP_MAC_CTX_free
	add	w28, w28, #1
	sub	x19, x19, x20
	mov	x27, x20
	cmp	x22, x21
	b.lo	LBB0_4
LBB0_14:
	mov	x25, #0
	mov	w19, #1
	b	LBB0_16
LBB0_15:
	mov	w19, #0
LBB0_16:
	mov	x0, x25
	bl	_EVP_MAC_CTX_free
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FEEDBACK,8,3                   ; @FEEDBACK
	.no_dead_strip	_derive
.subsections_via_symbols
