	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rate_control_pid_normalize
_rate_control_pid_normalize:            ## @rate_control_pid_normalize
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	movl	(%rdi), %r8d
	movq	8(%rdi), %r9
	movl	(%r9), %edx
	movl	%edx, %eax
	subl	%r8d, %eax
	jg	LBB0_3
## %bb.1:
	movl	%r8d, %eax
	negl	%eax
	cmpl	%eax, %edx
	jge	LBB0_4
## %bb.2:
	addl	%r8d, %edx
	movl	%edx, %eax
LBB0_3:
	movl	%eax, (%r9)
	movl	%eax, %edx
LBB0_4:
	cmpl	$2, %esi
	jl	LBB0_12
## %bb.5:
	decl	%esi
	xorl	%edi, %edi
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_6 Depth=1
	subl	%r8d, %ecx
LBB0_10:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%ecx, 4(%r9,%rdi,4)
LBB0_11:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	%ecx, %edx
	movq	%r10, %rdi
	cmpq	%r10, %rsi
	je	LBB0_12
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%rdi), %r10
	movl	4(%r9,%rdi,4), %ecx
	leal	(%rdx,%r8), %eax
	cmpl	%eax, %ecx
	jg	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	%edx, %ecx
	jg	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_6 Depth=1
	addl	%r8d, %ecx
	jmp	LBB0_10
LBB0_12:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rate_control_pid_normalize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rate_control_pid_normalize
_rate_control_pid_normalize:            ; @rate_control_pid_normalize
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	ldr	x11, [x0, #8]
	ldr	w9, [x11]
	subs	w10, w9, w8
	b.le	LBB0_2
; %bb.1:
	mov	x9, x10
	b	LBB0_4
LBB0_2:
	neg	w10, w8
	cmp	w9, w10
	b.ge	LBB0_5
; %bb.3:
	add	w9, w9, w8
LBB0_4:
	str	w9, [x11]
LBB0_5:
	cmp	w1, #2
	b.lt	LBB0_13
; %bb.6:
	sub	w10, w1, #1
	add	x11, x11, #4
	b	LBB0_10
LBB0_7:                                 ;   in Loop: Header=BB0_10 Depth=1
	sub	w9, w12, w8
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	str	w9, [x11]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x11, x11, #4
	subs	x10, x10, #1
	b.eq	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w12, [x11]
	add	w13, w9, w8
	cmp	w12, w13
	b.gt	LBB0_7
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w12, w9
	mov	x9, x12
	b.gt	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w9, w12, w8
	b	LBB0_8
LBB0_13:
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rate_control_pid_normalize
.subsections_via_symbols
