	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sctp_endpoint_init
_sctp_endpoint_init:                    ## @sctp_endpoint_init
	.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
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_SCTP_SIGNATURE_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edx, %esi
	callq	_kzalloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_15
## %bb.1:
	movq	_sctp_auth_enable@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.3:
	movq	_SCTP_AUTH_NUM_HMACS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	4(,%rax,4), %edi
	movl	%r14d, %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r15
	movq	_SCTP_NUM_CHUNK_TYPES@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addl	$4, %edi
	movl	%r14d, %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movq	_SCTP_PARAM_HMAC_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r15)
	movl	$6, %edi
	callq	_htons
	movq	%rax, (%r15)
	movq	_SCTP_AUTH_HMAC_ID_SHA1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_htons
	movq	24(%r15), %rcx
	movq	%rax, (%rcx)
	movq	_SCTP_PARAM_CHUNKS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r12)
	movl	$4, %edi
	callq	_htons
	movq	%rax, (%r12)
	movq	_sctp_addip_enable@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_9
## %bb.8:
	movq	_SCTP_CID_ASCONF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%r12), %rcx
	movl	%eax, (%rcx)
	movq	_SCTP_CID_ASCONF_ACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rcx)
	movl	$6, %edi
	callq	_htons
	movq	%rax, (%r12)
	jmp	LBB0_9
LBB0_2:
	xorl	%eax, %eax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
LBB0_9:
	movq	_SCTP_EP_TYPE_SOCKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 116(%rbx)
	leaq	112(%rbx), %rdi
	movl	$1, %esi
	callq	_atomic_set
	movq	$0, 104(%rbx)
	movl	$1, 80(%rbx)
	leaq	100(%rbx), %r12
	movq	%r12, %rdi
	callq	_sctp_inq_init
	movq	_sctp_endpoint_bh_rcv@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_sctp_inq_set_th_handler
	leaq	96(%rbx), %rdi
	xorl	%esi, %esi
	callq	_sctp_bind_addr_init
	movq	%r13, 88(%rbx)
	movq	%r13, %rdi
	callq	_sock_hold
	leaq	72(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	_sctp_sndbuf_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%rbx)
	movq	_sctp_data_ready@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r13)
	movq	_sctp_write_space@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r13)
	movq	_SOCK_USE_WRITE_QUEUE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_sock_set_flag
	movq	_sctp_rcvbuf_policy@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	56(%rbx), %rdi
	movq	_SCTP_SECRET_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_get_random_bytes
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	leaq	8(%rbx), %r13
	movq	%r13, %rdi
	callq	_INIT_LIST_HEAD
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_sctp_auth_shkey_create
	testq	%rax, %rax
	je	LBB0_13
## %bb.10:
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_list_add
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_sctp_auth_init_hmacs
	testl	%eax, %eax
	je	LBB0_11
## %bb.12:
	movq	%r13, %rdi
	callq	_sctp_auth_destroy_keys
LBB0_13:
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_4:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	jmp	LBB0_14
LBB0_6:
	xorl	%r14d, %r14d
LBB0_14:
	movq	%r15, %rdi
	callq	_kfree
	movq	%r14, %rdi
	callq	_kfree
	movq	(%rbx), %rdi
	callq	_kfree
LBB0_15:
	xorl	%ebx, %ebx
