	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function counter_groups_info
_counter_groups_info:                   ## @counter_groups_info
	.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	%r12
	pushq	%rbx
	subq	$1056, %rsp                     ## imm = 0x420
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-1072(%rbp), %r12
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_memset
	movq	_srcport@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_IB_MLX_VENDOR_CLASS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_IB_MAD_METHOD_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_IB_MLX_IS4_COUNTER_GROUP_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r12, (%rsp)
	movq	%rbx, %rdi
	movl	%r15d, %r9d
	callq	_do_vendor
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	movl	$-1, %r14d
	jmp	LBB0_5
LBB0_2:
	movl	-1072(%rbp), %r12d
	leaq	L_str(%rip), %rdi
	callq	_puts
	leaq	L_.str.2(%rip), %rdi
	movl	%r12d, %esi
	xorl	%eax, %eax
	callq	_printf
	testl	%r12d, %r12d
	jle	LBB0_5
## %bb.3:
	xorl	%r14d, %r14d
	leaq	L_.str.3(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-1064(%rbp), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_ntohl
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_4
LBB0_5:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_7
## %bb.6:
	movl	%r14d, %eax
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_srcport,4,2                    ## @srcport
	.comm	_IB_MLX_VENDOR_CLASS,4,2        ## @IB_MLX_VENDOR_CLASS
	.comm	_IB_MAD_METHOD_GET,4,2          ## @IB_MAD_METHOD_GET
	.comm	_IB_MLX_IS4_COUNTER_GROUP_INFO,4,2 ## @IB_MLX_IS4_COUNTER_GROUP_INFO
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"counter group info query failure\n"

L_.str.2:                               ## @.str.2
	.asciz	"%d counter groups\n"

L_.str.3:                               ## @.str.3
	.asciz	"group%d mask %#x\n"

L_str:                                  ## @str
	.asciz	"counter_group_info:"

	.no_dead_strip	_counter_groups_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function counter_groups_info
_counter_groups_info:                   ; @counter_groups_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	sp, sp, #1056
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	add	x0, sp, #24
	mov	w1, #0
	mov	w2, #1024
	bl	_memset
Lloh3:
	adrp	x8, _srcport@GOTPAGE
Lloh4:
	ldr	x8, [x8, _srcport@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
Lloh6:
	adrp	x8, _IB_MLX_VENDOR_CLASS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _IB_MLX_VENDOR_CLASS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x8, _IB_MAD_METHOD_GET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_MAD_METHOD_GET@GOTPAGEOFF]
Lloh11:
	ldr	w3, [x8]
Lloh12:
	adrp	x8, _IB_MLX_IS4_COUNTER_GROUP_INFO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_MLX_IS4_COUNTER_GROUP_INFO@GOTPAGEOFF]
Lloh14:
	ldr	w4, [x8]
	add	x6, sp, #24
	mov	x0, x20
	mov	x5, x19
	bl	_do_vendor
	cbz	x0, LBB0_2
; %bb.1:
Lloh15:
	adrp	x8, _stderr@GOTPAGE
Lloh16:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x1, l_.str@PAGE
Lloh19:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	mov	w0, #-1
	b	LBB0_6
LBB0_2:
	ldr	w20, [sp, #24]
Lloh20:
	adrp	x0, l_str@PAGE
Lloh21:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	str	x20, [sp]
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	cmp	w20, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x21, #0
Lloh24:
	adrp	x19, l_.str.3@PAGE
Lloh25:
	add	x19, x19, l_.str.3@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [sp, #32]
	ldr	w0, [x8, x21, lsl #2]
	bl	_ntohl
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x21, x0, [sp]
	mov	x0, x19
	bl	_printf
	add	x21, x21, #1
	cmp	x20, x21
	b.ne	LBB0_4
LBB0_5:
	mov	w0, #0
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh26:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh27:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh28:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	add	sp, sp, #1056
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_srcport,4,2                    ; @srcport
	.comm	_IB_MLX_VENDOR_CLASS,4,2        ; @IB_MLX_VENDOR_CLASS
	.comm	_IB_MAD_METHOD_GET,4,2          ; @IB_MAD_METHOD_GET
	.comm	_IB_MLX_IS4_COUNTER_GROUP_INFO,4,2 ; @IB_MLX_IS4_COUNTER_GROUP_INFO
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"counter group info query failure\n"

l_.str.2:                               ; @.str.2
	.asciz	"%d counter groups\n"

l_.str.3:                               ; @.str.3
	.asciz	"group%d mask %#x\n"

l_str:                                  ; @str
	.asciz	"counter_group_info:"

	.no_dead_strip	_counter_groups_info
.subsections_via_symbols
