	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxe_mcast_get_grp              ## -- Begin function rxe_mcast_get_grp
	.p2align	4, 0x90
_rxe_mcast_get_grp:                     ## @rxe_mcast_get_grp
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpq	$0, 8(%rdi)
	je	LBB0_1
## %bb.3:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_rxe_pool_get_key
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_4
LBB0_7:
	movq	%r12, (%r14)
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_4:
	movq	%rbx, %rdi
	callq	_rxe_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %r12
	leaq	12(%rax), %rdi
	callq	_INIT_LIST_HEAD
	movq	%r12, %rdi
	addq	$8, %rdi
	callq	_spin_lock_init
	movq	%rbx, (%r12)
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_rxe_add_key
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_rxe_mcast_add
	testl	%eax, %eax
	je	LBB0_7
## %bb.8:
	movl	%eax, %ebx
	movq	%r12, %rdi
	callq	_rxe_drop_ref
	jmp	LBB0_9
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rxe_mcast_get_grp              ; -- Begin function rxe_mcast_get_grp
	.p2align	2
_rxe_mcast_get_grp:                     ; @rxe_mcast_get_grp
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
; %bb.1:
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	bl	_rxe_pool_get_key
	mov	x22, x0
	cbz	x0, LBB0_4
LBB0_2:
	mov	w20, #0
	str	x22, [x19]
	b	LBB0_9
LBB0_3:
Lloh0:
	adrp	x8, _EINVAL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
	mov	x0, x21
	bl	_rxe_alloc
	cbz	x0, LBB0_7
; %bb.5:
	mov	x22, x0
	add	x0, x0, #12
	bl	_INIT_LIST_HEAD
	add	x0, x22, #8
	bl	_spin_lock_init
	str	x21, [x22]
	mov	x0, x22
	mov	x1, x20
	bl	_rxe_add_key
	mov	x0, x21
	mov	x1, x20
	bl	_rxe_mcast_add
	cbz	w0, LBB0_2
; %bb.6:
	mov	x20, x0
	mov	x0, x22
	bl	_rxe_drop_ref
	b	LBB0_9
LBB0_7:
Lloh2:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_9:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
