	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipoib_mcast_leave
_ipoib_mcast_leave:                     ## @ipoib_mcast_leave
	.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, %rbx
	movq	%rdi, %r15
	callq	_ipoib_priv
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_netdev_priv
	movq	%rax, %r12
	movq	_IPOIB_MCAST_FLAG_BUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_ipoib_warn
LBB0_2:
	movl	12(%rbx), %edi
	callq	_IS_ERR_OR_NULL
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:
	movl	12(%rbx), %edi
	callq	_ib_sa_free_multicast
LBB0_4:
	movq	_IPOIB_MCAST_FLAG_ATTACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	8(%rbx), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	8(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_ipoib_dbg_mcast
	movq	(%r12), %r13
	movl	(%r14), %r12d
	movl	4(%rbx), %edi
	callq	_be16_to_cpu
	movq	%r15, %rdi
	movl	%r12d, %esi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, %ecx
	callq	*%r13
	testl	%eax, %eax
	je	LBB0_9
## %bb.6:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_ipoib_warn
	jmp	LBB0_9
LBB0_7:
	movq	_IPOIB_MCAST_FLAG_SENDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testl	%eax, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	callq	_ipoib_dbg
LBB0_9:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPOIB_MCAST_FLAG_BUSY,4,2      ## @IPOIB_MCAST_FLAG_BUSY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ipoib_mcast_leave on an in-flight join\n"

	.comm	_IPOIB_MCAST_FLAG_ATTACHED,4,2  ## @IPOIB_MCAST_FLAG_ATTACHED
L_.str.1:                               ## @.str.1
	.asciz	"leaving MGID %pI6\n"

L_.str.2:                               ## @.str.2
	.asciz	"ib_detach_mcast failed (result = %d)\n"

	.comm	_IPOIB_MCAST_FLAG_SENDONLY,4,2  ## @IPOIB_MCAST_FLAG_SENDONLY
L_.str.3:                               ## @.str.3
	.asciz	"leaving with no mcmember but not a SENDONLY join\n"

	.no_dead_strip	_ipoib_mcast_leave
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipoib_mcast_leave
_ipoib_mcast_leave:                     ; @ipoib_mcast_leave
	.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	x20, x1
	mov	x21, x0
	bl	_ipoib_priv
	mov	x19, x0
	mov	x0, x21
	bl	_netdev_priv
	mov	x22, x0
Lloh0:
	adrp	x8, _IPOIB_MCAST_FLAG_BUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_BUSY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
LBB0_2:
	ldr	w0, [x20, #12]
	bl	_IS_ERR_OR_NULL
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x20, #12]
	bl	_ib_sa_free_multicast
LBB0_4:
Lloh5:
	adrp	x8, _IPOIB_MCAST_FLAG_ATTACHED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_ATTACHED@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_and_clear_bit
	cbz	x0, LBB0_7
; %bb.5:
	ldr	w2, [x20, #8]!
Lloh8:
	adrp	x1, l_.str.1@PAGE
Lloh9:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg_mcast
	ldr	x23, [x22]
	ldr	w22, [x19]
	ldur	w0, [x20, #-4]
	bl	_be16_to_cpu
	mov	x3, x0
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	blr	x23
                                        ; kill: def $w0 killed $w0 def $x0
	cbz	w0, LBB0_9
; %bb.6:
	str	x0, [sp]
Lloh10:
	adrp	x1, l_.str.2@PAGE
Lloh11:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_ipoib_warn
	b	LBB0_9
LBB0_7:
Lloh12:
	adrp	x8, _IPOIB_MCAST_FLAG_SENDONLY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IPOIB_MCAST_FLAG_SENDONLY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbnz	w0, LBB0_9
; %bb.8:
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_ipoib_dbg
LBB0_9:
	mov	w0, #0
	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 AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_IPOIB_MCAST_FLAG_BUSY,4,2      ; @IPOIB_MCAST_FLAG_BUSY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ipoib_mcast_leave on an in-flight join\n"

	.comm	_IPOIB_MCAST_FLAG_ATTACHED,4,2  ; @IPOIB_MCAST_FLAG_ATTACHED
l_.str.1:                               ; @.str.1
	.asciz	"leaving MGID %pI6\n"

l_.str.2:                               ; @.str.2
	.asciz	"ib_detach_mcast failed (result = %d)\n"

	.comm	_IPOIB_MCAST_FLAG_SENDONLY,4,2  ; @IPOIB_MCAST_FLAG_SENDONLY
l_.str.3:                               ; @.str.3
	.asciz	"leaving with no mcmember but not a SENDONLY join\n"

	.no_dead_strip	_ipoib_mcast_leave
.subsections_via_symbols
