	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cma_iboe_join_multicast
_cma_iboe_join_multicast:               ## @cma_iboe_join_multicast
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r14
	leaq	28(%rsi), %r15
	movq	(%rsi), %r12
	movq	_SENDONLY_FULLMEMBER_JOIN@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	movq	%rax, %rbx
	movq	%r15, %rdi
	callq	_cma_zero_addr
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_27
LBB0_3:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$56, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	%rax, %r12
	movl	(%r14), %esi
	movl	$4, %edi
	callq	_kzalloc
	movq	%rax, 16(%r13)
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %r14
	movq	40(%rbx), %rax
	movq	(%rax), %r12
	movl	8(%rax), %edi
	callq	_rdma_start_port
	subq	%rax, %r14
	movl	(%r12,%r14,4), %r14d
	movq	16(%r13), %rsi
	addq	$36, %rsi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_cma_iboe_set_mgid
	movl	$65535, %edi                    ## imm = 0xFFFF
	callq	_cpu_to_be16
	movq	16(%r13), %rcx
	movl	%eax, 48(%rcx)
	movq	8(%rbx), %rax
	movq	_RDMA_PS_UDP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	movq	_RDMA_UDP_QKEY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be32
	movq	16(%r13), %rcx
	movl	%eax, 44(%rcx)
