	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcast_init                     ## -- Begin function mcast_init
	.p2align	4, 0x90
_mcast_init:                            ## @mcast_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	leaq	L_.str(%rip), %rdi
	callq	_create_singlethread_workqueue
	movq	_mcast_wq@GOTPCREL(%rip), %r14
	movl	%eax, (%r14)
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_sa_client@GOTPCREL(%rip), %rdi
	callq	_ib_sa_register_client
	movq	_mcast_client@GOTPCREL(%rip), %rdi
	callq	_ib_register_client
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	movl	%eax, %ebx
	movq	_sa_client@GOTPCREL(%rip), %rdi
	callq	_ib_sa_unregister_client
	movl	(%r14), %edi
	callq	_destroy_workqueue
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_3:
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ib_mcast"

	.comm	_mcast_wq,4,2                   ## @mcast_wq
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_sa_client,4,2                  ## @sa_client
	.comm	_mcast_client,4,2               ## @mcast_client
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mcast_init                     ; -- Begin function mcast_init
	.p2align	2
_mcast_init:                            ; @mcast_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_create_singlethread_workqueue
Lloh2:
	adrp	x20, _mcast_wq@GOTPAGE
Lloh3:
	ldr	x20, [x20, _mcast_wq@GOTPAGEOFF]
	str	w0, [x20]
	cbz	w0, LBB0_3
; %bb.1:
Lloh4:
	adrp	x0, _sa_client@GOTPAGE
Lloh5:
	ldr	x0, [x0, _sa_client@GOTPAGEOFF]
	bl	_ib_sa_register_client
Lloh6:
	adrp	x0, _mcast_client@GOTPAGE
Lloh7:
	ldr	x0, [x0, _mcast_client@GOTPAGEOFF]
	bl	_ib_register_client
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.2:
Lloh8:
	adrp	x0, _sa_client@GOTPAGE
Lloh9:
	ldr	x0, [x0, _sa_client@GOTPAGEOFF]
	bl	_ib_sa_unregister_client
	ldr	w0, [x20]
	bl	_destroy_workqueue
	b	LBB0_4
LBB0_3:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ib_mcast"

	.comm	_mcast_wq,4,2                   ; @mcast_wq
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_sa_client,4,2                  ; @sa_client
	.comm	_mcast_client,4,2               ; @mcast_client
.subsections_via_symbols
