	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_create               ## -- Begin function tipc_link_create
	.p2align	4, 0x90
_tipc_link_create:                      ## @tipc_link_create
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r13d
	movq	%rdi, %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$88, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %r12
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	_LINK_LOG_BUF_SIZE@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.2:
	movl	(%r15), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	leaq	32(%r12), %rdi
	movq	(%rbx), %rdx
	movq	%rax, %rsi
	callq	_tipc_printbuf_init
LBB0_4:
	movl	%r13d, 52(%r12)
	movl	24(%r14), %edi
	movl	$58, %esi
	callq	_strchr
	incq	%rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	84(%r12), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_tipc_own_addr@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_tipc_zone
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	callq	_tipc_cluster
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	(%rbx), %edi
	callq	_tipc_node
	movl	%eax, %ebx
	movl	%r13d, %edi
	callq	_tipc_zone
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movl	%eax, %r14d
	movl	%r13d, %edi
	callq	_tipc_cluster
	movl	%eax, %r15d
	movl	%r13d, %edi
	callq	_tipc_node
                                        ## kill: def $eax killed $eax def $rax
	subq	$8, %rsp
	leaq	L_.str.2(%rip), %rsi
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	movl	%ebx, %r8d
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %r9
	pushq	%rax
	pushq	%r15
	pushq	%r14
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	callq	_sprintf
	addq	$32, %rsp
	leaq	80(%r12), %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	$4, %edx
	callq	_memcpy
	movl	$1, (%r12)
	movq	%r14, 72(%r12)
	movq	8(%r14), %rax
	movl	4(%rax), %esi
	movq	%r12, %rdi
	callq	_link_set_supervision_props
	movq	_RESET_UNKNOWN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 68(%r12)
	leaq	64(%r12), %rbx
	movq	%rbx, 56(%r12)
	movq	_LINK_PROTOCOL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RESET_MSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_INT_H_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	52(%r12), %r8d
	movq	%rbx, %rdi
	callq	_msg_init
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_msg_set_size
	movq	_tipc_random@GOTPCREL(%rip), %rax
	movzwl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_msg_set_session
	movl	20(%r14), %esi
	movq	%rbx, %rdi
	callq	_msg_set_bearer_id
	movq	%rbx, %rdi
	callq	_msg_data
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_strcpy
	movl	16(%r14), %eax
	movl	%eax, 48(%r12)
	movq	8(%r14), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_tipc_link_set_queue_limits
	movq	%r12, %rdi
	callq	_link_init_max_pkt
	movl	$1, 4(%r12)
	leaq	44(%r12), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r12, %rdi
	callq	_link_reset_statistics
	movq	%r12, %rdi
	callq	_tipc_node_attach_link
	movl	%eax, 40(%r12)
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	leaq	24(%r12), %rdi
	movq	_link_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdx
	callq	_k_init_timer
	movq	%r12, %rdi
	addq	$20, %rdi
	movq	%r14, %rsi
	callq	_list_add_tail
	movq	_tipc_link_start@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_tipc_k_signal
	movl	16(%r12), %esi
	movl	8(%r12), %ecx
	movl	12(%r12), %edx
	leaq	L_.str.3(%rip), %rdi
	callq	_dbg
	jmp	LBB0_13
LBB0_6:
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_11
LBB0_7:
	movq	_LINK_LOG_BUF_SIZE@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.8:
	movq	32(%r12), %rdi
	callq	_kfree
LBB0_9:
	movq	%r12, %rdi
	callq	_kfree
	jmp	LBB0_12
LBB0_10:
	movq	%r12, %rdi
	callq	_kfree
	leaq	L_.str.1(%rip), %rdi
LBB0_11:
	callq	_warn
LBB0_12:
	xorl	%r12d, %r12d
LBB0_13:
	movq	%r12, %rax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Link creation failed, no memory\n"

	.comm	_LINK_LOG_BUF_SIZE,8,3          ## @LINK_LOG_BUF_SIZE
L_.str.1:                               ## @.str.1
	.asciz	"Link creation failed, no memory for print buffer\n"

L_.str.2:                               ## @.str.2
	.asciz	"%u.%u.%u:%s-%u.%u.%u:"

	.comm	_tipc_own_addr,4,2              ## @tipc_own_addr
	.comm	_RESET_UNKNOWN,4,2              ## @RESET_UNKNOWN
	.comm	_LINK_PROTOCOL,4,2              ## @LINK_PROTOCOL
	.comm	_RESET_MSG,4,2                  ## @RESET_MSG
	.comm	_INT_H_SIZE,4,2                 ## @INT_H_SIZE
	.comm	_tipc_random,4,2                ## @tipc_random
	.comm	_link_timeout,8,3               ## @link_timeout
	.comm	_tipc_link_start,8,3            ## @tipc_link_start
L_.str.3:                               ## @.str.3
	.asciz	"tipc_link_create(): tolerance = %u,cont intv = %u, abort_limit = %u\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_link_create               ; -- Begin function tipc_link_create
	.p2align	2
_tipc_link_create:                      ; @tipc_link_create
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
Lloh0:
	adrp	x21, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #88
	bl	_kzalloc
	mov	x19, x0
	cbz	x0, LBB0_6
; %bb.1:
Lloh2:
	adrp	x24, _LINK_LOG_BUF_SIZE@GOTPAGE
Lloh3:
	ldr	x24, [x24, _LINK_LOG_BUF_SIZE@GOTPAGEOFF]
	ldr	x0, [x24]
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w1, [x21]
	bl	_kmalloc
	cbz	x0, LBB0_10
; %bb.3:
	mov	x1, x0
	add	x0, x19, #32
	ldr	x2, [x24]
	bl	_tipc_printbuf_init
