	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_mcast_sendonly_join
_ipoib_mcast_sendonly_join:             ## @ipoib_mcast_sendonly_join
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %rdi
	callq	_netdev_priv
	movq	%rax, %r14
	movl	$1, -48(%rbp)
	movq	_IPOIB_FLAG_OPER_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	16(%r14), %rsi
	callq	_test_bit
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movq	_IPOIB_MCAST_FLAG_BUSY@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	leaq	4(%rbx), %r15
	movq	%r15, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_dbg_mcast
	movq	_EBUSY@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_1:
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_dbg_mcast
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_4:
	movl	(%rbx), %eax
	movl	%eax, -36(%rbp)
	movl	12(%r14), %eax
	movl	%eax, -40(%rbp)
	movl	8(%r14), %edi
	callq	_cpu_to_be16
	movl	%eax, -44(%rbp)
	movq	_IB_SA_MCMEMBER_REC_MGID@GOTPCREL(%rip), %rax
	movq	_IB_SA_MCMEMBER_REC_PORT_GID@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%rax), %r8d
	movl	(%r14), %edx
	movq	_IB_SA_MCMEMBER_REC_PKEY@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movl	4(%r14), %esi
	movq	_IB_SA_MCMEMBER_REC_JOIN_STATE@GOTPCREL(%rip), %rax
	orl	(%rax), %r8d
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_ipoib_mcast_sendonly_join_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_ipoib_sa_client@GOTPCREL(%rip), %rdi
	leaq	-48(%rbp), %rcx
	pushq	%rbx
	pushq	%rax
	callq	_ib_sa_join_multicast
	addq	$16, %rsp
	movl	%eax, 8(%rbx)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	8(%rbx), %edi
	callq	_PTR_ERR
	movl	%eax, %ebx
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_clear_bit
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_ipoib_warn
	jmp	LBB0_7
LBB0_6:
	movl	(%rbx), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_dbg_mcast
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_FLAG_OPER_UP,4,2         ## @IPOIB_FLAG_OPER_UP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"device shutting down, no multicast joins\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_IPOIB_MCAST_FLAG_BUSY,4,2      ## @IPOIB_MCAST_FLAG_BUSY
L_.str.1:                               ## @.str.1
	.asciz	"multicast entry busy, skipping\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_ipoib_sa_client,4,2            ## @ipoib_sa_client
	.comm	_IB_SA_MCMEMBER_REC_MGID,4,2    ## @IB_SA_MCMEMBER_REC_MGID
	.comm	_IB_SA_MCMEMBER_REC_PORT_GID,4,2 ## @IB_SA_MCMEMBER_REC_PORT_GID
	.comm	_IB_SA_MCMEMBER_REC_PKEY,4,2    ## @IB_SA_MCMEMBER_REC_PKEY
	.comm	_IB_SA_MCMEMBER_REC_JOIN_STATE,4,2 ## @IB_SA_MCMEMBER_REC_JOIN_STATE
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ipoib_mcast_sendonly_join_complete,4,2 ## @ipoib_mcast_sendonly_join_complete
L_.str.2:                               ## @.str.2
	.asciz	"ib_sa_join_multicast failed (ret = %d)\n"

