	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_infra_rate_max                 ## -- Begin function infra_rate_max
	.p2align	4, 0x90
_infra_rate_max:                        ## @infra_rate_max
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RATE_WINDOW@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	testl	%r10d, %r10d
	jle	LBB0_1
## %bb.2:
	movq	(%rdi), %r8
	cmpl	$1, %r10d
	jne	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%eax, %eax
LBB0_10:
	testb	$1, %r10b
	je	LBB0_13
## %bb.11:
	subl	(%r8,%rdx,4), %esi
	cmpl	%r10d, %esi
	jg	LBB0_13
## %bb.12:
	movq	8(%rdi), %rcx
	movl	(%rcx,%rdx,4), %ecx
	cmpl	%eax, %ecx
	cmovgl	%ecx, %eax
LBB0_13:
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	movl	%r10d, %r9d
	andl	$-2, %r9d
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	addq	$2, %rdx
	cmpq	%rdx, %r9
	je	LBB0_10
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %ecx
	subl	(%r8,%rdx,4), %ecx
	cmpl	%r10d, %ecx
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdi), %rcx
	movl	(%rcx,%rdx,4), %ecx
	cmpl	%eax, %ecx
	cmovgl	%ecx, %eax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	%esi, %ecx
	subl	4(%r8,%rdx,4), %ecx
	cmpl	%r10d, %ecx
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%rdi), %rcx
	movl	4(%rcx,%rdx,4), %ecx
	cmpl	%eax, %ecx
	cmovgl	%ecx, %eax
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_RATE_WINDOW,4,2                ## @RATE_WINDOW
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_infra_rate_max                 ; -- Begin function infra_rate_max
	.p2align	2
_infra_rate_max:                        ; @infra_rate_max
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _RATE_WINDOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RATE_WINDOW@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x10, #0
	mov	w8, #0
	ldr	x11, [x0]
	lsl	x12, x9, #2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #4
	cmp	x12, x10
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x11, x10]
	sub	w13, w1, w13
	cmp	w13, w9
	b.gt	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x13, [x0, #8]
	ldr	w13, [x13, x10]
	cmp	w13, w8
	csel	w8, w13, w8, gt
	b	LBB0_2
LBB0_5:
	mov	x0, x8
	ret
LBB0_6:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RATE_WINDOW,4,2                ; @RATE_WINDOW
.subsections_via_symbols
