	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_drop_frame
_find_drop_frame:                       ## @find_drop_frame
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %r15
	movslq	8(%rdi), %rax
	movslq	12(%rdi), %rcx
	movl	%esi, %r13d
	movslq	%esi, %rsi
	decq	%rsi
	movq	%rsi, %rbx
	imulq	%rcx, %rbx
	addq	%rax, %rbx
	movl	24(%rdi), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_hb_list_item
	movq	%rax, %rcx
	movl	$-1, %eax
	cmpq	%rbx, (%rcx)
	jge	LBB0_10
## %bb.1:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	24(%r14), %edi
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	callq	_hb_list_item
	movl	$1, %ebx
	cmpl	$2, %r13d
	jl	LBB0_9
## %bb.2:
	movq	%rax, %r15
	movl	%r13d, %r13d
	xorl	%r12d, %r12d
	movl	$1, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	%ebx, %r12d
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	%rbx, %r13
	je	LBB0_8
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%r14), %edi
	movl	%ebx, %esi
	callq	_hb_list_item
	movq	(%rax), %rax
	subq	8(%r15), %rax
	cmpq	16(%r14), %rax
	jg	LBB0_9
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	testl	%r12d, %r12d
	js	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%r12d, %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movsd	(%rcx,%rax,8), %xmm0            ## xmm0 = mem[0],zero
	ucomisd	(%rcx,%rbx,8), %xmm0
	ja	LBB0_6
	jmp	LBB0_7
LBB0_8:
	movl	%r13d, %ebx
LBB0_9:
	movslq	8(%r14), %rax
	movslq	12(%r14), %rcx
	movslq	%ebx, %rsi
	decq	%rsi
	movq	%rsi, %rbx
	imulq	%rcx, %rbx
	addq	%rax, %rbx
	movl	24(%r14), %edi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_hb_list_item
	cmpq	%rbx, (%rax)
	movl	$-1, %eax
	cmovll	%r12d, %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_find_drop_frame
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_drop_frame
_find_drop_frame:                       ; @find_drop_frame
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	ldr	x23, [x0]
	ldpsw	x8, x9, [x0, #8]
	sxtw	x10, w21
	sub	x1, x10, #1
	madd	x20, x9, x1, x8
	ldr	w0, [x0, #24]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_hb_list_item
	ldr	x8, [x0]
	cmp	x8, x20
	b.ge	LBB0_8
; %bb.1:
	ldr	w0, [x19, #24]
	mov	w1, #0
	bl	_hb_list_item
	cmp	w21, #2
	b.lt	LBB0_9
; %bb.2:
	mov	x20, x0
	mov	w22, #0
	mov	w24, w21
	mov	w21, #1
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x22, x21
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #1
	cmp	x24, x21
	b.eq	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19, #24]
	mov	x1, x21
	bl	_hb_list_item
	ldr	x8, [x0]
	ldr	x9, [x20, #8]
	ldr	x10, [x19, #16]
	sub	x8, x8, x9
	cmp	x8, x10
	b.gt	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	tbnz	w22, #31, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	d0, [x23, x21, lsl #3]
	ldr	d1, [x23, w22, uxtw #3]
	fcmp	d0, d1
	b.mi	LBB0_3
	b	LBB0_4
LBB0_8:
	mov	w0, #-1
	b	LBB0_13
LBB0_9:
	mov	w22, #0
	mov	w21, #1
	b	LBB0_12
LBB0_10:
                                        ; kill: def $w21 killed $w21 killed $x21 def $x21
	b	LBB0_12
LBB0_11:
	mov	x21, x24
LBB0_12:
	ldpsw	x8, x9, [x19, #8]
	sxtw	x10, w21
	sub	x1, x10, #1
	madd	x20, x9, x1, x8
	ldr	w0, [x19, #24]
                                        ; kill: def $w1 killed $w1 killed $x1
	bl	_hb_list_item
	ldr	x8, [x0]
	cmp	x8, x20
	csinv	w0, w22, wzr, lt
LBB0_13:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_find_drop_frame
.subsections_via_symbols
