	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cc_set_congestion_control_table
_cc_set_congestion_control_table:       ## @cc_set_congestion_control_table
	.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	%rdi, %rbx
	movq	8(%rdi), %r14
	movq	%rsi, %rdi
	movl	%edx, %esi
	callq	_to_iport
	movq	%rax, %rdi
	callq	_ppd_from_ibp
	movq	%rax, %r13
	movl	(%rbx), %edi
	callq	_be32_to_cpu
	movl	%eax, %r15d
	movq	_IB_CC_TABLE_CAP_DEFAULT@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jge	LBB0_8
## %bb.1:
	movl	8(%r14), %edi
	callq	_be16_to_cpu
	movq	_IB_CCT_ENTRIES@GOTPCREL(%rip), %r12
	cmpl	(%r12), %eax
	jge	LBB0_3
## %bb.2:
	movl	$0, (%r13)
LBB0_3:
	movl	8(%r14), %edi
	callq	_be16_to_cpu
	cltd
	idivl	(%r12)
	movl	%edx, %r12d
	leal	1(%r12), %ecx
	movl	(%r13), %eax
	addl	%ecx, %eax
	movl	%eax, (%r13)
	cmpl	4(%r13), %eax
	jle	LBB0_4
LBB0_8:
	movq	%rbx, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reply_failure                  ## TAILCALL
LBB0_4:
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movl	8(%r14), %edi
	callq	_be16_to_cpu
	movl	%eax, 8(%r13)
	testl	%r12d, %r12d
	js	LBB0_7
## %bb.5:
	movq	_IB_CCT_ENTRIES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movslq	%r15d, %r12
	imulq	%rax, %r12
	shlq	$2, %r12
	addq	40(%r13), %r12
	movl	-44(%rbp), %r15d                ## 4-byte Reload
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_be16_to_cpu
	movl	%eax, (%r12,%rbx,4)
	incq	%rbx
	cmpq	%rbx, %r15
	jne	LBB0_6
LBB0_7:
	movq	%r13, %r15
	addq	$12, %r15
	movq	%r15, %rdi
	callq	_spin_lock
	movl	(%r13), %edx
	leal	-1(%rdx), %eax
	movq	48(%r13), %rcx
	movl	%eax, (%rcx)
	movl	4(%rcx), %edi
	movq	40(%r13), %rsi
	shll	$2, %edx
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	_IB_CC_CCS_PC_SL_BASED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	24(%r13), %rcx
	movl	%eax, 8(%rcx)
	movl	32(%r13), %eax
	movl	%eax, 4(%rcx)
	movl	(%rcx), %edi
	movq	16(%r13), %rsi
	movq	_IB_CC_CCS_ENTRIES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	shll	$2, %edx
	callq	_memcpy
	movq	%r15, %rdi
	callq	_spin_unlock
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_reply                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_CC_TABLE_CAP_DEFAULT,4,2    ## @IB_CC_TABLE_CAP_DEFAULT
	.comm	_IB_CCT_ENTRIES,4,2             ## @IB_CCT_ENTRIES
	.comm	_IB_CC_CCS_PC_SL_BASED,4,2      ## @IB_CC_CCS_PC_SL_BASED
	.comm	_IB_CC_CCS_ENTRIES,4,2          ## @IB_CC_CCS_ENTRIES
	.no_dead_strip	_cc_set_congestion_control_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cc_set_congestion_control_table
_cc_set_congestion_control_table:       ; @cc_set_congestion_control_table
	.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	x19, x0
	ldr	x22, [x0, #8]
	mov	x0, x1
	mov	x1, x2
	bl	_to_iport
	bl	_ppd_from_ibp
	mov	x20, x0
	ldr	w0, [x19]
	bl	_be32_to_cpu
Lloh0:
	adrp	x8, _IB_CC_TABLE_CAP_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_CC_TABLE_CAP_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_4
; %bb.1:
	mov	x21, x0
	ldr	w0, [x22, #8]
	bl	_be16_to_cpu
Lloh3:
	adrp	x23, _IB_CCT_ENTRIES@GOTPAGE
Lloh4:
	ldr	x23, [x23, _IB_CCT_ENTRIES@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w0, w8
	b.ge	LBB0_3
; %bb.2:
	str	wzr, [x20]
LBB0_3:
	ldr	w0, [x22, #8]
	bl	_be16_to_cpu
	ldr	w8, [x23]
	sdiv	w9, w0, w8
	msub	w24, w9, w8, w0
	add	w25, w24, #1
	ldp	w8, w9, [x20]
	add	w8, w25, w8
	cmp	w8, w9
	str	w8, [x20]
	b.le	LBB0_5
LBB0_4:
	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
	b	_reply_failure
LBB0_5:
	ldr	w0, [x22, #8]
	bl	_be16_to_cpu
	str	w0, [x20, #8]
	tbnz	w24, #31, LBB0_8
; %bb.6:
	mov	x24, #0
	ldr	x8, [x20, #40]
	ldr	w9, [x23]
	mul	w9, w9, w21
	add	x21, x8, w9, sxtw #2
	lsl	x23, x25, #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	w0, [x8, x24]
	bl	_be16_to_cpu
	str	w0, [x21, x24]
	add	x24, x24, #4
	cmp	x23, x24
	b.ne	LBB0_7
LBB0_8:
	add	x21, x20, #12
	mov	x0, x21
	bl	_spin_lock
	ldr	w8, [x20]
	sub	w9, w8, #1
	ldp	x1, x10, [x20, #40]
	str	w9, [x10]
	ldr	w0, [x10, #4]
	lsl	w2, w8, #2
	bl	_memcpy
Lloh5:
	adrp	x8, _IB_CC_CCS_PC_SL_BASED@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IB_CC_CCS_PC_SL_BASED@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	ldr	w9, [x20, #32]
	ldp	x1, x10, [x20, #16]
	stp	w9, w8, [x10, #4]
	ldr	w0, [x10]
Lloh8:
	adrp	x8, _IB_CC_CCS_ENTRIES@GOTPAGE
Lloh9:
	ldr	x8, [x8, _IB_CC_CCS_ENTRIES@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	lsl	w2, w8, #2
	bl	_memcpy
	mov	x0, x21
	bl	_spin_unlock
	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
	b	_reply
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_CC_TABLE_CAP_DEFAULT,4,2    ; @IB_CC_TABLE_CAP_DEFAULT
	.comm	_IB_CCT_ENTRIES,4,2             ; @IB_CCT_ENTRIES
	.comm	_IB_CC_CCS_PC_SL_BASED,4,2      ; @IB_CC_CCS_PC_SL_BASED
	.comm	_IB_CC_CCS_ENTRIES,4,2          ; @IB_CC_CCS_ENTRIES
	.no_dead_strip	_cc_set_congestion_control_table
.subsections_via_symbols
