	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_mcast_send               ## -- Begin function ipoib_mcast_send
	.p2align	4, 0x90
_ipoib_mcast_send:                      ## @ipoib_mcast_send
	.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	%rdx, %r14
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	24(%rdi), %r15
	movq	_IPOIB_FLAG_OPER_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%rbx), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	8(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.2:
	movq	_IPOIB_MCAST_FLAG_ATTACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	___ipoib_mcast_find
	movq	%rax, %r12
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_ipoib_dbg_mcast
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ipoib_mcast_alloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	%rax, %r12
	movq	_IPOIB_MCAST_FLAG_SENDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r12), %rsi
	callq	_set_bit
	movl	28(%r12), %edi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	___ipoib_mcast_add
	movq	%r12, %rdi
	addq	$24, %rdi
	movq	%rbx, %rsi
	callq	_list_add_tail
LBB0_8:
	movq	(%r12), %rdx
	testq	%rdx, %rdx
	je	LBB0_9
## %bb.15:
	movq	_IB_MULTICAST_QPN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_send                     ## TAILCALL
LBB0_9:
	movq	16(%r12), %rax
	movq	_IPOIB_MAX_MCAST_QUEUE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_11
## %bb.10:
	leaq	16(%r12), %rdi
	movq	%r14, %rsi
	callq	__IF_ENQUEUE
	jmp	LBB0_12
LBB0_11:
	movq	_IFCOUNTER_OERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_if_inc_counter
	movq	%r14, %rdi
	callq	_m_freem
LBB0_12:
	movq	_IPOIB_MCAST_FLAG_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r12), %r14
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_13
## %bb.17:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_dbg_mcast                ## TAILCALL
LBB0_5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_ipoib_warn
LBB0_6:
	movq	_IFCOUNTER_OERRORS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_if_inc_counter
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_m_freem                        ## TAILCALL
LBB0_13:
	movq	_IPOIB_MCAST_FLAG_SENDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	%r12, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipoib_mcast_sendonly_join      ## TAILCALL
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_FLAG_OPER_UP,4,2         ## @IPOIB_FLAG_OPER_UP
	.comm	_IPOIB_MCAST_FLAG_ATTACHED,4,2  ## @IPOIB_MCAST_FLAG_ATTACHED
	.comm	_IFCOUNTER_OERRORS,4,2          ## @IFCOUNTER_OERRORS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting up send only multicast group for %16D\n"

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

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

	.comm	_IPOIB_MCAST_FLAG_SENDONLY,4,2  ## @IPOIB_MCAST_FLAG_SENDONLY
	.comm	_IPOIB_MAX_MCAST_QUEUE,8,3      ## @IPOIB_MAX_MCAST_QUEUE
	.comm	_IPOIB_MCAST_FLAG_BUSY,4,2      ## @IPOIB_MCAST_FLAG_BUSY
L_.str.3:                               ## @.str.3
	.asciz	"no address vector, but multicast join already started\n"

	.comm	_IB_MULTICAST_QPN,4,2           ## @IB_MULTICAST_QPN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_mcast_send               ; -- Begin function ipoib_mcast_send
	.p2align	2
