	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_ulpq_tail_data            ## -- Begin function sctp_ulpq_tail_data
	.p2align	4, 0x90
_sctp_ulpq_tail_data:                   ## @sctp_ulpq_tail_data
	.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, %r14
	movl	(%rsi), %edi
	callq	_sctp_ulpevent_make_rcvmsg
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_sctp_ulpq_reasm
	xorl	%r15d, %r15d
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rax, %rbx
	movq	_MSG_EOR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_5
## %bb.4:
	leaq	-40(%rbp), %r12
	movq	%r12, %rdi
	callq	_skb_queue_head_init
	movq	%rbx, %rdi
	callq	_sctp_event2skb
	movq	%r12, %rdi
	movl	%eax, %esi
	callq	___skb_queue_tail
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sctp_ulpq_order
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_sctp_ulpq_tail_event
	jmp	LBB0_6
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MSG_EOR,4,2                    ## @MSG_EOR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_ulpq_tail_data            ; -- Begin function sctp_ulpq_tail_data
	.p2align	2
_sctp_ulpq_tail_data:                   ; @sctp_ulpq_tail_data
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x1]
	bl	_sctp_ulpevent_make_rcvmsg
	cbz	x0, LBB0_5
; %bb.1:
	mov	x1, x0
	mov	x0, x19
	bl	_sctp_ulpq_reasm
	cbz	x0, LBB0_6
; %bb.2:
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _MSG_EOR@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSG_EOR@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.3:
	add	x0, sp, #8
	bl	_skb_queue_head_init
	mov	x0, x20
	bl	_sctp_event2skb
	mov	x1, x0
	add	x0, sp, #8
	bl	___skb_queue_tail
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_ulpq_order
	mov	x20, x0
	cbz	x0, LBB0_6
LBB0_4:
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_ulpq_tail_event
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MSG_EOR,4,2                    ; @MSG_EOR
.subsections_via_symbols
