	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5i_attach_mcast
_mlx5i_attach_mcast:                    ## @mlx5i_attach_mcast
	.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
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, -48(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r14
	movq	%rdi, %r12
	callq	_mlx5i_epriv
	movq	(%rax), %r15
	movq	8(%rax), %rbx
	movl	4(%r15), %edx
	movl	(%r14), %ecx
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mlx5_core_dbg
	movl	4(%r15), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_mlx5_core_attach_mcg
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	4(%r15), %edx
	movl	(%r14), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_mlx5_core_warn
LBB0_2:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_4
## %bb.3:
	movl	(%r12), %edx
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movl	%ebx, %ecx
	callq	_mlx5_core_dbg
	movl	%ebx, (%r15)
LBB0_4:
	movl	%r13d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"attaching QPN 0x%x, MGID %pI6\n"

L_.str.1:                               ## @.str.1
	.asciz	"failed attaching QPN 0x%x, MGID %pI6\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s setting qkey 0x%x\n"

	.no_dead_strip	_mlx5i_attach_mcast
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5i_attach_mcast
_mlx5i_attach_mcast:                    ; @mlx5i_attach_mcast
	.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, x5
	mov	x21, x4
	mov	x23, x2
	mov	x20, x0
	bl	_mlx5i_epriv
	ldp	x25, x22, [x0]
	ldr	w2, [x25, #4]
	ldr	w3, [x23]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_mlx5_core_dbg
	ldr	w2, [x25, #4]
	mov	x0, x22
	mov	x1, x23
	bl	_mlx5_core_attach_mcg
	mov	x24, x0
	cbz	w0, LBB0_2
; %bb.1:
	ldr	w2, [x25, #4]
	ldr	w3, [x23]
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x22
	bl	_mlx5_core_warn
LBB0_2:
	cbz	w21, LBB0_4
; %bb.3:
	ldr	w2, [x20]
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x22
	mov	x3, x19
	bl	_mlx5_core_dbg
	str	w19, [x25]
LBB0_4:
	mov	x0, x24
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"attaching QPN 0x%x, MGID %pI6\n"

l_.str.1:                               ; @.str.1
	.asciz	"failed attaching QPN 0x%x, MGID %pI6\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s setting qkey 0x%x\n"

	.no_dead_strip	_mlx5i_attach_mcast
.subsections_via_symbols
