	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_process_maddr
_ipoib_process_maddr:                   ## @ipoib_process_maddr
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rdi), %r13
	movq	%rsi, %rdi
	callq	_LLADDR
	movq	%rax, %r15
	movl	(%rbx), %esi
	movq	24(%r13), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	callq	_ipoib_mcast_addr_is_valid
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_13
## %bb.1:
	addq	$16, %r15
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	___ipoib_mcast_find
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	_IPOIB_MCAST_FLAG_SENDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_11
LBB0_3:
	movq	_IPOIB_FLAG_UMCAST@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r13), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	8(%r13), %esi
	movl	12(%r13), %edi
	leaq	-48(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	callq	_ib_sa_get_mcmember_rec
	testl	%eax, %eax
	je	LBB0_5
LBB0_6:
	movl	-48(%rbp), %edx
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	callq	_ipoib_dbg_mcast
	xorl	%r12d, %r12d
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_ipoib_mcast_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%rax, %rbx
	movq	_IPOIB_MCAST_FLAG_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_set_bit
	movl	-48(%rbp), %eax
	movl	%eax, 12(%rbx)
	testq	%r15, %r15
	je	LBB0_9
## %bb.10:
	leaq	4(%r15), %rdi
	movq	%r14, %rsi
	callq	_list_move_tail
	movq	%r15, %rdi
	addq	$8, %rdi
	leaq	8(%rbx), %rsi
	leaq	4(%r13), %rdx
	callq	_rb_replace_node
	addq	$4, %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_list_add_tail
LBB0_11:
	movq	_IPOIB_MCAST_FLAG_FOUND@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_set_bit
	jmp	LBB0_12
LBB0_7:
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_ipoib_warn
	jmp	LBB0_13
LBB0_5:
	movl	-48(%rbp), %edx
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r13, %rdi
	callq	_ipoib_dbg_mcast
	jmp	LBB0_13
LBB0_9:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	___ipoib_mcast_add
	addq	$4, %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_list_add_tail
LBB0_12:
	movl	$1, %r12d
LBB0_13:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_MCAST_FLAG_SENDONLY,4,2  ## @IPOIB_MCAST_FLAG_SENDONLY
	.comm	_IPOIB_FLAG_UMCAST,4,2          ## @IPOIB_FLAG_UMCAST
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring multicast entry for mgid %16D\n"

L_.str.1:                               ## @.str.1
	.asciz	":"

L_.str.2:                               ## @.str.2
	.asciz	"adding multicast entry for mgid %16D\n"

L_.str.3:                               ## @.str.3
	.asciz	"unable to allocate memory for multicast structure\n"

	.comm	_IPOIB_MCAST_FLAG_FOUND,4,2     ## @IPOIB_MCAST_FLAG_FOUND
	.no_dead_strip	_ipoib_process_maddr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_process_maddr
_ipoib_process_maddr:                   ; @ipoib_process_maddr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x22, x1
	mov	x20, x0
	ldr	x19, [x0, #8]
	mov	x0, x1
	bl	_LLADDR
	mov	x21, x0
	ldr	w1, [x22]
	ldr	x8, [x19, #24]
	ldr	w2, [x8]
	bl	_ipoib_mcast_addr_is_valid
	cbz	w0, LBB0_13
; %bb.1:
	add	x1, x21, #16
	mov	w2, #4
	bl	_memcpy
	mov	x1, sp
	mov	x0, x19
	bl	___ipoib_mcast_find
	mov	x21, x0
	cbz	x0, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _IPOIB_MCAST_FLAG_SENDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_SENDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_test_bit
	cbz	x0, LBB0_8
LBB0_3:
Lloh3:
	adrp	x8, _IPOIB_FLAG_UMCAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPOIB_FLAG_UMCAST@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	x0, LBB0_5
; %bb.4:
	ldp	w1, w0, [x19, #8]
	mov	x2, sp
	add	x3, sp, #8
	bl	_ib_sa_get_mcmember_rec
	cbz	w0, LBB0_10
LBB0_5:
	ldr	w2, [sp]
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg_mcast
	mov	x0, x19
	mov	w1, #0
	bl	_ipoib_mcast_alloc
	cbz	x0, LBB0_9
; %bb.6:
	mov	x22, x0
Lloh10:
	adrp	x8, _IPOIB_MCAST_FLAG_FOUND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_FOUND@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	mov	x1, x22
	bl	_set_bit
	ldr	w8, [sp]
	str	w8, [x22, #12]
	cbz	x21, LBB0_11
; %bb.7:
	add	x0, x21, #4
	mov	x1, x20
	bl	_list_move_tail
	add	x0, x21, #8
	add	x1, x22, #8
	add	x2, x19, #4
	bl	_rb_replace_node
	add	x0, x22, #4
	mov	x1, x19
	bl	_list_add_tail
LBB0_8:
Lloh13:
	adrp	x8, _IPOIB_MCAST_FLAG_FOUND@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_FOUND@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	mov	x1, x21
	bl	_set_bit
	b	LBB0_12
LBB0_9:
Lloh16:
	adrp	x1, l_.str.3@PAGE
Lloh17:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	mov	w0, #0
	b	LBB0_13
LBB0_10:
	ldr	w2, [sp]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
Lloh20:
	adrp	x3, l_.str.1@PAGE
Lloh21:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg_mcast
	mov	w0, #0
	b	LBB0_13
LBB0_11:
	mov	x0, x19
	mov	x1, x22
	bl	___ipoib_mcast_add
	add	x0, x22, #4
	mov	x1, x19
	bl	_list_add_tail
LBB0_12:
	mov	w0, #1
LBB0_13:
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_MCAST_FLAG_SENDONLY,4,2  ; @IPOIB_MCAST_FLAG_SENDONLY
	.comm	_IPOIB_FLAG_UMCAST,4,2          ; @IPOIB_FLAG_UMCAST
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring multicast entry for mgid %16D\n"

l_.str.1:                               ; @.str.1
	.asciz	":"

l_.str.2:                               ; @.str.2
	.asciz	"adding multicast entry for mgid %16D\n"

l_.str.3:                               ; @.str.3
	.asciz	"unable to allocate memory for multicast structure\n"

	.comm	_IPOIB_MCAST_FLAG_FOUND,4,2     ; @IPOIB_MCAST_FLAG_FOUND
	.no_dead_strip	_ipoib_process_maddr
.subsections_via_symbols
