	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acquire_group
_acquire_group:                         ## @acquire_group
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_mgid0@GOTPCREL(%rip), %rdi
	movl	$4, %edx
	callq	_memcmp
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_mcast_find
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
LBB0_15:
	movq	%rbx, %rdi
	callq	_atomic_inc
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_3
## %bb.5:
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$88, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %r12
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%rax, %rbx
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, 80(%r12)
	movq	(%r13), %rax
	movq	%rax, 44(%r12)
	leaq	72(%r12), %rdi
	callq	_INIT_LIST_HEAD
	leaq	36(%r12), %rdi
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	callq	_INIT_LIST_HEAD
	movq	_MAX_VFS@GOTPCREL(%rip), %r13
	cmpl	$0, (%r13)
	jle	LBB0_10
## %bb.8:
	xorl	%r14d, %r14d
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	64(%rbx), %rdi
	addq	%r14, %rdi
	callq	_INIT_LIST_HEAD
	incq	%r15
	movslq	(%r13), %rax
	addq	$4, %r14
	cmpq	%rax, %r15
	jl	LBB0_9
LBB0_10:
	leaq	60(%r12), %rdi
	movq	_mlx4_ib_mcg_work_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	56(%r12), %rdi
	movq	_mlx4_ib_mcg_timeout_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_DELAYED_WORK
	leaq	52(%r12), %rdi
	callq	_mutex_init
	movl	32(%rbx), %r14d
	movl	48(%rbx), %edi
	callq	_be64_to_cpu
	movl	%eax, %r13d
	movl	44(%rbx), %edi
	callq	_be64_to_cpu
	leaq	L_.str(%rip), %rsi
	movl	%r14d, %edi
	movl	%r13d, %edx
	movl	%eax, %ecx
	callq	_sprintf
	addq	$8, %r12
	movq	%r12, %rdi
	callq	_sysfs_attr_init
	movq	_sysfs_show_group@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	$0, 16(%rbx)
	movl	32(%rbx), %eax
	movl	%eax, 12(%rbx)
	movl	$256, 8(%rbx)                   ## imm = 0x100
	movq	_MCAST_IDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.12:
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_mcast_insert
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	movl	32(%rax), %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_mcg_warn
	movq	%rbx, %rdi
	callq	_kfree
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_3:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
LBB0_4:
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
LBB0_11:
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	$8, %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	callq	_list_add
	jmp	LBB0_15
LBB0_14:
	movl	(%r14), %esi
	movl	4(%r14), %edi
	movq	%r12, %rdx
	callq	_add_sysfs_port_mcg_attr
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_mgid0,4,2                      ## @mgid0
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_MAX_VFS,4,2                    ## @MAX_VFS
	.comm	_mlx4_ib_mcg_work_handler,4,2   ## @mlx4_ib_mcg_work_handler
	.comm	_mlx4_ib_mcg_timeout_handler,4,2 ## @mlx4_ib_mcg_timeout_handler
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%016llx%016llx"

	.comm	_sysfs_show_group,4,2           ## @sysfs_show_group
	.comm	_MCAST_IDLE,4,2                 ## @MCAST_IDLE
L_.str.1:                               ## @.str.1
	.asciz	"group just showed up %s - confused\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_acquire_group
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acquire_group
_acquire_group:                         ; @acquire_group
	.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	x23, x2
	mov	x22, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _mgid0@GOTPAGE
Lloh1:
	ldr	x0, [x0, _mgid0@GOTPAGEOFF]
	mov	w2, #4
	bl	_memcmp
	mov	x21, x0
	cbz	w0, LBB0_3
; %bb.1:
	mov	x0, x20
	mov	x1, x22
	bl	_mcast_find
	mov	x19, x0
	cbz	x0, LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_atomic_inc
	mov	x0, x19
	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_3:
	cbz	w23, LBB0_11
; %bb.4:
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #88
	bl	_kzalloc
	cbz	x0, LBB0_12
; %bb.5:
	mov	x19, x0
	str	x20, [x0, #80]
	ldr	x8, [x22]
	stur	x8, [x0, #44]
	add	x0, x0, #72
	bl	_INIT_LIST_HEAD
	add	x22, x19, #36
	mov	x0, x22
	bl	_INIT_LIST_HEAD
Lloh5:
	adrp	x23, _MAX_VFS@GOTPAGE
Lloh6:
	ldr	x23, [x23, _MAX_VFS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x24, #0
	mov	x25, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	add	x0, x8, x24
	bl	_INIT_LIST_HEAD
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	x24, x24, #4
	cmp	x25, x8
	b.lt	LBB0_7
LBB0_8:
	add	x0, x19, #60
Lloh7:
	adrp	x8, _mlx4_ib_mcg_work_handler@GOTPAGE
Lloh8:
	ldr	x8, [x8, _mlx4_ib_mcg_work_handler@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x19, #56
Lloh10:
	adrp	x8, _mlx4_ib_mcg_timeout_handler@GOTPAGE
Lloh11:
	ldr	x8, [x8, _mlx4_ib_mcg_timeout_handler@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	bl	_INIT_DELAYED_WORK
	add	x0, x19, #52
	bl	_mutex_init
	ldr	w23, [x19, #32]
	ldr	w0, [x19, #48]
	bl	_be64_to_cpu
	mov	x24, x0
	ldr	w0, [x19, #44]
	bl	_be64_to_cpu
	mov	x3, x0
Lloh13:
	adrp	x1, l_.str@PAGE
Lloh14:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x24
	bl	_sprintf
	add	x23, x19, #8
	mov	x0, x23
	bl	_sysfs_attr_init
Lloh15:
	adrp	x8, _sysfs_show_group@GOTPAGE
Lloh16:
	ldr	x8, [x8, _sysfs_show_group@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19, #24]
	str	xzr, [x19, #16]
	ldr	w8, [x19, #32]
	mov	w9, #256
	stp	w9, w8, [x19, #8]
Lloh18:
	adrp	x8, _MCAST_IDLE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MCAST_IDLE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	str	w8, [x19, #40]
	cbz	w21, LBB0_14
; %bb.9:
	mov	x0, x20
	mov	x1, x19
	bl	_mcast_insert
	cbz	x0, LBB0_15
; %bb.10:
	ldr	w1, [x0, #32]
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_mcg_warn
	mov	x0, x19
	bl	_kfree
Lloh23:
	adrp	x8, _EINVAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_13
LBB0_11:
Lloh25:
	adrp	x8, _ENOENT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:
Lloh27:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_13:
	ldr	w8, [x8]
	neg	w0, w8
	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
	b	_ERR_PTR
LBB0_14:
	add	x1, x20, #8
	mov	x0, x22
	bl	_list_add
	b	LBB0_2
LBB0_15:
	ldp	w1, w0, [x20]
	mov	x2, x23
	bl	_add_sysfs_port_mcg_attr
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_mgid0,4,2                      ; @mgid0
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_MAX_VFS,4,2                    ; @MAX_VFS
	.comm	_mlx4_ib_mcg_work_handler,4,2   ; @mlx4_ib_mcg_work_handler
	.comm	_mlx4_ib_mcg_timeout_handler,4,2 ; @mlx4_ib_mcg_timeout_handler
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%016llx%016llx"

	.comm	_sysfs_show_group,4,2           ; @sysfs_show_group
	.comm	_MCAST_IDLE,4,2                 ; @MCAST_IDLE
l_.str.1:                               ; @.str.1
	.asciz	"group just showed up %s - confused\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_acquire_group
.subsections_via_symbols
