	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bclink_init               ## -- Begin function tipc_bclink_init
	.p2align	4, 0x90
_tipc_bclink_init:                      ## @tipc_bclink_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
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movl	$80, %edi
	callq	_kzalloc
	movq	_bcbearer@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	movl	(%rbx), %esi
	movl	$80, %edi
	callq	_kzalloc
	movq	_bclink@GOTPCREL(%rip), %r15
	movq	%rax, (%r15)
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	addq	$8, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%r14), %rax
	leaq	72(%rax), %rcx
	movq	%rcx, (%rax)
	movq	_tipc_bcbearer_send@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%r14), %rcx
	movl	%eax, 76(%rcx)
	movl	72(%rcx), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_sprintf
	movq	(%r15), %rdi
	leaq	24(%rdi), %rax
	movq	_bcl@GOTPCREL(%rip), %r13
	movq	%rax, (%r13)
	addq	$64, %rdi
	callq	_INIT_LIST_HEAD
	movq	(%r13), %rax
	movl	$1, (%rax)
	movq	(%r15), %rdi
	addq	$16, %rdi
	callq	_spin_lock_init
	movq	(%r15), %rax
	addq	$16, %rax
	movq	(%r13), %rdi
	movq	%rax, 32(%rdi)
	movq	_MAX_PKT_DEFAULT_MCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rdi)
	movq	_BCLINK_WIN_DEFAULT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tipc_link_set_queue_limits
	movq	(%r14), %rax
	movq	(%r13), %rcx
	movq	%rax, 16(%rcx)
	movq	_WORKING_WORKING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%rcx)
	movl	8(%rcx), %edi
	movq	_tipc_bclink_name@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_TIPC_MAX_LINK_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strlcpy
	movq	_BCLINK_LOG_BUF_SIZE@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	xorl	%ebx, %ebx
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.4:
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	movq	(%r13), %rdi
	addq	$4, %rdi
	movq	(%r12), %rdx
	movq	%rax, %rsi
	callq	_tipc_printbuf_init
	jmp	LBB0_6
LBB0_2:
	leaq	L_.str(%rip), %rdi
	callq	_warn
	movq	(%r14), %rdi
	callq	_kfree
	movq	$0, (%r14)
	movq	(%r15), %rdi
	callq	_kfree
	movq	$0, (%r15)
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %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
	.comm	_bcbearer,8,3                   ## @bcbearer
	.comm	_bclink,8,3                     ## @bclink
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Multicast link creation failed, no memory\n"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_tipc_bcbearer_send,4,2         ## @tipc_bcbearer_send
L_.str.1:                               ## @.str.1
	.asciz	"tipc-multicast"

	.comm	_bcl,8,3                        ## @bcl
	.comm	_MAX_PKT_DEFAULT_MCAST,4,2      ## @MAX_PKT_DEFAULT_MCAST
	.comm	_BCLINK_WIN_DEFAULT,4,2         ## @BCLINK_WIN_DEFAULT
	.comm	_WORKING_WORKING,4,2            ## @WORKING_WORKING
	.comm	_tipc_bclink_name,4,2           ## @tipc_bclink_name
	.comm	_TIPC_MAX_LINK_NAME,4,2         ## @TIPC_MAX_LINK_NAME
	.comm	_BCLINK_LOG_BUF_SIZE,8,3        ## @BCLINK_LOG_BUF_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tipc_bclink_init               ; -- Begin function tipc_bclink_init
	.p2align	2
_tipc_bclink_init:                      ; @tipc_bclink_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
Lloh0:
	adrp	x21, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #80
	bl	_kzalloc
Lloh2:
	adrp	x19, _bcbearer@GOTPAGE
Lloh3:
	ldr	x19, [x19, _bcbearer@GOTPAGEOFF]
	str	x0, [x19]
	ldr	w1, [x21]
	mov	w0, #80
	bl	_kzalloc
Lloh4:
	adrp	x20, _bclink@GOTPAGE
Lloh5:
	ldr	x20, [x20, _bclink@GOTPAGEOFF]
	str	x0, [x20]
	ldr	x8, [x19]
	cmp	x8, #0
	ccmp	x0, #0, #4, ne
	b.ne	LBB0_2