L_.str.3:                               ## @.str.3
	.asciz	"no multicast record for %pI6, starting join\n"

	.no_dead_strip	_ipoib_mcast_sendonly_join
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_mcast_sendonly_join
_ipoib_mcast_sendonly_join:             ; @ipoib_mcast_sendonly_join
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x20, x0
	ldr	x0, [x0, #16]
	bl	_netdev_priv
	mov	x19, x0
	mov	w8, #1
	str	w8, [sp, #16]
Lloh0:
	adrp	x8, _IPOIB_FLAG_OPER_UP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_FLAG_OPER_UP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x19, #16
	bl	_test_bit
	cbz	w0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x22, _IPOIB_MCAST_FLAG_BUSY@GOTPAGE
Lloh4:
	ldr	x22, [x22, _IPOIB_MCAST_FLAG_BUSY@GOTPAGEOFF]
	ldr	w0, [x22]
	add	x21, x20, #4
	mov	x1, x21
	bl	_test_and_set_bit
	cbz	x0, LBB0_6
; %bb.2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg_mcast
Lloh7:
	adrp	x8, _EBUSY@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg_mcast
Lloh11:
	adrp	x8, _ENODEV@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_4:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_5:
	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
	add	sp, sp, #80
	ret
LBB0_6:
	ldr	w8, [x20]
	str	w8, [sp, #28]
	ldr	w8, [x19, #12]
	str	w8, [sp, #24]
	ldr	w0, [x19, #8]
	bl	_cpu_to_be16
	str	w0, [sp, #20]
	ldp	w2, w1, [x19]
Lloh13:
	adrp	x8, _IB_SA_MCMEMBER_REC_MGID@GOTPAGE
Lloh14:
	ldr	x8, [x8, _IB_SA_MCMEMBER_REC_MGID@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _IB_SA_MCMEMBER_REC_PORT_GID@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IB_SA_MCMEMBER_REC_PORT_GID@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh19:
	adrp	x9, _IB_SA_MCMEMBER_REC_PKEY@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IB_SA_MCMEMBER_REC_PKEY@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh22:
	adrp	x9, _IB_SA_MCMEMBER_REC_JOIN_STATE@GOTPAGE
Lloh23:
	ldr	x9, [x9, _IB_SA_MCMEMBER_REC_JOIN_STATE@GOTPAGEOFF]
Lloh24:
	ldr	w9, [x9]
	orr	w4, w8, w9
Lloh25:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh27:
	ldr	w5, [x8]
Lloh28:
	adrp	x8, _ipoib_mcast_sendonly_join_complete@GOTPAGE
Lloh29:
	ldr	x8, [x8, _ipoib_mcast_sendonly_join_complete@GOTPAGEOFF]
Lloh30:
	ldr	w6, [x8]
Lloh31:
	adrp	x0, _ipoib_sa_client@GOTPAGE
Lloh32:
	ldr	x0, [x0, _ipoib_sa_client@GOTPAGEOFF]
	add	x3, sp, #16
	mov	x7, x20
	bl	_ib_sa_join_multicast
	str	w0, [x20, #8]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x20, #8]
	bl	_PTR_ERR
	mov	x20, x0
	ldr	w0, [x22]
	mov	x1, x21
	bl	_clear_bit
Lloh33:
	adrp	x1, l_.str.2@PAGE
Lloh34:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	x2, x20
	bl	_ipoib_warn
	b	LBB0_5
LBB0_8:
	ldr	w8, [x20]
	str	x8, [sp]
Lloh35:
	adrp	x1, l_.str.3@PAGE
Lloh36:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg_mcast
	mov	w20, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_FLAG_OPER_UP,4,2         ; @IPOIB_FLAG_OPER_UP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"device shutting down, no multicast joins\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_IPOIB_MCAST_FLAG_BUSY,4,2      ; @IPOIB_MCAST_FLAG_BUSY
l_.str.1:                               ; @.str.1
	.asciz	"multicast entry busy, skipping\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_ipoib_sa_client,4,2            ; @ipoib_sa_client
	.comm	_IB_SA_MCMEMBER_REC_MGID,4,2    ; @IB_SA_MCMEMBER_REC_MGID
	.comm	_IB_SA_MCMEMBER_REC_PORT_GID,4,2 ; @IB_SA_MCMEMBER_REC_PORT_GID
	.comm	_IB_SA_MCMEMBER_REC_PKEY,4,2    ; @IB_SA_MCMEMBER_REC_PKEY
	.comm	_IB_SA_MCMEMBER_REC_JOIN_STATE,4,2 ; @IB_SA_MCMEMBER_REC_JOIN_STATE
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ipoib_mcast_sendonly_join_complete,4,2 ; @ipoib_mcast_sendonly_join_complete
l_.str.2:                               ; @.str.2
	.asciz	"ib_sa_join_multicast failed (ret = %d)\n"

l_.str.3:                               ; @.str.3
	.asciz	"no multicast record for %pI6, starting join\n"

	.no_dead_strip	_ipoib_mcast_sendonly_join
.subsections_via_symbols
