	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_add_backlog
_sctp_add_backlog:                      ## @sctp_add_backlog
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_SCTP_INPUT_CB
	movq	(%rax), %rax
	movq	(%rax), %r14
	movl	(%rbx), %edx
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_sk_add_backlog
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_6
## %bb.1:
	movq	_SCTP_EP_TYPE_ASSOCIATION@GOTPCREL(%rip), %rcx
	movq	(%r14), %rax
	cmpq	%rax, (%rcx)
	jne	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_sctp_assoc
	movl	%eax, %edi
	callq	_sctp_association_hold
	jmp	LBB0_6
LBB0_3:
	movq	_SCTP_EP_TYPE_SOCKET@GOTPCREL(%rip), %rcx
	cmpq	%rax, (%rcx)
	jne	LBB0_5
## %bb.4:
	movq	%r14, %rdi
	callq	_sctp_ep
	movl	%eax, %edi
	callq	_sctp_endpoint_hold
	jmp	LBB0_6
LBB0_5:
	xorl	%eax, %eax
	callq	_BUG
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	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
	.no_dead_strip	_sctp_add_backlog
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_add_backlog
_sctp_add_backlog:                      ; @sctp_add_backlog
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x21, x0
	mov	x0, x1
	bl	_SCTP_INPUT_CB
	ldr	x8, [x0]
	ldr	x20, [x8]
	ldr	w2, [x21]
	mov	x0, x21
	mov	x1, x19
	bl	_sk_add_backlog
	mov	x19, x0
	cbnz	w0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _SCTP_EP_TYPE_ASSOCIATION@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_EP_TYPE_ASSOCIATION@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x8]
	ldr	x8, [x20]
	cmp	x9, x8
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_sctp_assoc
	bl	_sctp_association_hold
	b	LBB0_6
LBB0_3:
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_5
; %bb.4:
	mov	x0, x20
	bl	_sctp_ep
	bl	_sctp_endpoint_hold
	b	LBB0_6
LBB0_5:
	bl	_BUG
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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
	.no_dead_strip	_sctp_add_backlog
.subsections_via_symbols
