	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_mcast_join_complete
_ipoib_mcast_join_complete:             ## @ipoib_mcast_join_complete
	.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	%rsi, %r13
	movl	%edi, %ebx
	movq	8(%rsi), %r12
	movq	16(%r12), %r14
	movl	8(%r12), %edx
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	callq	_ipoib_dbg_mcast
	movq	_ENETRESET@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_15
## %bb.1:
	testl	%ebx, %ebx
	jne	LBB0_7
## %bb.2:
	movq	%r12, %rdi
	movq	%r13, %rsi
	callq	_ipoib_mcast_join_finish
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_3
LBB0_7:
	movl	12(%r12), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 12(%r12)
	cmpl	$19, %eax
	jg	LBB0_12
## %bb.8:
	movq	_ETIMEDOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	je	LBB0_10
## %bb.9:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_11
LBB0_10:
	movl	8(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	callq	_ipoib_dbg_mcast
	jmp	LBB0_12
LBB0_3:
	movl	$1, (%r12)
	movq	_mcast_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_IPOIB_MCAST_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	xorl	%edx, %edx
	callq	_queue_delayed_work
LBB0_5:
	movq	_mcast_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	cmpq	16(%r14), %r12
	jne	LBB0_15
## %bb.6:
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$12, %r14
	movq	%r14, %rsi
	callq	_queue_work
	jmp	LBB0_15
LBB0_11:
	movl	8(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%r14, %rdi
	movl	%ebx, %r8d
	callq	_ipoib_warn
LBB0_12:
	movl	(%r12), %eax
	addl	%eax, %eax
	movl	%eax, (%r12)
	movq	_IPOIB_MAX_BACKOFF_SECONDS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	cmpl	%ecx, %eax
	cmovgel	%ecx, %eax
	movl	%eax, (%r12)
	movq	_IPOIB_MCAST_FLAG_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r12), %rsi
	callq	_test_and_clear_bit
	movl	%eax, %r15d
	movq	_mcast_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	_IPOIB_MCAST_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%r14), %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	4(%r14), %rsi
	movq	_HZ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	imull	(%r12), %edx
	callq	_queue_delayed_work
LBB0_14:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movq	_mcast_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
LBB0_15:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"join completion for %16D (status %d)\n"

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

	.comm	_ENETRESET,4,2                  ## @ENETRESET
	.comm	_mcast_mutex,4,2                ## @mcast_mutex
	.comm	_IPOIB_MCAST_RUN,4,2            ## @IPOIB_MCAST_RUN
	.comm	_ipoib_workqueue,4,2            ## @ipoib_workqueue
	.comm	_ETIMEDOUT,4,2                  ## @ETIMEDOUT
	.comm	_EAGAIN,4,2                     ## @EAGAIN
L_.str.2:                               ## @.str.2
	.asciz	"multicast join failed for %16D, status %d\n"

	.comm	_IPOIB_MAX_BACKOFF_SECONDS,4,2  ## @IPOIB_MAX_BACKOFF_SECONDS
	.comm	_IPOIB_MCAST_FLAG_BUSY,4,2      ## @IPOIB_MCAST_FLAG_BUSY
	.comm	_HZ,4,2                         ## @HZ
	.no_dead_strip	_ipoib_mcast_join_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_mcast_join_complete
