	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_backlog_rcv               ## -- Begin function sctp_backlog_rcv
	.p2align	4, 0x90
_sctp_backlog_rcv:                      ## @sctp_backlog_rcv
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	%rsi, %rdi
	callq	_SCTP_INPUT_CB
	movq	(%rax), %r14
	movq	(%r14), %rbx
	cmpq	$0, 16(%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_sctp_chunk_free
	jmp	LBB0_10
LBB0_2:
	leaq	24(%rbx), %r13
	xorl	%edi, %edi
	cmpq	%r12, 8(%rbx)
	setne	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	8(%rbx), %r12
	movq	%r12, %rdi
	callq	_sctp_bh_lock_sock
	movq	%r12, %rdi
	callq	_sock_owned_by_user
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movl	(%r12), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_sk_add_backlog
	testq	%rax, %rax
	je	LBB0_8
## %bb.5:
	movq	%r14, %rdi
	callq	_sctp_chunk_free
	jmp	LBB0_6
LBB0_9:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_sctp_inq_push
	jmp	LBB0_10
LBB0_7:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_sctp_inq_push
LBB0_6:
	movq	%r12, %rdi
	callq	_sctp_bh_unlock_sock
LBB0_10:
	movq	_SCTP_EP_TYPE_ASSOCIATION@GOTPCREL(%rip), %rcx
	movq	(%rbx), %rax
	cmpq	%rax, (%rcx)
	jne	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_sctp_assoc
	movl	%eax, %edi
	callq	_sctp_association_put
	jmp	LBB0_15
LBB0_12:
	movq	_SCTP_EP_TYPE_SOCKET@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_sctp_ep
	movl	%eax, %edi
	callq	_sctp_endpoint_put
	jmp	LBB0_15
LBB0_14:
	xorl	%eax, %eax
	callq	_BUG
	jmp	LBB0_15
LBB0_8:
	movq	%r12, %rdi
	callq	_sctp_bh_unlock_sock
LBB0_15:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_EP_TYPE_ASSOCIATION,8,3   ## @SCTP_EP_TYPE_ASSOCIATION
	.comm	_SCTP_EP_TYPE_SOCKET,8,3        ## @SCTP_EP_TYPE_SOCKET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sctp_backlog_rcv               ; -- Begin function sctp_backlog_rcv
	.p2align	2
_sctp_backlog_rcv:                      ; @sctp_backlog_rcv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x22, x0
	mov	x0, x1
	bl	_SCTP_INPUT_CB
	ldr	x20, [x0]
	ldr	x19, [x20]
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_sctp_chunk_free
	b	LBB0_9
LBB0_2:
	add	x23, x19, #24
	ldr	x8, [x19, #8]
	cmp	x8, x22
	cset	w0, ne
	bl	_unlikely
	cbz	x0, LBB0_6
; %bb.3:
	ldr	x22, [x19, #8]
	mov	x0, x22
	bl	_sctp_bh_lock_sock
	mov	x0, x22
	bl	_sock_owned_by_user
	cbz	x0, LBB0_7
; %bb.4:
	ldr	w2, [x22]
	mov	x0, x22
	mov	x1, x21
	bl	_sk_add_backlog
	cbz	x0, LBB0_14
; %bb.5:
	mov	x0, x20
	bl	_sctp_chunk_free
	b	LBB0_8
LBB0_6:
	mov	x0, x23
	mov	x1, x20
	bl	_sctp_inq_push
	b	LBB0_9
LBB0_7:
	mov	x0, x23
	mov	x1, x20
	bl	_sctp_inq_push
LBB0_8:
	mov	x0, x22
	bl	_sctp_bh_unlock_sock
LBB0_9:
Lloh0:
	adrp	x8, _SCTP_EP_TYPE_ASSOCIATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_EP_TYPE_ASSOCIATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x19]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_sctp_assoc
	bl	_sctp_association_put
	b	LBB0_15
LBB0_11:
Lloh3:
	adrp	x9, _SCTP_EP_TYPE_SOCKET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _SCTP_EP_TYPE_SOCKET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_sctp_ep
	bl	_sctp_endpoint_put
	b	LBB0_15
LBB0_13:
	bl	_BUG
	b	LBB0_15
LBB0_14:
	mov	x0, x22
	bl	_sctp_bh_unlock_sock
LBB0_15:
	mov	w0, #0
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_EP_TYPE_ASSOCIATION,8,3   ; @SCTP_EP_TYPE_ASSOCIATION
	.comm	_SCTP_EP_TYPE_SOCKET,8,3        ; @SCTP_EP_TYPE_SOCKET
.subsections_via_symbols
