	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function __isp_stat_buf_find
___isp_stat_buf_find:                   ## @__isp_stat_buf_find
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_STAT_MAX_BUFS@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	testl	%r10d, %r10d
	jle	LBB0_1
## %bb.2:
	movq	8(%rdi), %r8
	movq	16(%rdi), %rdx
	xorl	%eax, %eax
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, %rax
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %rdx
	decq	%r10
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	%r8, %rdx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	(%rdi), %rdx
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%rdx), %r9
	testl	%esi, %esi
	je	LBB0_6
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	testq	%r9, %r9
	jne	LBB0_12
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rdx), %rcx
	cmpq	(%rax), %rcx
	jl	LBB0_9
	jmp	LBB0_10
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%r9, %r9
	jne	LBB0_10
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_12:
	movq	%rdx, %rax
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_STAT_MAX_BUFS,4,2              ## @STAT_MAX_BUFS
	.no_dead_strip	___isp_stat_buf_find
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function __isp_stat_buf_find
___isp_stat_buf_find:                   ; @__isp_stat_buf_find
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _STAT_MAX_BUFS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STAT_MAX_BUFS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x8, #0
	ldp	x11, x10, [x0, #8]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x10
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x10, #16
	subs	x9, x9, #1
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	x10, x11
	b.eq	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x0]
	cmp	x10, x12
	b.eq	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x10, #8]
	cbz	w1, LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x12, LBB0_12
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	x8, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x12, [x10]
	ldr	x13, [x8]
	cmp	x12, x13
	b.lt	LBB0_2
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	cbnz	x12, LBB0_3
	b	LBB0_8
LBB0_11:
	mov	x0, #0
	ret
LBB0_12:
	mov	x8, x10
LBB0_13:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_STAT_MAX_BUFS,4,2              ; @STAT_MAX_BUFS
	.no_dead_strip	___isp_stat_buf_find
.subsections_via_symbols