_ipoib_mcast_join_complete:             ; @ipoib_mcast_join_complete
	.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
	mov	x22, x1
	mov	x21, x0
	ldr	x20, [x1, #8]
	ldr	x19, [x20, #16]
	ldr	w2, [x20, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x4, x21
	bl	_ipoib_dbg_mcast
Lloh4:
	adrp	x8, _ENETRESET@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENETRESET@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	cmn	w8, w21
	b.ne	LBB0_2
LBB0_1:
	mov	w21, #0
	b	LBB0_16
LBB0_2:
	cbnz	w21, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x22
	bl	_ipoib_mcast_join_finish
	mov	x21, x0
	cbz	w0, LBB0_8
LBB0_4:
	ldr	w8, [x20, #12]
	add	w9, w8, #1
	str	w9, [x20, #12]
	cmp	w8, #19
	b.gt	LBB0_13
; %bb.5:
Lloh7:
	adrp	x8, _ETIMEDOUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ETIMEDOUT@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	cmn	w21, w8
	b.eq	LBB0_7
; %bb.6:
Lloh10:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	cmn	w21, w8
	b.ne	LBB0_12
LBB0_7:
	ldr	w2, [x20, #8]
Lloh13:
	adrp	x1, l_.str.2@PAGE
Lloh14:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh15:
	adrp	x3, l_.str.1@PAGE
Lloh16:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x4, x21
	bl	_ipoib_dbg_mcast
	b	LBB0_13
LBB0_8:
	mov	w8, #1
	str	w8, [x20]
Lloh17:
	adrp	x0, _mcast_mutex@GOTPAGE
Lloh18:
	ldr	x0, [x0, _mcast_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh19:
	adrp	x8, _IPOIB_MCAST_RUN@GOTPAGE
Lloh20:
	ldr	x8, [x8, _IPOIB_MCAST_RUN@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	x0, LBB0_10
; %bb.9:
Lloh22:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	add	x1, x19, #4
	mov	w2, #0
	bl	_queue_delayed_work
LBB0_10:
Lloh25:
	adrp	x0, _mcast_mutex@GOTPAGE
Lloh26:
	ldr	x0, [x0, _mcast_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	ldr	x8, [x19, #16]
	cmp	x20, x8
	b.ne	LBB0_1
; %bb.11:
Lloh27:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	add	x1, x19, #12
	bl	_queue_work
	mov	w21, #0
	b	LBB0_16
LBB0_12:
	ldr	w2, [x20, #8]
Lloh30:
	adrp	x1, l_.str.2@PAGE
Lloh31:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh32:
	adrp	x3, l_.str.1@PAGE
Lloh33:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x4, x21
	bl	_ipoib_warn
LBB0_13:
	ldr	w8, [x20]
	lsl	w8, w8, #1
	str	w8, [x20]
Lloh34:
	adrp	x9, _IPOIB_MAX_BACKOFF_SECONDS@GOTPAGE
Lloh35:
	ldr	x9, [x9, _IPOIB_MAX_BACKOFF_SECONDS@GOTPAGEOFF]
Lloh36:
	ldr	w9, [x9]
	cmp	w8, w9
	csel	w8, w8, w9, lt
	mov	x1, x20
	str	w8, [x1], #4
Lloh37:
	adrp	x8, _IPOIB_MCAST_FLAG_BUSY@GOTPAGE
Lloh38:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_BUSY@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
	bl	_test_and_clear_bit
	mov	x21, x0
Lloh40:
	adrp	x0, _mcast_mutex@GOTPAGE
Lloh41:
	ldr	x0, [x0, _mcast_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	mov	x0, x19
	bl	_spin_lock_irq
Lloh42:
	adrp	x8, _IPOIB_MCAST_RUN@GOTPAGE
Lloh43:
	ldr	x8, [x8, _IPOIB_MCAST_RUN@GOTPAGEOFF]
Lloh44:
	ldr	w0, [x8]
	add	x1, x19, #8
	bl	_test_bit
	cbz	x0, LBB0_15
; %bb.14:
Lloh45:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh46:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh47:
	ldr	w0, [x8]
	add	x1, x19, #4
	ldr	w8, [x20]
Lloh48:
	adrp	x9, _HZ@GOTPAGE
Lloh49:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	mul	w2, w9, w8
	bl	_queue_delayed_work
LBB0_15:
	mov	x0, x19
	bl	_spin_unlock_irq
Lloh51:
	adrp	x0, _mcast_mutex@GOTPAGE
Lloh52:
	ldr	x0, [x0, _mcast_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
LBB0_16:
	mov	x0, x21
	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 AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGot	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGot	Lloh51, Lloh52
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"join completion for %16D (status %d)\n"

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

	.comm	_ENETRESET,4,2                  ; @ENETRESET
	.comm	_mcast_mutex,4,2                ; @mcast_mutex
	.comm	_IPOIB_MCAST_RUN,4,2            ; @IPOIB_MCAST_RUN
	.comm	_ipoib_workqueue,4,2            ; @ipoib_workqueue
	.comm	_ETIMEDOUT,4,2                  ; @ETIMEDOUT
	.comm	_EAGAIN,4,2                     ; @EAGAIN
l_.str.2:                               ; @.str.2
	.asciz	"multicast join failed for %16D, status %d\n"

	.comm	_IPOIB_MAX_BACKOFF_SECONDS,4,2  ; @IPOIB_MAX_BACKOFF_SECONDS
	.comm	_IPOIB_MCAST_FLAG_BUSY,4,2      ; @IPOIB_MCAST_FLAG_BUSY
	.comm	_HZ,4,2                         ; @HZ
	.no_dead_strip	_ipoib_mcast_join_complete
.subsections_via_symbols
