	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___qed_configure_pf_max_bandwidth ## -- Begin function __qed_configure_pf_max_bandwidth
	.p2align	4, 0x90
___qed_configure_pf_max_bandwidth:      ## @__qed_configure_pf_max_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	%rdx, %r14
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	%ecx, (%rax)
	movl	(%rdx), %eax
	cmpl	$100, %ecx
	je	LBB0_2
## %bb.1:
	testl	%eax, %eax
	jne	LBB0_2
## %bb.3:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	imull	%ecx, %eax
	cltq
	imulq	$1374389535, %rax, %rax         ## imm = 0x51EB851F
	movq	%rax, %rdx
	shrq	$63, %rdx
	sarq	$37, %rax
	addl	%edx, %eax
	movl	%eax, 4(%r14)
	cmpl	$100, %ecx
	movl	$100000, %ecx                   ## imm = 0x186A0
	cmovnel	%eax, %ecx
	movl	%ecx, (%rbx)
	movl	4(%rbx), %edx
	movq	%rbx, %rdi
	callq	_qed_init_pf_rl
	movl	%eax, %r15d
	movq	_NETIF_MSG_LINK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	4(%r14), %ecx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_DP_VERBOSE
	movl	%r15d, %eax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_MSG_LINK,4,2             ## @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Configured MAX bandwidth to be %08x Mb/sec\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___qed_configure_pf_max_bandwidth ; -- Begin function __qed_configure_pf_max_bandwidth
	.p2align	2
___qed_configure_pf_max_bandwidth:      ; @__qed_configure_pf_max_bandwidth
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x0
	ldr	x8, [x0, #8]
	str	w3, [x8]
	ldr	w8, [x2]
	cmp	w3, #100
	b.eq	LBB0_3
; %bb.1:
	cbnz	w8, LBB0_3
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mul	w8, w8, w3
	mov	w9, #34079
	movk	w9, #20971, lsl #16
	smull	x8, w8, w9
	lsr	x9, x8, #63
	asr	x8, x8, #37
	add	w8, w8, w9
	str	w8, [x20, #4]
	mov	w9, #34464
	movk	w9, #1, lsl #16
	cmp	w3, #100
	csel	w3, w9, w8, eq
	str	w3, [x19]
	ldr	w2, [x19, #4]
	mov	x0, x19
	bl	_qed_init_pf_rl
	mov	x21, x0
Lloh0:
	adrp	x8, _NETIF_MSG_LINK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_MSG_LINK@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	ldr	w3, [x20, #4]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_DP_VERBOSE
	mov	x0, x21
LBB0_4:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_MSG_LINK,4,2             ; @NETIF_MSG_LINK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Configured MAX bandwidth to be %08x Mb/sec\n"

.subsections_via_symbols