LBB0_16:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	movq	%r15, 24(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 16(%rbx)
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_SCTP_SIGNATURE_SIZE,4,2        ## @SCTP_SIGNATURE_SIZE
	.comm	_sctp_auth_enable,8,3           ## @sctp_auth_enable
	.comm	_SCTP_AUTH_NUM_HMACS,4,2        ## @SCTP_AUTH_NUM_HMACS
	.comm	_SCTP_NUM_CHUNK_TYPES,4,2       ## @SCTP_NUM_CHUNK_TYPES
	.comm	_SCTP_PARAM_HMAC_ALGO,4,2       ## @SCTP_PARAM_HMAC_ALGO
	.comm	_SCTP_AUTH_HMAC_ID_SHA1,4,2     ## @SCTP_AUTH_HMAC_ID_SHA1
	.comm	_SCTP_PARAM_CHUNKS,4,2          ## @SCTP_PARAM_CHUNKS
	.comm	_sctp_addip_enable,8,3          ## @sctp_addip_enable
	.comm	_SCTP_CID_ASCONF,4,2            ## @SCTP_CID_ASCONF
	.comm	_SCTP_CID_ASCONF_ACK,4,2        ## @SCTP_CID_ASCONF_ACK
	.comm	_SCTP_EP_TYPE_SOCKET,4,2        ## @SCTP_EP_TYPE_SOCKET
	.comm	_sctp_endpoint_bh_rcv,4,2       ## @sctp_endpoint_bh_rcv
	.comm	_sctp_sndbuf_policy,4,2         ## @sctp_sndbuf_policy
	.comm	_sctp_data_ready,4,2            ## @sctp_data_ready
	.comm	_sctp_write_space,4,2           ## @sctp_write_space
	.comm	_SOCK_USE_WRITE_QUEUE,4,2       ## @SOCK_USE_WRITE_QUEUE
	.comm	_sctp_rcvbuf_policy,4,2         ## @sctp_rcvbuf_policy
	.comm	_SCTP_SECRET_SIZE,4,2           ## @SCTP_SECRET_SIZE
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.no_dead_strip	_sctp_endpoint_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sctp_endpoint_init
_sctp_endpoint_init:                    ; @sctp_endpoint_init
	.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	x20, x2
	mov	x23, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _SCTP_SIGNATURE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SCTP_SIGNATURE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x2
	bl	_kzalloc
	str	x0, [x19]
	cbz	x0, LBB0_12
; %bb.1:
Lloh3:
	adrp	x8, _sctp_auth_enable@GOTPAGE
Lloh4:
	ldr	x8, [x8, _sctp_auth_enable@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_6
; %bb.2:
Lloh6:
	adrp	x8, _SCTP_AUTH_NUM_HMACS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCTP_AUTH_NUM_HMACS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	lsl	w8, w8, #2
	add	w0, w8, #4
	mov	x1, x20
	bl	_kzalloc
	mov	x21, x0
	cbz	x0, LBB0_10
; %bb.3:
Lloh9:
	adrp	x8, _SCTP_NUM_CHUNK_TYPES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SCTP_NUM_CHUNK_TYPES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w0, w8, #4
	mov	x1, x20
	bl	_kzalloc
	mov	x22, x0
	cbz	x0, LBB0_11
; %bb.4:
Lloh12:
	adrp	x8, _SCTP_PARAM_HMAC_ALGO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SCTP_PARAM_HMAC_ALGO@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	str	w8, [x21, #8]
	mov	w0, #6
	bl	_htons
	str	x0, [x21]
Lloh15:
	adrp	x8, _SCTP_AUTH_HMAC_ID_SHA1@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SCTP_AUTH_HMAC_ID_SHA1@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_htons
	ldr	x8, [x21, #24]
	str	x0, [x8]
Lloh18:
	adrp	x8, _SCTP_PARAM_CHUNKS@GOTPAGE
Lloh19:
	ldr	x8, [x8, _SCTP_PARAM_CHUNKS@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x22, #8]
	mov	w0, #4
	bl	_htons
	str	x0, [x22]
Lloh21:
	adrp	x8, _sctp_addip_enable@GOTPAGE
Lloh22:
	ldr	x8, [x8, _sctp_addip_enable@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
Lloh24:
	adrp	x8, _SCTP_CID_ASCONF@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SCTP_CID_ASCONF@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	ldr	x9, [x22, #16]
	str	w8, [x9]
Lloh27:
	adrp	x8, _SCTP_CID_ASCONF_ACK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SCTP_CID_ASCONF_ACK@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	str	w8, [x9, #4]
	mov	w0, #6
	bl	_htons
	str	x0, [x22]
	b	LBB0_7
LBB0_6:
	mov	x22, #0
	mov	x21, #0
LBB0_7:
Lloh30:
	adrp	x8, _SCTP_EP_TYPE_SOCKET@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SCTP_EP_TYPE_SOCKET@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [x19, #116]
	add	x0, x19, #112
	mov	w24, #1
	mov	w1, #1
	bl	_atomic_set
	str	xzr, [x19, #104]
	str	w24, [x19, #80]
	add	x24, x19, #100
	mov	x0, x24
	bl	_sctp_inq_init
Lloh33:
	adrp	x8, _sctp_endpoint_bh_rcv@GOTPAGE
Lloh34:
	ldr	x8, [x8, _sctp_endpoint_bh_rcv@GOTPAGEOFF]
Lloh35:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_sctp_inq_set_th_handler
	add	x0, x19, #96
	mov	w1, #0
	bl	_sctp_bind_addr_init
	str	x23, [x19, #88]
	mov	x0, x23
	bl	_sock_hold
	add	x0, x19, #72
	bl	_INIT_LIST_HEAD
Lloh36:
	adrp	x8, _sctp_sndbuf_policy@GOTPAGE
Lloh37:
	ldr	x8, [x8, _sctp_sndbuf_policy@GOTPAGEOFF]
Lloh38:
	ldr	w8, [x8]
	str	w8, [x19, #68]
Lloh39:
	adrp	x8, _sctp_data_ready@GOTPAGE
Lloh40:
	ldr	x8, [x8, _sctp_data_ready@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
Lloh42:
	adrp	x9, _sctp_write_space@GOTPAGE
Lloh43:
	ldr	x9, [x9, _sctp_write_space@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	stp	w9, w8, [x23]
Lloh45:
	adrp	x8, _SOCK_USE_WRITE_QUEUE@GOTPAGE
Lloh46:
	ldr	x8, [x8, _SOCK_USE_WRITE_QUEUE@GOTPAGEOFF]
Lloh47:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_sock_set_flag
Lloh48:
	adrp	x8, _sctp_rcvbuf_policy@GOTPAGE
Lloh49:
	ldr	x8, [x8, _sctp_rcvbuf_policy@GOTPAGEOFF]
Lloh50:
	ldr	w8, [x8]
	str	w8, [x19, #64]
	ldr	x0, [x19, #56]
Lloh51:
	adrp	x8, _SCTP_SECRET_SIZE@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SCTP_SECRET_SIZE@GOTPAGEOFF]
Lloh53:
	ldr	w1, [x8]
	bl	_get_random_bytes
	stp	xzr, xzr, [x19, #40]
Lloh54:
	adrp	x8, _jiffies@GOTPAGE
Lloh55:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh56:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	add	x23, x19, #8
	mov	x0, x23
	bl	_INIT_LIST_HEAD
Lloh57:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh58:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_sctp_auth_shkey_create
	cbz	x0, LBB0_11
; %bb.8:
	mov	x1, x23
	bl	_list_add
	mov	x0, x19
	mov	x1, x20
	bl	_sctp_auth_init_hmacs
	cbz	w0, LBB0_14
; %bb.9:
	mov	x0, x23
	bl	_sctp_auth_destroy_keys
	b	LBB0_11
LBB0_10:
	mov	x22, #0
LBB0_11:
	mov	x0, x21
	bl	_kfree
	mov	x0, x22
	bl	_kfree
	ldr	x0, [x19]
	bl	_kfree
LBB0_12:
	mov	x19, #0
LBB0_13:
	mov	x0, x19
	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
LBB0_14:
	stp	x22, x21, [x19, #16]
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_SCTP_SIGNATURE_SIZE,4,2        ; @SCTP_SIGNATURE_SIZE
	.comm	_sctp_auth_enable,8,3           ; @sctp_auth_enable
	.comm	_SCTP_AUTH_NUM_HMACS,4,2        ; @SCTP_AUTH_NUM_HMACS
	.comm	_SCTP_NUM_CHUNK_TYPES,4,2       ; @SCTP_NUM_CHUNK_TYPES
	.comm	_SCTP_PARAM_HMAC_ALGO,4,2       ; @SCTP_PARAM_HMAC_ALGO
	.comm	_SCTP_AUTH_HMAC_ID_SHA1,4,2     ; @SCTP_AUTH_HMAC_ID_SHA1
	.comm	_SCTP_PARAM_CHUNKS,4,2          ; @SCTP_PARAM_CHUNKS
	.comm	_sctp_addip_enable,8,3          ; @sctp_addip_enable
	.comm	_SCTP_CID_ASCONF,4,2            ; @SCTP_CID_ASCONF
	.comm	_SCTP_CID_ASCONF_ACK,4,2        ; @SCTP_CID_ASCONF_ACK
	.comm	_SCTP_EP_TYPE_SOCKET,4,2        ; @SCTP_EP_TYPE_SOCKET
	.comm	_sctp_endpoint_bh_rcv,4,2       ; @sctp_endpoint_bh_rcv
	.comm	_sctp_sndbuf_policy,4,2         ; @sctp_sndbuf_policy
	.comm	_sctp_data_ready,4,2            ; @sctp_data_ready
	.comm	_sctp_write_space,4,2           ; @sctp_write_space
	.comm	_SOCK_USE_WRITE_QUEUE,4,2       ; @SOCK_USE_WRITE_QUEUE
	.comm	_sctp_rcvbuf_policy,4,2         ; @sctp_rcvbuf_policy
	.comm	_SCTP_SECRET_SIZE,4,2           ; @SCTP_SECRET_SIZE
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.no_dead_strip	_sctp_endpoint_init
.subsections_via_symbols