LBB0_9:
	movq	24(%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.10:
	movl	32(%rbx), %edi
	callq	_dev_get_by_index
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_iboe_get_rate
	movq	16(%r13), %rcx
	movl	%eax, 40(%rcx)
	movl	$1, 24(%rcx)
	movl	(%r15), %edi
	callq	_iboe_get_mtu
	movq	16(%r13), %rsi
	movl	%eax, 32(%rsi)
	movq	28(%r13), %rcx
	movq	_AF_INET@GOTPCREL(%rip), %rdx
	movq	_IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpq	(%rdx), %rcx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	je	LBB0_14
## %bb.13:
	movq	_AF_INET6@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_14
## %bb.19:
	cmpl	%eax, %r14d
	jne	LBB0_20
## %bb.23:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_dev_put
	testl	%ebx, %ebx
	je	LBB0_21
## %bb.24:
	negl	%ebx
	jmp	LBB0_25
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_11:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
LBB0_25:
	movq	16(%r13), %rdi
	callq	_kfree
	jmp	LBB0_26
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_26:
	movq	%r12, %rdi
	callq	_kfree
LBB0_27:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	cmpl	%eax, %r14d
	jne	LBB0_20
## %bb.15:
	movq	_IPV6_DEFAULT_HOPLIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rsi)
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	%rax, -72(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_20
## %bb.16:
	addq	$36, %rsi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_cma_igmp_send
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_dev_put
	jmp	LBB0_25
LBB0_18:
	movl	$1, 8(%r13)
LBB0_20:
	movq	%r15, %rdi
	callq	_dev_put
LBB0_21:
	movq	16(%r13), %rsi
	cmpl	$0, 32(%rsi)
	je	LBB0_22
## %bb.28:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leaq	16(%rbx), %rdi
	addq	$28, %rsi
	callq	_rdma_ip2gid
	movq	%rbx, 16(%r12)
	movq	%r13, 8(%r12)
	movq	_iboe_mcast_work_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_INIT_WORK
	addq	$24, %r13
	movq	%r13, %rdi
	callq	_kref_get
	movq	_cma_wq@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_queue_work
	xorl	%ebx, %ebx
	jmp	LBB0_27
LBB0_22:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_25
	.cfi_endproc
                                        ## -- End function
	.comm	_SENDONLY_FULLMEMBER_JOIN,4,2   ## @SENDONLY_FULLMEMBER_JOIN
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RDMA_PS_UDP,8,3                ## @RDMA_PS_UDP
	.comm	_RDMA_UDP_QKEY,4,2              ## @RDMA_UDP_QKEY
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_AF_INET,8,3                    ## @AF_INET
	.comm	_AF_INET6,8,3                   ## @AF_INET6
	.comm	_IB_GID_TYPE_ROCE_UDP_ENCAP,4,2 ## @IB_GID_TYPE_ROCE_UDP_ENCAP
	.comm	_IPV6_DEFAULT_HOPLIMIT,4,2      ## @IPV6_DEFAULT_HOPLIMIT
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.comm	_iboe_mcast_work_handler,4,2    ## @iboe_mcast_work_handler
	.comm	_cma_wq,4,2                     ## @cma_wq
	.no_dead_strip	_cma_iboe_join_multicast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cma_iboe_join_multicast
_cma_iboe_join_multicast:               ; @cma_iboe_join_multicast
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x1
	mov	x21, x0
	mov	x24, x1
	ldr	x25, [x24], #28
Lloh0:
	adrp	x8, _SENDONLY_FULLMEMBER_JOIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SENDONLY_FULLMEMBER_JOIN@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_BIT
	mov	x22, x0
	mov	x0, x24
	bl	_cma_zero_addr
	cbz	x0, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w22, w8
	b	LBB0_20
LBB0_3:
Lloh5:
	adrp	x23, _GFP_KERNEL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	w0, #56
	bl	_kzalloc
	cbz	x0, LBB0_14
; %bb.4:
	mov	x20, x0
	ldr	w1, [x23]
	mov	w0, #4
	bl	_kzalloc
	str	x0, [x19, #16]
	cbz	x0, LBB0_18
; %bb.5:
	ldr	x8, [x21, #40]
	ldr	x23, [x8]
	ldr	x26, [x21]
	ldr	w0, [x8, #8]
	bl	_rdma_start_port
	sub	x8, x26, x0
	ldr	w23, [x23, x8, lsl #2]
	ldr	x8, [x19, #16]
	add	x1, x8, #36
	mov	x0, x24
	mov	x2, x23
	bl	_cma_iboe_set_mgid
	mov	w0, #65535
	bl	_cpu_to_be16
	ldr	x8, [x19, #16]
	str	w0, [x8, #48]
	ldr	x8, [x21, #8]
Lloh7:
	adrp	x9, _RDMA_PS_UDP@GOTPAGE
Lloh8:
	ldr	x9, [x9, _RDMA_PS_UDP@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh10:
	adrp	x8, _RDMA_UDP_QKEY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RDMA_UDP_QKEY@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_cpu_to_be32
	ldr	x8, [x19, #16]
	str	w0, [x8, #44]
LBB0_7:
	ldr	x1, [x21, #24]
	cbz	x1, LBB0_15
; %bb.8:
	ldr	w0, [x21, #32]
	bl	_dev_get_by_index
	cbz	x0, LBB0_15
; %bb.9:
	mov	x24, x0
	bl	_iboe_get_rate
	ldr	x8, [x19, #16]
	str	w0, [x8, #40]
	mov	w9, #1
	str	w9, [x8, #24]
	ldr	w0, [x24]
	bl	_iboe_get_mtu
	ldr	x8, [x19, #16]
	str	w0, [x8, #32]
Lloh13:
	adrp	x9, _AF_INET@GOTPAGE
Lloh14:
	ldr	x9, [x9, _AF_INET@GOTPAGEOFF]
	ldur	x10, [x19, #28]
Lloh15:
	ldr	x11, [x9]
Lloh16:
	adrp	x9, _IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPAGE
Lloh17:
	ldr	x9, [x9, _IB_GID_TYPE_ROCE_UDP_ENCAP@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	cmp	x10, x11
	b.eq	LBB0_21
; %bb.10:
Lloh19:
	adrp	x11, _AF_INET6@GOTPAGE
Lloh20:
	ldr	x11, [x11, _AF_INET6@GOTPAGEOFF]
Lloh21:
	ldr	x11, [x11]
	cmp	x10, x11
	b.eq	LBB0_21
; %bb.11:
	cmp	w23, w9
	b.ne	LBB0_26
; %bb.12:
Lloh22:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh23:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh24:
	ldr	w22, [x8]
	mov	x0, x24
	bl	_dev_put
	cbz	w22, LBB0_27
; %bb.13:
	neg	w22, w22
	b	LBB0_17
LBB0_14:
Lloh25:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_2
LBB0_15:
Lloh27:
	adrp	x8, _ENODEV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_17:
	ldr	x0, [x19, #16]
	bl	_kfree
	b	LBB0_19
LBB0_18:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w22, w8
LBB0_19:
	mov	x0, x20
	bl	_kfree
LBB0_20:
	mov	x0, x22
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_21:
	cmp	w23, w9
	b.ne	LBB0_26
; %bb.22:
Lloh32:
	adrp	x9, _IPV6_DEFAULT_HOPLIMIT@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IPV6_DEFAULT_HOPLIMIT@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	str	w9, [x8, #24]
	cmp	x25, x22
	b.eq	LBB0_26
; %bb.23:
	add	x1, x8, #36
	mov	w23, #1
	mov	x0, x24
	mov	w2, #1
	bl	_cma_igmp_send
	cbz	w0, LBB0_25
; %bb.24:
	mov	x22, x0
	mov	x0, x24
	bl	_dev_put
	b	LBB0_17
LBB0_25:
	str	w23, [x19, #8]
LBB0_26:
	mov	x0, x24
	bl	_dev_put
LBB0_27:
	ldr	x8, [x19, #16]
	ldr	w9, [x8, #32]
	cbz	w9, LBB0_29
; %bb.28:
	add	x0, x21, #16
	add	x1, x8, #28
	bl	_rdma_ip2gid
	stp	x19, x21, [x20, #8]
Lloh35:
	adrp	x8, _iboe_mcast_work_handler@GOTPAGE
Lloh36:
	ldr	x8, [x8, _iboe_mcast_work_handler@GOTPAGEOFF]
Lloh37:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_INIT_WORK
	add	x0, x19, #24
	bl	_kref_get
Lloh38:
	adrp	x8, _cma_wq@GOTPAGE
Lloh39:
	ldr	x8, [x8, _cma_wq@GOTPAGEOFF]
Lloh40:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_queue_work
	mov	w22, #0
	b	LBB0_20
LBB0_29:
Lloh41:
	adrp	x8, _EINVAL@GOTPAGE
Lloh42:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_16
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGot	Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_SENDONLY_FULLMEMBER_JOIN,4,2   ; @SENDONLY_FULLMEMBER_JOIN
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RDMA_PS_UDP,8,3                ; @RDMA_PS_UDP
	.comm	_RDMA_UDP_QKEY,4,2              ; @RDMA_UDP_QKEY
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_AF_INET,8,3                    ; @AF_INET
	.comm	_AF_INET6,8,3                   ; @AF_INET6
	.comm	_IB_GID_TYPE_ROCE_UDP_ENCAP,4,2 ; @IB_GID_TYPE_ROCE_UDP_ENCAP
	.comm	_IPV6_DEFAULT_HOPLIMIT,4,2      ; @IPV6_DEFAULT_HOPLIMIT
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.comm	_iboe_mcast_work_handler,4,2    ; @iboe_mcast_work_handler
	.comm	_cma_wq,4,2                     ; @cma_wq
	.no_dead_strip	_cma_iboe_join_multicast
.subsections_via_symbols
