	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function join_handler
_join_handler:                          ## @join_handler
	.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, %rbx
	movq	_MCAST_INVALID_PKEY_INDEX@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	movq	%rax, -48(%rbp)
	testl	%edi, %edi
	je	LBB0_2
## %bb.1:
	movl	%edi, %esi
	movq	%rbx, %rdi
	callq	_process_join_error
	jmp	LBB0_8
LBB0_2:
	movq	%rsi, %r14
	movq	24(%rbx), %rax
	movq	16(%rax), %rcx
	movl	(%rcx), %r15d
	movl	8(%rax), %r12d
	movl	4(%rsi), %edi
	callq	_be16_to_cpu
	leaq	-48(%rbp), %rcx
	movl	%r15d, %edi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_ib_find_pkey
	movq	24(%rbx), %rdi
	callq	_spin_lock_irq
	leaq	36(%rbx), %rsi
	movq	(%r14), %rax
	movq	%rax, 36(%rbx)
	movq	(%rbx), %rax
	movq	_MCAST_BUSY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.3:
	movq	8(%rbx), %rax
	cmpq	(%r13), %rax
	jne	LBB0_5
## %bb.4:
	movq	-48(%rbp), %rax
	movq	%rax, 8(%rbx)
LBB0_5:
	movq	_mgid0@GOTPCREL(%rip), %rdi
	movl	$4, %edx
	callq	_memcmp
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	32(%rbx), %rdi
	movq	24(%rbx), %rsi
	addq	$4, %rsi
	callq	_rb_erase
	movq	24(%rbx), %rdi
	movq	%rbx, %rsi
	movl	$1, %edx
	callq	_mcast_insert
LBB0_7:
	movq	24(%rbx), %rdi
	callq	_spin_unlock_irq
LBB0_8:
	addq	$16, %rbx
	movq	%rbx, %rdi
	callq	_mcast_work_handler
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MCAST_INVALID_PKEY_INDEX,8,3   ## @MCAST_INVALID_PKEY_INDEX
	.comm	_MCAST_BUSY,8,3                 ## @MCAST_BUSY
	.comm	_mgid0,4,2                      ## @mgid0
	.no_dead_strip	_join_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function join_handler
_join_handler:                          ; @join_handler
	.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
Lloh0:
	adrp	x23, _MCAST_INVALID_PKEY_INDEX@GOTPAGE
Lloh1:
	ldr	x23, [x23, _MCAST_INVALID_PKEY_INDEX@GOTPAGEOFF]
	ldr	x8, [x23]
	str	x8, [sp, #8]
	cbz	w0, LBB0_2
; %bb.1:
	mov	x1, x0
	mov	x0, x19
	bl	_process_join_error
	b	LBB0_8
LBB0_2:
	mov	x20, x1
	ldr	x8, [x19, #24]
	ldr	x9, [x8, #16]
	ldr	w21, [x9]
	ldr	w22, [x8, #8]
	ldr	w0, [x1, #4]
	bl	_be16_to_cpu
	mov	x2, x0
	add	x3, sp, #8
	mov	x0, x21
	mov	x1, x22
	bl	_ib_find_pkey
	ldr	x0, [x19, #24]
	bl	_spin_lock_irq
	ldr	x8, [x20]
	mov	x1, x19
	str	x8, [x1, #36]!
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _MCAST_BUSY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _MCAST_BUSY@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x19, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [sp, #8]
	str	x8, [x19, #8]
LBB0_5:
Lloh5:
	adrp	x0, _mgid0@GOTPAGE
Lloh6:
	ldr	x0, [x0, _mgid0@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcmp
	cbnz	w0, LBB0_7
; %bb.6:
	add	x0, x19, #32
	ldr	x8, [x19, #24]
	add	x1, x8, #4
	bl	_rb_erase
	ldr	x0, [x19, #24]
	mov	x1, x19
	mov	w2, #1
	bl	_mcast_insert
LBB0_7:
	ldr	x0, [x19, #24]
	bl	_spin_unlock_irq
LBB0_8:
	add	x0, x19, #16
	bl	_mcast_work_handler
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MCAST_INVALID_PKEY_INDEX,8,3   ; @MCAST_INVALID_PKEY_INDEX
	.comm	_MCAST_BUSY,8,3                 ; @MCAST_BUSY
	.comm	_mgid0,4,2                      ; @mgid0
	.no_dead_strip	_join_handler
.subsections_via_symbols