LBB0_4:
	str	w23, [x19, #52]
	ldr	w0, [x20, #24]
	mov	w1, #58
	bl	_strchr
	str	x22, [sp, #8]                   ; 8-byte Folded Spill
	add	x22, x0, #1
	ldr	w24, [x19, #84]
Lloh4:
	adrp	x21, _tipc_own_addr@GOTPAGE
Lloh5:
	ldr	x21, [x21, _tipc_own_addr@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_tipc_zone
	mov	x25, x0
	ldr	w0, [x21]
	bl	_tipc_cluster
	mov	x26, x0
	ldr	w0, [x21]
	bl	_tipc_node
	mov	x27, x0
	mov	x0, x23
	bl	_tipc_zone
	mov	x28, x0
	mov	x0, x23
	bl	_tipc_cluster
	mov	x21, x0
	mov	x0, x23
	bl	_tipc_node
	str	w0, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x24
	mov	x2, x25
	mov	x3, x26
	mov	x4, x27
	mov	x23, x22
	mov	x5, x22
	mov	x6, x28
	mov	x7, x21
	bl	_sprintf
	add	x0, x19, #80
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	mov	w2, #4
	bl	_memcpy
	mov	w22, #1
	str	w22, [x19]
	str	x20, [x19, #72]
	ldr	x8, [x20, #8]
	ldr	w1, [x8, #4]
	mov	x0, x19
	bl	_link_set_supervision_props
Lloh8:
	adrp	x8, _RESET_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RESET_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19, #68]
	add	x21, x19, #64
	str	x21, [x19, #56]
Lloh11:
	adrp	x8, _LINK_PROTOCOL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LINK_PROTOCOL@GOTPAGEOFF]
Lloh13:
	adrp	x9, _RESET_MSG@GOTPAGE
Lloh14:
	ldr	x9, [x9, _RESET_MSG@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
Lloh16:
	ldr	w2, [x9]
Lloh17:
	adrp	x8, _INT_H_SIZE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _INT_H_SIZE@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	ldr	w4, [x19, #52]
	mov	x0, x21
	bl	_msg_init
	mov	x0, x21
	mov	w1, #4
	bl	_msg_set_size
Lloh20:
	adrp	x8, _tipc_random@GOTPAGE
Lloh21:
	ldr	x8, [x8, _tipc_random@GOTPAGEOFF]
	ldrh	w1, [x8]
	mov	x0, x21
	bl	_msg_set_session
	ldr	w1, [x20, #20]
	mov	x0, x21
	bl	_msg_set_bearer_id
	mov	x0, x21
	bl	_msg_data
	mov	x1, x23
	bl	_strcpy
	ldr	w8, [x20, #16]
	str	w8, [x19, #48]
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_tipc_link_set_queue_limits
	mov	x0, x19
	bl	_link_init_max_pkt
	str	w22, [x19, #4]
	add	x0, x19, #44
	bl	_INIT_LIST_HEAD
	mov	x0, x19
	bl	_link_reset_statistics
	mov	x0, x19
	bl	_tipc_node_attach_link
	str	w0, [x19, #40]
	cbz	w0, LBB0_7
; %bb.5:
	add	x0, x19, #24
Lloh22:
	adrp	x8, _link_timeout@GOTPAGE
Lloh23:
	ldr	x8, [x8, _link_timeout@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x2, x19
	bl	_k_init_timer
	add	x0, x19, #20
	mov	x1, x20
	bl	_list_add_tail
Lloh25:
	adrp	x8, _tipc_link_start@GOTPAGE
Lloh26:
	ldr	x8, [x8, _tipc_link_start@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_tipc_k_signal
	ldp	w2, w1, [x19, #12]
	ldr	w3, [x19, #8]
Lloh28:
	adrp	x0, l_.str.3@PAGE
Lloh29:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_dbg
	b	LBB0_12
LBB0_6:
Lloh30:
	adrp	x0, l_.str@PAGE
Lloh31:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	b	LBB0_12
LBB0_7:
Lloh32:
	adrp	x8, _LINK_LOG_BUF_SIZE@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LINK_LOG_BUF_SIZE@GOTPAGEOFF]
Lloh34:
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.8:
	ldr	x0, [x19, #32]
	bl	_kfree
LBB0_9:
	mov	x0, x19
	bl	_kfree
	b	LBB0_11
LBB0_10:
	mov	x0, x19
	bl	_kfree
Lloh35:
	adrp	x0, l_.str.1@PAGE
Lloh36:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warn
LBB0_11:
	mov	x19, #0
LBB0_12:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh15
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Link creation failed, no memory\n"

	.comm	_LINK_LOG_BUF_SIZE,8,3          ; @LINK_LOG_BUF_SIZE
l_.str.1:                               ; @.str.1
	.asciz	"Link creation failed, no memory for print buffer\n"

l_.str.2:                               ; @.str.2
	.asciz	"%u.%u.%u:%s-%u.%u.%u:"

	.comm	_tipc_own_addr,4,2              ; @tipc_own_addr
	.comm	_RESET_UNKNOWN,4,2              ; @RESET_UNKNOWN
	.comm	_LINK_PROTOCOL,4,2              ; @LINK_PROTOCOL
	.comm	_RESET_MSG,4,2                  ; @RESET_MSG
	.comm	_INT_H_SIZE,4,2                 ; @INT_H_SIZE
	.comm	_tipc_random,4,2                ; @tipc_random
	.comm	_link_timeout,8,3               ; @link_timeout
	.comm	_tipc_link_start,8,3            ; @tipc_link_start
l_.str.3:                               ; @.str.3
	.asciz	"tipc_link_create(): tolerance = %u,cont intv = %u, abort_limit = %u\n"

.subsections_via_symbols
