	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function statext_compute_stattarget
_statext_compute_stattarget:            ## @statext_compute_stattarget
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movl	%edi, %ebx
	testl	%edi, %edi
	jns	LBB0_18
## %bb.1:
	testl	%esi, %esi
	jle	LBB0_15
## %bb.2:
	movl	%esi, %esi
	leaq	-1(%rsi), %rax
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$3, %rax
	jae	LBB0_4
## %bb.3:
	xorl	%ecx, %ecx
LBB0_12:
	testq	%r8, %r8
	je	LBB0_15
## %bb.13:
	leaq	(%rdx,%rcx,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	cmovgl	%eax, %ebx
	incq	%rdx
	cmpq	%rdx, %r8
	jne	LBB0_14
LBB0_15:
	testl	%ebx, %ebx
	jns	LBB0_17
## %bb.16:
	movq	_default_statistics_target@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_17:
	xorl	%edi, %edi
	cmpl	$10001, %ebx                    ## imm = 0x2711
	setb	%dil
	callq	_Assert
LBB0_18:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_4:
	andl	$-4, %esi
	xorl	%ecx, %ecx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	addq	$4, %rcx
	cmpq	%rcx, %rsi
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rcx,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	cmovgl	%eax, %ebx
	movq	8(%rdx,%rcx,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	cmpl	%ebx, %edi
	jg	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ebx, %edi
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rdx,%rcx,8), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	jg	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%edi, %eax
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	24(%rdx,%rcx,8), %rdi
	movq	(%rdi), %rdi
	movl	(%rdi), %ebx
	cmpl	%eax, %ebx
	jg	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %ebx
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_default_statistics_target,4,2  ## @default_statistics_target
	.no_dead_strip	_statext_compute_stattarget
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function statext_compute_stattarget
_statext_compute_stattarget:            ; @statext_compute_stattarget
	.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	x19, x0
	tbz	w0, #31, LBB0_10
; %bb.1:
	cmp	w1, #1
	b.lt	LBB0_9
; %bb.2:
	mov	w8, w1
	cmp	w1, #4
	b.hs	LBB0_4
; %bb.3:
	mov	x9, #0
	b	LBB0_7
LBB0_4:
	and	x9, x8, #0xfffffffc
	add	x10, x2, #16
	mov	x13, x9
	mov	x14, x19
	mov	x12, x19
	mov	x11, x19
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x15, x16, [x10, #-16]
	ldp	x17, x0, [x10], #32
	ldr	x15, [x15]
	ldr	x16, [x16]
	ldr	x17, [x17]
	ldr	x0, [x0]
	ldr	w15, [x15]
	ldr	w16, [x16]
	ldr	w17, [x17]
	cmp	w15, w19
	csel	w19, w15, w19, gt
	cmp	w16, w14
	csel	w14, w16, w14, gt
	cmp	w17, w12
	csel	w12, w17, w12, gt
	ldr	w15, [x0]
	cmp	w15, w11
	csel	w11, w15, w11, gt
	subs	x13, x13, #4
	b.ne	LBB0_5
; %bb.6:
	cmp	w19, w14
	csel	w10, w19, w14, gt
	cmp	w10, w12
	csel	w10, w10, w12, gt
	cmp	w10, w11
	csel	w19, w10, w11, gt
	cmp	x9, x8
	b.eq	LBB0_9
LBB0_7:
	add	x10, x2, x9, lsl #3
	sub	x8, x8, x9
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x10], #8
	ldr	x9, [x9]
	ldr	w9, [x9]
	cmp	w9, w19
	csel	w19, w9, w19, gt
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
Lloh0:
	adrp	x8, _default_statistics_target@GOTPAGE
Lloh1:
	ldr	x8, [x8, _default_statistics_target@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w19, #0
	csel	w19, w8, w19, lt
	mov	w8, #10001
	cmp	w19, w8
	cset	w0, lo
	bl	_Assert
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_default_statistics_target,4,2  ; @default_statistics_target
	.no_dead_strip	_statext_compute_stattarget
.subsections_via_symbols
