	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_ib_get_cc_params
_mlx5_ib_get_cc_params:                 ## @mlx5_ib_get_cc_params
	.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
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r13
	movq	%rdi, %rbx
	movq	_query_cong_params_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %r15d
	incq	%r13
	xorl	%r12d, %r12d
	movq	%rbx, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	callq	_mlx5_ib_get_native_port_mdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %ebx
	movl	%r15d, %edi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_mlx5_ib_param_to_node
	movq	%r14, %rdi
	movl	%eax, %esi
	movq	%r15, %rdx
	movl	%ebx, %ecx
	callq	_mlx5_cmd_query_cong_params
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	_query_cong_params_out@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_congestion_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_MLX5_ADDR_OF
	movq	%rax, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_mlx5_get_cc_param_val
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_6:
	movq	%r15, %rdi
	callq	_kvfree
	jmp	LBB0_7
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r12d
	jmp	LBB0_8
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r12d, %r12d
	subl	(%rax), %r12d
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r13, %rsi
	callq	_mlx5_ib_put_native_port_mdev
LBB0_8:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_query_cong_params_out,4,2      ## @query_cong_params_out
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_congestion_parameters,4,2      ## @congestion_parameters
	.no_dead_strip	_mlx5_ib_get_cc_params
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mlx5_ib_get_cc_params
_mlx5_ib_get_cc_params:                 ; @mlx5_ib_get_cc_params
	.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	x21, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _query_cong_params_out@GOTPAGE
Lloh1:
	ldr	x26, [x26, _query_cong_params_out@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_MLX5_ST_SZ_BYTES
	mov	x23, x0
	add	x20, x20, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_mlx5_ib_get_native_port_mdev
	cbz	x0, LBB0_5
; %bb.1:
	mov	x25, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x23
	bl	_kvzalloc
	cbz	x0, LBB0_6
; %bb.2:
	mov	x24, x0
	mov	x0, x22
	bl	_mlx5_ib_param_to_node
	mov	x1, x0
	mov	x0, x25
	mov	x2, x24
	mov	x3, x23
	bl	_mlx5_cmd_query_cong_params
	mov	x23, x0
	cbnz	w0, LBB0_4
; %bb.3:
	ldr	w0, [x26]
Lloh5:
	adrp	x8, _congestion_parameters@GOTPAGE
Lloh6:
	ldr	x8, [x8, _congestion_parameters@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	x1, x24
	bl	_MLX5_ADDR_OF
	mov	x1, x22
	bl	_mlx5_get_cc_param_val
	str	w0, [x21]
LBB0_4:
	mov	x0, x24
	bl	_kvfree
	b	LBB0_7
LBB0_5:
Lloh8:
	adrp	x8, _ENODEV@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_8
LBB0_6:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_mlx5_ib_put_native_port_mdev
LBB0_8:
	mov	x0, x23
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_query_cong_params_out,4,2      ; @query_cong_params_out
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_congestion_parameters,4,2      ; @congestion_parameters
	.no_dead_strip	_mlx5_ib_get_cc_params
.subsections_via_symbols
