	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __get_agg_bandwidth
___get_agg_bandwidth:                   ## @__get_agg_bandwidth
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	___agg_active_ports
	xorl	%r14d, %r14d
	testl	%eax, %eax
	je	LBB0_16
## %bb.1:
	movl	%eax, %r15d
	movl	(%rbx), %edi
	callq	___get_link_speed
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$13, %eax
	ja	LBB0_16
## %bb.2:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	movl	%r15d, %r14d
	jmpq	*%rax
LBB0_14:
	imull	$56000, %r15d, %r14d            ## imm = 0xDAC0
	jmp	LBB0_16
LBB0_7:
	imull	$5000, %r15d, %r14d             ## imm = 0x1388
	jmp	LBB0_16
LBB0_13:
	imull	$50000, %r15d, %r14d            ## imm = 0xC350
	jmp	LBB0_16
LBB0_12:
	imull	$40000, %r15d, %r14d            ## imm = 0x9C40
	jmp	LBB0_16
LBB0_6:
	imull	$2500, %r15d, %r14d             ## imm = 0x9C4
	jmp	LBB0_16
LBB0_11:
	imull	$25000, %r15d, %r14d            ## imm = 0x61A8
	jmp	LBB0_16
LBB0_10:
	imull	$20000, %r15d, %r14d            ## imm = 0x4E20
	jmp	LBB0_16
LBB0_9:
	imull	$14000, %r15d, %r14d            ## imm = 0x36B0
	jmp	LBB0_16
LBB0_3:
	addl	%r15d, %r15d
	leal	(%r15,%r15,4), %r14d
	jmp	LBB0_16
LBB0_4:
	imull	$100, %r15d, %r14d
	jmp	LBB0_16
LBB0_5:
	imull	$1000, %r15d, %r14d             ## imm = 0x3E8
	jmp	LBB0_16
LBB0_8:
	imull	$10000, %r15d, %r14d            ## imm = 0x2710
	jmp	LBB0_16
LBB0_15:
	imull	$100000, %r15d, %r14d           ## imm = 0x186A0
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
LJTI0_0:
	.long	L0_0_set_14
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_12
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_10
	.long	L0_0_set_16
	.long	L0_0_set_9
	.long	L0_0_set_3
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_8
	.long	L0_0_set_15
	.end_data_region
                                        ## -- End function
	.no_dead_strip	___get_agg_bandwidth
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __get_agg_bandwidth
___get_agg_bandwidth:                   ; @__get_agg_bandwidth
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	bl	___agg_active_ports
	mov	x19, x0
	cbz	w0, LBB0_18
; %bb.1:
	ldr	w0, [x20]
	bl	___get_link_speed
	sub	w8, w0, #128
	cmp	w8, #13
	b.hi	LBB0_4
; %bb.2:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_3
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_3:
	mov	w8, #56000
	b	LBB0_17
LBB0_4:
	mov	w19, #0
	b	LBB0_18
LBB0_5:
	mov	w8, #5000
	b	LBB0_17
LBB0_6:
	mov	w8, #50000
	b	LBB0_17
LBB0_7:
	mov	w8, #40000
	b	LBB0_17
LBB0_8:
	mov	w8, #2500
	b	LBB0_17
LBB0_9:
	mov	w8, #25000
	b	LBB0_17
LBB0_10:
	mov	w8, #20000
	b	LBB0_17
LBB0_11:
	mov	w8, #14000
	b	LBB0_17
LBB0_12:
	add	w8, w19, w19, lsl #2
	lsl	w19, w8, #1
	b	LBB0_18
LBB0_13:
	mov	w8, #100
	b	LBB0_17
LBB0_14:
	mov	w8, #1000
	b	LBB0_17
LBB0_15:
	mov	w8, #10000
	b	LBB0_17
LBB0_16:
	mov	w8, #34464
	movk	w8, #1, lsl #16
LBB0_17:
	mul	w19, w19, w8
LBB0_18:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_5-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_7-LBB0_3)>>2
	.byte	(LBB0_8-LBB0_3)>>2
	.byte	(LBB0_9-LBB0_3)>>2
	.byte	(LBB0_10-LBB0_3)>>2
	.byte	(LBB0_18-LBB0_3)>>2
	.byte	(LBB0_11-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_15-LBB0_3)>>2
	.byte	(LBB0_16-LBB0_3)>>2
                                        ; -- End function
	.no_dead_strip	___get_agg_bandwidth
.subsections_via_symbols
