	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_mcast_start_thread       ## -- Begin function ipoib_mcast_start_thread
	.p2align	4, 0x90
_ipoib_mcast_start_thread:              ## @ipoib_mcast_start_thread
	.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	%rdi, %rbx
	leaq	4(%rdi), %r14
	movl	4(%rdi), %edx
	leaq	L_.str(%rip), %rsi
	callq	_ipoib_dbg_mcast
	movq	_mcast_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_IPOIB_MCAST_RUN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	_ipoib_workqueue@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	_queue_delayed_work
LBB0_2:
	movq	_mcast_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"starting multicast thread flags 0x%lX\n"

	.comm	_mcast_mutex,4,2                ## @mcast_mutex
	.comm	_IPOIB_MCAST_RUN,4,2            ## @IPOIB_MCAST_RUN
	.comm	_ipoib_workqueue,4,2            ## @ipoib_workqueue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ipoib_mcast_start_thread       ; -- Begin function ipoib_mcast_start_thread
	.p2align	2
_ipoib_mcast_start_thread:              ; @ipoib_mcast_start_thread
	.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
	mov	x19, x0
	mov	x20, x0
	ldr	w2, [x20, #4]!
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_ipoib_dbg_mcast
Lloh2:
	adrp	x0, _mcast_mutex@GOTPAGE
Lloh3:
	ldr	x0, [x0, _mcast_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh4:
	adrp	x8, _IPOIB_MCAST_RUN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IPOIB_MCAST_RUN@GOTPAGEOFF]
Lloh6:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_set_bit
	cbnz	w0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _ipoib_workqueue@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ipoib_workqueue@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	mov	x1, x19
	mov	w2, #0
	bl	_queue_delayed_work
LBB0_2:
Lloh10:
	adrp	x0, _mcast_mutex@GOTPAGE
Lloh11:
	ldr	x0, [x0, _mcast_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"starting multicast thread flags 0x%lX\n"

	.comm	_mcast_mutex,4,2                ; @mcast_mutex
	.comm	_IPOIB_MCAST_RUN,4,2            ; @IPOIB_MCAST_RUN
	.comm	_ipoib_workqueue,4,2            ; @ipoib_workqueue
.subsections_via_symbols
