	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_ulpevent_make_send_failed ## -- Begin function sctp_ulpevent_make_send_failed
	.p2align	4, 0x90
_sctp_ulpevent_make_send_failed:        ## @sctp_ulpevent_make_send_failed
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %ebx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rax
	movl	4(%rax), %edi
	callq	_ntohs
	movl	%eax, %r12d
	movl	12(%r15), %edi
	movl	$24, %esi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_skb_copy_expand
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	%rax, %rdi
	movl	$4, %esi
	callq	_skb_pull
	movq	%r13, %rdi
	callq	_sctp_skb2event
	movq	%rax, %rbx
	movq	_MSG_NOTIFICATION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%rbx, %rdi
	callq	_sctp_ulpevent_init
	movq	%r13, %rdi
	movl	$24, %esi
	callq	_skb_push
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	movq	_SCTP_SEND_FAILED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 16(%r14)
	addl	$20, %r12d
	movl	%r12d, (%r14)
	movq	%r13, %rdi
	movl	%r12d, %esi
	callq	_skb_trim
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%r14)
	leaq	8(%r14), %rdi
	leaq	8(%r15), %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	(%r15), %rax
	movq	%rbx, %r15
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	%rbx, %rdi
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_sctp_ulpevent_set_owner
	movq	%rbx, %rdi
	callq	_sctp_assoc2id
	movl	%eax, 4(%r14)
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_NOTIFICATION,4,2           ## @MSG_NOTIFICATION
	.comm	_SCTP_SEND_FAILED,4,2           ## @SCTP_SEND_FAILED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_ulpevent_make_send_failed ; -- Begin function sctp_ulpevent_make_send_failed
	.p2align	2
_sctp_ulpevent_make_send_failed:        ; @sctp_ulpevent_make_send_failed
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x4
	mov	x21, x3
	mov	x23, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1]
	ldr	w0, [x8, #4]
	bl	_ntohs
	mov	x24, x0
	ldr	w0, [x20, #12]
	mov	w1, #24
	mov	w2, #0
	mov	x3, x22
	bl	_skb_copy_expand
	cbz	x0, LBB0_2
; %bb.1:
	mov	x25, x0
	mov	w1, #4
	bl	_skb_pull
	mov	x0, x25
	bl	_sctp_skb2event
	mov	x22, x0
Lloh0:
	adrp	x8, _MSG_NOTIFICATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MSG_NOTIFICATION@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w2, [x25]
	bl	_sctp_ulpevent_init
	mov	x0, x25
	mov	w1, #24
	bl	_skb_push
	mov	x26, x0
Lloh3:
	adrp	x8, _SCTP_SEND_FAILED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCTP_SEND_FAILED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	stp	w23, w8, [x0, #16]
	add	w1, w24, #20
	str	w1, [x0]
	mov	x0, x25
	bl	_skb_trim
	str	w21, [x26, #12]
	add	x0, x26, #8
	add	x1, x20, #8
	mov	w2, #4
	bl	_memcpy
	ldr	x8, [x20]
	ldr	w8, [x8]
	str	w8, [x26, #8]
	mov	x0, x22
	mov	x1, x19
	bl	_sctp_ulpevent_set_owner
	mov	x0, x19
	bl	_sctp_assoc2id
	str	w0, [x26, #4]
	b	LBB0_3
LBB0_2:
	mov	x22, #0
LBB0_3:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_NOTIFICATION,4,2           ; @MSG_NOTIFICATION
	.comm	_SCTP_SEND_FAILED,4,2           ; @SCTP_SEND_FAILED
.subsections_via_symbols
