	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mlx5_ib_set_cc_params
_mlx5_ib_set_cc_params:                 ## @mlx5_ib_set_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
	movl	%ecx, -56(%rbp)                 ## 4-byte Spill
	movl	%edx, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_modify_cong_params_in@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MLX5_ST_SZ_BYTES
	movl	%eax, %r15d
	movl	$0, -44(%rbp)
	incq	%r14
	xorl	%r13d, %r13d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_mlx5_ib_get_native_port_mdev
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	movl	%r15d, %edi
	callq	_kvzalloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	%rax, %r15
	movq	_modify_cong_params_in@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	_opcode@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_MLX5_CMD_OP_MODIFY_CONG_PARAMS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rsi
	callq	_MLX5_SET
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movl	%r13d, %edi
	callq	_mlx5_ib_param_to_node
	movl	(%rbx), %edi
	movq	_cong_protocol@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r15, %rsi
	movl	%eax, %ecx
	callq	_MLX5_SET
	movl	(%rbx), %edi
	movq	_congestion_parameters@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_MLX5_ADDR_OF
	leaq	-44(%rbp), %rcx
	movq	%rax, %rdi
	movl	%r13d, %esi
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	_mlx5_ib_set_cc_param_mask_val
	movl	(%rbx), %edi
	movq	_field_select@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_MLX5_ADDR_OF
	movq	_field_select_r_roce_rp@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movl	-44(%rbp), %ecx
	movq	%rax, %rsi
	movl	%edi, %edx
	callq	_MLX5_SET
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	_mlx5_cmd_modify_cong_params
	movl	%eax, %r13d
	movq	%r15, %rdi
	callq	_kvfree
	jmp	LBB0_5
LBB0_1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r13d
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_5:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_mlx5_ib_put_native_port_mdev
LBB0_6:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_modify_cong_params_in,4,2      ## @modify_cong_params_in
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_opcode,4,2                     ## @opcode
	.comm	_MLX5_CMD_OP_MODIFY_CONG_PARAMS,4,2 ## @MLX5_CMD_OP_MODIFY_CONG_PARAMS
	.comm	_cong_protocol,4,2              ## @cong_protocol
	.comm	_congestion_parameters,4,2      ## @congestion_parameters
	.comm	_field_select,4,2               ## @field_select
	.comm	_field_select_r_roce_rp,4,2     ## @field_select_r_roce_rp
	.no_dead_strip	_mlx5_ib_set_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_set_cc_params
_mlx5_ib_set_cc_params:                 ; @mlx5_ib_set_cc_params
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x3
	mov	x24, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x26, _modify_cong_params_in@GOTPAGE
Lloh1:
	ldr	x26, [x26, _modify_cong_params_in@GOTPAGEOFF]
	ldr	w0, [x26]
	bl	_MLX5_ST_SZ_BYTES
	mov	x21, x0
	str	wzr, [sp, #12]
	add	x20, x20, #1
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_mlx5_ib_get_native_port_mdev
	cbz	x0, LBB0_3
; %bb.1:
	mov	x22, x0
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_kvzalloc
	cbz	x0, LBB0_4
; %bb.2:
	mov	x25, x0
	ldr	w0, [x26]
Lloh5:
	adrp	x8, _opcode@GOTPAGE
Lloh6:
	ldr	x8, [x8, _opcode@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _MLX5_CMD_OP_MODIFY_CONG_PARAMS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _MLX5_CMD_OP_MODIFY_CONG_PARAMS@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	mov	x1, x25
	bl	_MLX5_SET
	mov	x0, x24
	bl	_mlx5_ib_param_to_node
	mov	x3, x0
	ldr	w0, [x26]
Lloh11:
	adrp	x8, _cong_protocol@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cong_protocol@GOTPAGEOFF]
Lloh13:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_MLX5_SET
	ldr	w0, [x26]
Lloh14:
	adrp	x8, _congestion_parameters@GOTPAGE
Lloh15:
	ldr	x8, [x8, _congestion_parameters@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_MLX5_ADDR_OF
	add	x3, sp, #12
	mov	x1, x24
	mov	x2, x23
	bl	_mlx5_ib_set_cc_param_mask_val
	ldr	w0, [x26]
Lloh17:
	adrp	x8, _field_select@GOTPAGE
Lloh18:
	ldr	x8, [x8, _field_select@GOTPAGEOFF]
Lloh19:
	ldr	w2, [x8]
	mov	x1, x25
	bl	_MLX5_ADDR_OF
	mov	x1, x0
Lloh20:
	adrp	x8, _field_select_r_roce_rp@GOTPAGE
Lloh21:
	ldr	x8, [x8, _field_select_r_roce_rp@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	ldr	w3, [sp, #12]
	mov	x2, x0
	bl	_MLX5_SET
	mov	x0, x22
	mov	x1, x25
	mov	x2, x21
	bl	_mlx5_cmd_modify_cong_params
	mov	x21, x0
	mov	x0, x25
	bl	_kvfree
	b	LBB0_5
LBB0_3:
Lloh23:
	adrp	x8, _ENODEV@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_6
LBB0_4:
Lloh26:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_5:
	mov	x0, x19
	mov	x1, x20
	bl	_mlx5_ib_put_native_port_mdev
LBB0_6:
	mov	x0, x21
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_modify_cong_params_in,4,2      ; @modify_cong_params_in
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_opcode,4,2                     ; @opcode
	.comm	_MLX5_CMD_OP_MODIFY_CONG_PARAMS,4,2 ; @MLX5_CMD_OP_MODIFY_CONG_PARAMS
	.comm	_cong_protocol,4,2              ; @cong_protocol
	.comm	_congestion_parameters,4,2      ; @congestion_parameters
	.comm	_field_select,4,2               ; @field_select
	.comm	_field_select_r_roce_rp,4,2     ; @field_select_r_roce_rp
	.no_dead_strip	_mlx5_ib_set_cc_params
.subsections_via_symbols
