	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_make_auth                 ## -- Begin function sctp_make_auth
	.p2align	4, 0x90
_sctp_make_auth:                        ## @sctp_make_auth
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_sctp_auth_asoc_get_hmac
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	_SCTP_CID_AUTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r15), %rcx
	addq	$4, %rcx
	xorl	%ebx, %ebx
	movq	%r12, %rdi
	xorl	%edx, %edx
	callq	_sctp_make_chunk
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %r14
	movq	8(%r15), %rdi
	callq	_htons
	movq	%rax, -40(%rbp)
	movq	(%r12), %rdi
	callq	_htons
	movq	%rax, -48(%rbp)
	leaq	-48(%rbp), %rdx
	movq	%r14, %rdi
	movl	$4, %esi
	callq	_sctp_addto_chunk
	movl	%eax, 16(%r14)
	movl	(%r14), %edi
	movq	(%r15), %rsi
	callq	_skb_put
	movq	(%r15), %rdx
	movq	%rax, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	8(%r14), %rax
	movq	(%rax), %rdi
	callq	_ntohs
	addq	(%r15), %rax
	movq	%rax, %rdi
	callq	_htons
	movq	8(%r14), %rcx
	movq	%rax, (%rcx)
	movl	(%r14), %edi
	callq	_skb_tail_pointer
	movl	%eax, 4(%r14)
	movq	%r14, %rbx
LBB0_4:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_CID_AUTH,4,2              ## @SCTP_CID_AUTH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_make_auth                 ; -- Begin function sctp_make_auth
	.p2align	2
_sctp_make_auth:                        ; @sctp_make_auth
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x0
	bl	_sctp_auth_asoc_get_hmac
	mov	x19, x0
	cmp	x0, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, #0
	b	LBB0_4
LBB0_2:
Lloh0:
	adrp	x8, _SCTP_CID_AUTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_CID_AUTH@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	x8, [x19]
	add	x3, x8, #4
	mov	x0, x21
	mov	w2, #0
	bl	_sctp_make_chunk
	mov	x20, x0
	cbz	x0, LBB0_4
; %bb.3:
	ldr	x0, [x19, #8]
	bl	_htons
	str	x0, [sp, #8]
	ldr	x0, [x21]
	bl	_htons
	str	x0, [sp]
	mov	x2, sp
	mov	x0, x20
	mov	w1, #4
	bl	_sctp_addto_chunk
	str	w0, [x20, #16]
	ldr	w0, [x20]
	ldr	x1, [x19]
	bl	_skb_put
	ldr	x2, [x19]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x20, #8]
	ldr	x0, [x8]
	bl	_ntohs
	ldr	x8, [x19]
	add	x0, x8, x0
	bl	_htons
	ldr	x8, [x20, #8]
	str	x0, [x8]
	ldr	w0, [x20]
	bl	_skb_tail_pointer
	str	w0, [x20, #4]
LBB0_4:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_CID_AUTH,4,2              ; @SCTP_CID_AUTH
.subsections_via_symbols
