	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_core_query_ib_ppcnt       ## -- Begin function mlx5_core_query_ib_ppcnt
	.p2align	4, 0x90
_mlx5_core_query_ib_ppcnt:              ## @mlx5_core_query_ib_ppcnt
	.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	%rcx, %r15
	movq	%rdx, %r14
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rcx, %rdi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	_ppcnt_reg@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movq	_local_port@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	movl	%r13d, %ecx
	callq	_MLX5_SET
	movl	(%r14), %edi
	movq	_grp@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLX5_INFINIBAND_PORT_COUNTERS_GROUP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rsi
	callq	_MLX5_SET
	movq	_MLX5_REG_PPCNT@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%r15, %r8
	pushq	$0
	pushq	$0
	callq	_mlx5_core_access_reg
	addq	$16, %rsp
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_kvfree
	movl	%r14d, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_ppcnt_reg,4,2                  ## @ppcnt_reg
	.comm	_local_port,4,2                 ## @local_port
	.comm	_grp,4,2                        ## @grp
	.comm	_MLX5_INFINIBAND_PORT_COUNTERS_GROUP,4,2 ## @MLX5_INFINIBAND_PORT_COUNTERS_GROUP
	.comm	_MLX5_REG_PPCNT,4,2             ## @MLX5_REG_PPCNT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mlx5_core_query_ib_ppcnt       ; -- Begin function mlx5_core_query_ib_ppcnt
	.p2align	2
_mlx5_core_query_ib_ppcnt:              ; @mlx5_core_query_ib_ppcnt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x3
	mov	x20, x2
	mov	x23, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x3
	bl	_kvzalloc
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
Lloh3:
	adrp	x24, _ppcnt_reg@GOTPAGE
Lloh4:
	ldr	x24, [x24, _ppcnt_reg@GOTPAGEOFF]
	ldr	w0, [x24]
Lloh5:
	adrp	x8, _local_port@GOTPAGE
Lloh6:
	ldr	x8, [x8, _local_port@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x21
	mov	x3, x23
	bl	_MLX5_SET
	ldr	w0, [x24]
Lloh8:
	adrp	x8, _grp@GOTPAGE
Lloh9:
	ldr	x8, [x8, _grp@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _MLX5_INFINIBAND_PORT_COUNTERS_GROUP@GOTPAGE
Lloh12:
	ldr	x8, [x8, _MLX5_INFINIBAND_PORT_COUNTERS_GROUP@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x1, x21
	bl	_MLX5_SET
Lloh14:
	adrp	x8, _MLX5_REG_PPCNT@GOTPAGE
Lloh15:
	ldr	x8, [x8, _MLX5_REG_PPCNT@GOTPAGEOFF]
Lloh16:
	ldr	w5, [x8]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x19
	mov	x3, x20
	mov	x4, x19
	mov	w6, #0
	mov	w7, #0
	bl	_mlx5_core_access_reg
	mov	x19, x0
	mov	x0, x21
	bl	_kvfree
	mov	x0, x19
	b	LBB0_3
LBB0_2:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_ppcnt_reg,4,2                  ; @ppcnt_reg
	.comm	_local_port,4,2                 ; @local_port
	.comm	_grp,4,2                        ; @grp
	.comm	_MLX5_INFINIBAND_PORT_COUNTERS_GROUP,4,2 ; @MLX5_INFINIBAND_PORT_COUNTERS_GROUP
	.comm	_MLX5_REG_PPCNT,4,2             ; @MLX5_REG_PPCNT
.subsections_via_symbols