_ipoib_mcast_send:                      ; @ipoib_mcast_send
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x2
	mov	x23, x1
	mov	x20, x0
	ldr	x21, [x0, #24]
Lloh0:
	adrp	x8, _IPOIB_FLAG_OPER_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_FLAG_OPER_UP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #16
	bl	_test_bit
	cbz	x0, LBB0_14
; %bb.1:
	ldr	x1, [x20, #8]
	cbz	x1, LBB0_14
; %bb.2:
Lloh3:
	adrp	x8, _IPOIB_MCAST_FLAG_ATTACHED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_ATTACHED@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_test_bit
	cbz	x0, LBB0_14
; %bb.3:
	mov	x0, x20
	mov	x1, x23
	bl	___ipoib_mcast_find
	mov	x22, x0
	cbz	x0, LBB0_6
; %bb.4:
	ldr	x2, [x22]
	cbz	x2, LBB0_8
LBB0_5:
Lloh6:
	adrp	x8, _IB_MULTICAST_QPN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_MULTICAST_QPN@GOTPAGEOFF]
Lloh8:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ipoib_send
LBB0_6:
Lloh9:
	adrp	x8, l_.str.1@PAGE
Lloh10:
	add	x8, x8, l_.str.1@PAGEOFF
	stp	x23, x8, [sp]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_ipoib_dbg_mcast
	mov	x0, x20
	mov	w1, #0
	bl	_ipoib_mcast_alloc
	cbz	x0, LBB0_13
; %bb.7:
	mov	x22, x0
Lloh13:
	adrp	x8, _IPOIB_MCAST_FLAG_SENDONLY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_SENDONLY@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	add	x1, x22, #8
	bl	_set_bit
	ldr	w0, [x22, #28]
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
	mov	x0, x20
	mov	x1, x22
	bl	___ipoib_mcast_add
	add	x0, x22, #24
	mov	x1, x20
	bl	_list_add_tail
	ldr	x2, [x22]
	cbnz	x2, LBB0_5
LBB0_8:
	mov	x0, x22
	ldr	x8, [x0, #16]!
Lloh16:
	adrp	x9, _IPOIB_MAX_MCAST_QUEUE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IPOIB_MAX_MCAST_QUEUE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_10
; %bb.9:
	mov	x1, x19
	bl	__IF_ENQUEUE
	b	LBB0_11
LBB0_10:
Lloh19:
	adrp	x8, _IFCOUNTER_OERRORS@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IFCOUNTER_OERRORS@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_if_inc_counter
	mov	x0, x19
	bl	_m_freem
LBB0_11:
Lloh22:
	adrp	x8, _IPOIB_MCAST_FLAG_BUSY@GOTPAGE
Lloh23:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_BUSY@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	add	x19, x22, #8
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_15
; %bb.12:
Lloh25:
	adrp	x1, l_.str.3@PAGE
Lloh26:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x20
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ipoib_dbg_mcast
LBB0_13:
Lloh27:
	adrp	x1, l_.str.2@PAGE
Lloh28:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x20
	bl	_ipoib_warn
LBB0_14:
Lloh29:
	adrp	x8, _IFCOUNTER_OERRORS@GOTPAGE
Lloh30:
	ldr	x8, [x8, _IFCOUNTER_OERRORS@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_if_inc_counter
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_m_freem
LBB0_15:
Lloh32:
	adrp	x8, _IPOIB_MCAST_FLAG_SENDONLY@GOTPAGE
Lloh33:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_SENDONLY@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_17
; %bb.16:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_ipoib_mcast_sendonly_join
LBB0_17:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_FLAG_OPER_UP,4,2         ; @IPOIB_FLAG_OPER_UP
	.comm	_IPOIB_MCAST_FLAG_ATTACHED,4,2  ; @IPOIB_MCAST_FLAG_ATTACHED
	.comm	_IFCOUNTER_OERRORS,4,2          ; @IFCOUNTER_OERRORS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting up send only multicast group for %16D\n"

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

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

	.comm	_IPOIB_MCAST_FLAG_SENDONLY,4,2  ; @IPOIB_MCAST_FLAG_SENDONLY
	.comm	_IPOIB_MAX_MCAST_QUEUE,8,3      ; @IPOIB_MAX_MCAST_QUEUE
	.comm	_IPOIB_MCAST_FLAG_BUSY,4,2      ; @IPOIB_MCAST_FLAG_BUSY
l_.str.3:                               ; @.str.3
	.asciz	"no address vector, but multicast join already started\n"

	.comm	_IB_MULTICAST_QPN,4,2           ; @IB_MULTICAST_QPN
.subsections_via_symbols
