	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hmac_apply_key
_hmac_apply_key:                        ## @hmac_apply_key
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	movq	(%rdi), %rsi
	movq	8(%rdi), %rax
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_11
## %bb.1:
	cmpq	$8, %rdx
	jae	LBB0_4
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_4:
	movq	%rdx, %rax
	andq	$-8, %rax
	movd	%ebx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rax), %rcx
	movq	%rcx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_5
## %bb.6:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rsi,%rcx,4), %xmm1
	movdqu	16(%rsi,%rcx,4), %xmm2
	movdqu	32(%rsi,%rcx,4), %xmm3
	movdqu	48(%rsi,%rcx,4), %xmm4
	pxor	%xmm0, %xmm1
	pxor	%xmm0, %xmm2
	movdqu	%xmm1, (%rsi,%rcx,4)
	movdqu	%xmm2, 16(%rsi,%rcx,4)
	pxor	%xmm0, %xmm3
	pxor	%xmm0, %xmm4
	movdqu	%xmm3, 32(%rsi,%rcx,4)
	movdqu	%xmm4, 48(%rsi,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %rdi
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
LBB0_5:
	xorl	%ecx, %ecx
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movdqu	(%rsi,%rcx,4), %xmm1
	movdqu	16(%rsi,%rcx,4), %xmm2
	pxor	%xmm0, %xmm1
	pxor	%xmm0, %xmm2
	movdqu	%xmm1, (%rsi,%rcx,4)
	movdqu	%xmm2, 16(%rsi,%rcx,4)
	jmp	LBB0_10
LBB0_3:
	xorl	%ebx, (%rsi,%rax,4)
	incq	%rax
LBB0_10:
	cmpq	%rax, %rdx
	jne	LBB0_3
LBB0_11:
	movq	16(%r14), %rdi
	callq	*(%rdi)
	movq	8(%r14), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.12:
	movq	(%r14), %rcx
	cmpq	$8, %rax
	jae	LBB0_15
## %bb.13:
	xorl	%edx, %edx
	jmp	LBB0_14
LBB0_15:
	movq	%rax, %rdx
	andq	$-8, %rdx
	movd	%ebx, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rdx), %rsi
	movq	%rsi, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rsi, %rsi
	je	LBB0_16
## %bb.17:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rsi,4), %xmm1
	movdqu	16(%rcx,%rsi,4), %xmm2
	movdqu	32(%rcx,%rsi,4), %xmm3
	movdqu	48(%rcx,%rsi,4), %xmm4
	pxor	%xmm0, %xmm1
	pxor	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rsi,4)
	movdqu	%xmm2, 16(%rcx,%rsi,4)
	pxor	%xmm0, %xmm3
	pxor	%xmm0, %xmm4
	movdqu	%xmm3, 32(%rcx,%rsi,4)
	movdqu	%xmm4, 48(%rcx,%rsi,4)
	addq	$16, %rsi
	addq	$-2, %rdi
	jne	LBB0_18
## %bb.19:
	testb	$1, %r8b
	jne	LBB0_20
	jmp	LBB0_21
LBB0_16:
	xorl	%esi, %esi
	testb	$1, %r8b
	je	LBB0_21
LBB0_20:
	movdqu	(%rcx,%rsi,4), %xmm1
	movdqu	16(%rcx,%rsi,4), %xmm2
	pxor	%xmm0, %xmm1
	pxor	%xmm0, %xmm2
	movdqu	%xmm1, (%rcx,%rsi,4)
	movdqu	%xmm2, 16(%rcx,%rsi,4)
	jmp	LBB0_21
LBB0_14:
	xorl	%ebx, (%rcx,%rdx,4)
	incq	%rdx
LBB0_21:
	cmpq	%rdx, %rax
	jne	LBB0_14
LBB0_22:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hmac_apply_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hmac_apply_key
_hmac_apply_key:                        ; @hmac_apply_key
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldp	x1, x8, [x0]
	ldr	x2, [x8]
	cbz	x2, LBB0_8
; %bb.1:
	cmp	x2, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x8, #0
	b	LBB0_6
LBB0_3:
	and	x8, x2, #0xfffffffffffffff0
	dup.4s	v0, w19
	add	x9, x1, #32
	mov	x10, x8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x9, #-32]
	ldp	q3, q4, [x9]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x9, #-32]
	stp	q3, q4, [x9], #64
	subs	x10, x10, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x2, x8
	b.eq	LBB0_8
LBB0_6:
	sub	x9, x2, x8
	add	x8, x1, x8, lsl #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	eor	w10, w10, w19
	str	w10, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_7
LBB0_8:
	ldr	x0, [x20, #16]
	ldr	x8, [x0]
	blr	x8
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.9:
	ldr	x9, [x20]
	cmp	x8, #16
	b.hs	LBB0_11
; %bb.10:
	mov	x10, #0
	b	LBB0_14
LBB0_11:
	and	x10, x8, #0xfffffffffffffff0
	dup.4s	v0, w19
	add	x11, x9, #32
	mov	x12, x10
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x11, #-32]
	ldp	q3, q4, [x11]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x11, #-32]
	stp	q3, q4, [x11], #64
	subs	x12, x12, #16
	b.ne	LBB0_12
; %bb.13:
	cmp	x8, x10
	b.eq	LBB0_16
LBB0_14:
	sub	x8, x8, x10
	add	x9, x9, x10, lsl #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9]
	eor	w10, w10, w19
	str	w10, [x9], #4
	subs	x8, x8, #1
	b.ne	LBB0_15
LBB0_16:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hmac_apply_key
.subsections_via_symbols
