	.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
	movq	_WQ_MEM_RECLAIM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdi
	callq	_alloc_ordered_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	_WQ_MEM_RECLAIM,4,2             ## @WQ_MEM_RECLAIM
	.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	x8, _WQ_MEM_RECLAIM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WQ_MEM_RECLAIM@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_alloc_ordered_workqueue
Lloh5:
	adrp	x20, _mcast_wq@GOTPAGE
Lloh6:
	ldr	x20, [x20, _mcast_wq@GOTPAGEOFF]
	str	w0, [x20]
	cbz	w0, LBB0_3
; %bb.1:
Lloh7:
	adrp	x0, _sa_client@GOTPAGE
Lloh8:
	ldr	x0, [x0, _sa_client@GOTPAGEOFF]
	bl	_ib_sa_register_client
Lloh9:
	adrp	x0, _mcast_client@GOTPAGE
Lloh10:
	ldr	x0, [x0, _mcast_client@GOTPAGEOFF]
	bl	_ib_register_client
	mov	x19, x0
	cbz	w0, LBB0_4
; %bb.2:
Lloh11:
	adrp	x0, _sa_client@GOTPAGE
Lloh12:
	ldr	x0, [x0, _sa_client@GOTPAGEOFF]
	bl	_ib_sa_unregister_client
	ldr	w0, [x20]
	bl	_destroy_workqueue
	b	LBB0_4
LBB0_3:
Lloh13:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh15:
	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	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ib_mcast"

	.comm	_WQ_MEM_RECLAIM,4,2             ; @WQ_MEM_RECLAIM
	.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