LBB0_1:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_warn
	ldr	x0, [x19]
	bl	_kfree
	str	xzr, [x19]
	ldr	x0, [x20]
	bl	_kfree
	str	xzr, [x20]
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_5
LBB0_2:
	add	x0, x8, #8
	bl	_INIT_LIST_HEAD
	ldr	x8, [x19]
	add	x9, x8, #72
	str	x9, [x8]
Lloh11:
	adrp	x8, _tipc_bcbearer_send@GOTPAGE
Lloh12:
	ldr	x8, [x8, _tipc_bcbearer_send@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, #76]
	ldr	w0, [x9, #72]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_sprintf
	ldr	x8, [x20]
	add	x9, x8, #24
Lloh16:
	adrp	x22, _bcl@GOTPAGE
Lloh17:
	ldr	x22, [x22, _bcl@GOTPAGEOFF]
	str	x9, [x22]
	add	x0, x8, #64
	bl	_INIT_LIST_HEAD
	ldr	x8, [x22]
	mov	w9, #1
	str	w9, [x8]
	ldr	x8, [x20]
	add	x0, x8, #16
	bl	_spin_lock_init
	ldr	x8, [x20]
	add	x8, x8, #16
	ldr	x0, [x22]
Lloh18:
	adrp	x9, _MAX_PKT_DEFAULT_MCAST@GOTPAGE
Lloh19:
	ldr	x9, [x9, _MAX_PKT_DEFAULT_MCAST@GOTPAGEOFF]
	str	x8, [x0, #32]
Lloh20:
	ldr	w8, [x9]
	str	w8, [x0, #24]
Lloh21:
	adrp	x8, _BCLINK_WIN_DEFAULT@GOTPAGE
Lloh22:
	ldr	x8, [x8, _BCLINK_WIN_DEFAULT@GOTPAGEOFF]
Lloh23:
	ldr	w1, [x8]
	bl	_tipc_link_set_queue_limits
	ldr	x8, [x19]
	ldr	x9, [x22]
	str	x8, [x9, #16]
Lloh24:
	adrp	x8, _WORKING_WORKING@GOTPAGE
Lloh25:
	ldr	x8, [x8, _WORKING_WORKING@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
	str	w8, [x9, #12]
	ldr	w0, [x9, #8]
Lloh27:
	adrp	x8, _tipc_bclink_name@GOTPAGE
Lloh28:
	ldr	x8, [x8, _tipc_bclink_name@GOTPAGEOFF]
Lloh29:
	ldr	w1, [x8]
Lloh30:
	adrp	x8, _TIPC_MAX_LINK_NAME@GOTPAGE
Lloh31:
	ldr	x8, [x8, _TIPC_MAX_LINK_NAME@GOTPAGEOFF]
Lloh32:
	ldr	w2, [x8]
	bl	_strlcpy
Lloh33:
	adrp	x23, _BCLINK_LOG_BUF_SIZE@GOTPAGE
Lloh34:
	ldr	x23, [x23, _BCLINK_LOG_BUF_SIZE@GOTPAGEOFF]
	ldr	x0, [x23]
	cbz	x0, LBB0_5
; %bb.3:
	ldr	w1, [x21]
	bl	_kmalloc
	cbz	x0, LBB0_1
; %bb.4:
	mov	x1, x0
	ldr	x8, [x22]
	add	x0, x8, #4
	ldr	x2, [x23]
	bl	_tipc_printbuf_init
	mov	w0, #0
LBB0_5:
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_bcbearer,8,3                   ; @bcbearer
	.comm	_bclink,8,3                     ; @bclink
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Multicast link creation failed, no memory\n"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_tipc_bcbearer_send,4,2         ; @tipc_bcbearer_send
l_.str.1:                               ; @.str.1
	.asciz	"tipc-multicast"

	.comm	_bcl,8,3                        ; @bcl
	.comm	_MAX_PKT_DEFAULT_MCAST,4,2      ; @MAX_PKT_DEFAULT_MCAST
	.comm	_BCLINK_WIN_DEFAULT,4,2         ; @BCLINK_WIN_DEFAULT
	.comm	_WORKING_WORKING,4,2            ; @WORKING_WORKING
	.comm	_tipc_bclink_name,4,2           ; @tipc_bclink_name
	.comm	_TIPC_MAX_LINK_NAME,4,2         ; @TIPC_MAX_LINK_NAME
	.comm	_BCLINK_LOG_BUF_SIZE,8,3        ; @BCLINK_LOG_BUF_SIZE
.subsections_via_symbols
