	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function sctp_hmac
LCPI0_0:
	.long	54                              ## 0x36
	.long	54                              ## 0x36
	.long	54                              ## 0x36
	.long	54                              ## 0x36
LCPI0_1:
	.long	92                              ## 0x5c
	.long	92                              ## 0x5c
	.long	92                              ## 0x5c
	.long	92                              ## 0x5c
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_sctp_hmac
	.p2align	4, 0x90
_sctp_hmac:                             ## @sctp_hmac
	.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	$1096, %rsp                     ## imm = 0x448
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r12
	movq	%r8, -1104(%rbp)                ## 8-byte Spill
	movq	%rcx, -1112(%rbp)               ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	%edi, %r13d
	movq	%rsp, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_SCTP_AUTH_DIGEST_LEN_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shlq	$2, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rcx
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_21
## %bb.1:
	testq	%r15, %r15
	je	LBB0_21
## %bb.2:
	cmpq	$0, -1112(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_21
## %bb.3:
	cmpq	$0, -1104(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_21
## %bb.4:
	testq	%r12, %r12
	je	LBB0_21
## %bb.5:
	movq	%rcx, -1096(%rbp)               ## 8-byte Spill
	movl	%r13d, %edi
	callq	_sctp_get_hmac_digest_len
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, -1088(%rbp)               ## 8-byte Spill
	movq	%r12, -1120(%rbp)               ## 8-byte Spill
	movl	%r13d, %edi
	callq	_sctp_get_hmac_block_len
	movq	%rax, %r12
	cmpq	%r15, %rax
	movq	%rbx, -1128(%rbp)               ## 8-byte Spill
	jge	LBB0_9
## %bb.8:
	leaq	-1076(%rbp), %rbx
	movl	%r13d, %edi
	movq	%rbx, %rsi
	callq	_sctp_hmac_init
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	callq	_sctp_hmac_update
	movl	%r13d, %edi
	movq	%rbx, %rsi
	movq	-1096(%rbp), %r14               ## 8-byte Reload
	movq	%r14, %rdx
	callq	_sctp_hmac_final
	movq	-1088(%rbp), %r15               ## 8-byte Reload
LBB0_9:
	leaq	-560(%rbp), %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_memset
	leaq	-1072(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_memset
	leaq	-560(%rbp), %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	testq	%r12, %r12
	jle	LBB0_20
## %bb.10:
	cmpq	$8, %r12
	jae	LBB0_13
## %bb.11:
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_21
LBB0_13:
	movq	%r12, %rax
	andq	$-8, %rax
	leaq	-8(%rax), %rcx
	movq	%rcx, %rdx
	shrq	$3, %rdx
	incq	%rdx
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.15:
	movq	%rdx, %rsi
	andq	$-2, %rsi
	xorl	%ecx, %ecx
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [54,54,54,54]
	movaps	LCPI0_1(%rip), %xmm1            ## xmm1 = [92,92,92,92]
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movaps	-560(%rbp,%rcx,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	-544(%rbp,%rcx,4), %xmm3
	xorps	%xmm0, %xmm3
	movaps	%xmm2, -560(%rbp,%rcx,4)
	movaps	%xmm3, -544(%rbp,%rcx,4)
	movaps	-1072(%rbp,%rcx,4), %xmm2
	xorps	%xmm1, %xmm2
	movaps	-1056(%rbp,%rcx,4), %xmm3
	xorps	%xmm1, %xmm3
	movaps	%xmm2, -1072(%rbp,%rcx,4)
	movaps	%xmm3, -1056(%rbp,%rcx,4)
	movaps	-528(%rbp,%rcx,4), %xmm2
	xorps	%xmm0, %xmm2
	movaps	-512(%rbp,%rcx,4), %xmm3
	xorps	%xmm0, %xmm3
	movaps	%xmm2, -528(%rbp,%rcx,4)
	movaps	%xmm3, -512(%rbp,%rcx,4)
	movaps	-1040(%rbp,%rcx,4), %xmm2
	xorps	%xmm1, %xmm2
	movaps	-1024(%rbp,%rcx,4), %xmm3
	xorps	%xmm1, %xmm3
	movaps	%xmm2, -1040(%rbp,%rcx,4)
	movaps	%xmm3, -1024(%rbp,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %rsi
	jne	LBB0_16
## %bb.17:
	testb	$1, %dl
	jne	LBB0_18
	jmp	LBB0_19
LBB0_14:
	xorl	%ecx, %ecx
	testb	$1, %dl
	je	LBB0_19
LBB0_18:
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [54,54,54,54]
	movaps	-560(%rbp,%rcx,4), %xmm1
	xorps	%xmm0, %xmm1
	xorps	-544(%rbp,%rcx,4), %xmm0
	movaps	%xmm1, -560(%rbp,%rcx,4)
	movaps	%xmm0, -544(%rbp,%rcx,4)
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [92,92,92,92]
	movaps	-1072(%rbp,%rcx,4), %xmm1
	xorps	%xmm0, %xmm1
	xorps	-1056(%rbp,%rcx,4), %xmm0
	movaps	%xmm1, -1072(%rbp,%rcx,4)
	movaps	%xmm0, -1056(%rbp,%rcx,4)
	jmp	LBB0_19
LBB0_12:
	xorb	$54, -560(%rbp,%rax,4)
	xorb	$92, -1072(%rbp,%rax,4)
	incq	%rax
LBB0_19:
	cmpq	%rax, %r12
	jne	LBB0_12
LBB0_20:
	leaq	-1076(%rbp), %r14
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_sctp_hmac_init
	leaq	-560(%rbp), %rdx
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	%r12, %rcx
	callq	_sctp_hmac_update
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	-1112(%rbp), %rdx               ## 8-byte Reload
	movq	-1104(%rbp), %rcx               ## 8-byte Reload
	callq	_sctp_hmac_update
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	-1096(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_sctp_hmac_final
	movl	%r13d, %edi
	movq	%r14, %rsi
	callq	_sctp_hmac_init
	leaq	-1072(%rbp), %rdx
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	%r12, %rcx
	callq	_sctp_hmac_update
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	movq	-1088(%rbp), %rbx               ## 8-byte Reload
	movq	%rbx, %rcx
	callq	_sctp_hmac_update
	movl	%r13d, %edi
	movq	%r14, %rsi
	movq	-1120(%rbp), %rdx               ## 8-byte Reload
	callq	_sctp_hmac_final
	movq	%rbx, %rax
	movq	-1128(%rbp), %rbx               ## 8-byte Reload
LBB0_21:
	movq	%rbx, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_23
## %bb.22:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_AUTH_DIGEST_LEN_MAX,4,2   ## @SCTP_AUTH_DIGEST_LEN_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_hmac                      ; -- Begin function sctp_hmac
	.p2align	2
_sctp_hmac:                             ; @sctp_hmac
	.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, #1056
	mov	x19, sp
	mov	x20, x5
	mov	x24, x4
	mov	x25, x3
	mov	x27, x2
	mov	x28, x1
	mov	x22, x0
	mov	x26, sp
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _SCTP_AUTH_DIGEST_LEN_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_AUTH_DIGEST_LEN_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	lsl	x8, x8, #2
	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, #0x7fffffff0
	sub	x23, x9, x8
	mov	sp, x23
	mov	x21, #0
	cbz	x1, LBB0_17
; %bb.1:
	cbz	x27, LBB0_17
; %bb.2:
	cbz	x25, LBB0_17
; %bb.3:
	cbz	x24, LBB0_17
; %bb.4:
	cbz	x20, LBB0_17
; %bb.5:
	mov	x0, x22
	bl	_sctp_get_hmac_digest_len
	mov	x21, x0
	cbz	x0, LBB0_17
; %bb.6:
	str	x26, [x19]                      ; 8-byte Folded Spill
	mov	x0, x22
	bl	_sctp_get_hmac_block_len
	mov	x26, x0
	cmp	x0, x27
	b.ge	LBB0_8
; %bb.7:
	add	x1, x19, #12
	mov	x0, x22
	bl	_sctp_hmac_init
	add	x1, x19, #12
	mov	x0, x22
	mov	x2, x28
	mov	x3, x27
	bl	_sctp_hmac_update
	add	x1, x19, #12
	mov	x0, x22
	mov	x2, x23
	bl	_sctp_hmac_final
	mov	x27, x21
	mov	x28, x23
LBB0_8:
	add	x0, x19, #528
	mov	w1, #0
	mov	x2, x26
	bl	_memset
	add	x0, x19, #16
	mov	w1, #0
	mov	x2, x26
	bl	_memset
	add	x0, x19, #528
	mov	x1, x28
	mov	x2, x27
	bl	_memcpy
	add	x0, x19, #16
	mov	x1, x28
	mov	x2, x27
	bl	_memcpy
	cmp	x26, #1
	b.lt	LBB0_16
; %bb.9:
	cmp	x26, #8
	b.hs	LBB0_11
; %bb.10:
	mov	x8, #0
	b	LBB0_14
LBB0_11:
	and	x8, x26, #0xfffffffffffffff8
	add	x9, x19, #528
	add	x9, x9, #16
	add	x10, x19, #16
	add	x10, x10, #16
	movi.4s	v0, #54
	movi.4s	v1, #92
	mov	x11, x8
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	q2, q3, [x9, #-16]
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	stp	q2, q3, [x9, #-16]
	ldp	q2, q3, [x10, #-16]
	eor.16b	v2, v2, v1
	eor.16b	v3, v3, v1
	stp	q2, q3, [x10, #-16]
	add	x9, x9, #32
	add	x10, x10, #32
	subs	x11, x11, #8
	b.ne	LBB0_12
; %bb.13:
	cmp	x26, x8
	b.eq	LBB0_16
LBB0_14:
	sub	x9, x26, x8
	lsl	x10, x8, #2
	add	x8, x19, #16
	add	x8, x8, x10
	add	x11, x19, #528
	add	x10, x11, x10
	mov	w11, #54
	mov	w12, #92
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x10]
	eor	w13, w13, w11
	str	w13, [x10], #4
	ldr	w13, [x8]
	eor	w13, w13, w12
	str	w13, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_15
LBB0_16:
	add	x1, x19, #12
	mov	x0, x22
	bl	_sctp_hmac_init
	add	x1, x19, #12
	add	x2, x19, #528
	mov	x0, x22
	mov	x3, x26
	bl	_sctp_hmac_update
	add	x1, x19, #12
	mov	x0, x22
	mov	x2, x25
	mov	x3, x24
	bl	_sctp_hmac_update
	add	x1, x19, #12
	mov	x0, x22
	mov	x2, x23
	bl	_sctp_hmac_final
	add	x1, x19, #12
	mov	x0, x22
	bl	_sctp_hmac_init
	add	x1, x19, #12
	add	x2, x19, #16
	mov	x0, x22
	mov	x3, x26
	bl	_sctp_hmac_update
	add	x1, x19, #12
	mov	x0, x22
	mov	x2, x23
	mov	x3, x21
	bl	_sctp_hmac_update
	add	x1, x19, #12
	mov	x0, x22
	mov	x2, x20
	bl	_sctp_hmac_final
	ldr	x26, [x19]                      ; 8-byte Folded Reload
LBB0_17:
	mov	sp, x26
	ldur	x8, [x29, #-96]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_19
; %bb.18:
	mov	x0, x21
	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_19:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_AUTH_DIGEST_LEN_MAX,4,2   ; @SCTP_AUTH_DIGEST_LEN_MAX
.subsections_via_symbols
