	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function index_of_ps_stream
_index_of_ps_stream:                    ## @index_of_ps_stream
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %r8d
	movl	$-1, %eax
	testl	%r8d, %r8d
	jle	LBB0_10
## %bb.1:
	movq	8(%rdi), %r9
	xorl	%ecx, %ecx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rcx
	cmpq	%rcx, %r8
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%r9,%rcx,8)
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	%edx, 4(%r9,%rcx,8)
	jne	LBB0_4
	jmp	LBB0_9
LBB0_5:
	movq	8(%rdi), %rdx
	xorl	%ecx, %ecx
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%rcx
	cmpq	%rcx, %r8
	je	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%esi, (%rdx,%rcx,8)
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, 4(%rdx,%rcx,8)
	jne	LBB0_8
LBB0_9:
	movl	%ecx, %eax
LBB0_10:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_index_of_ps_stream
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function index_of_ps_stream
_index_of_ps_stream:                    ; @index_of_ps_stream
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	cmp	w9, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x8, x0
	mov	x0, #0
	ldr	x10, [x8, #8]
	add	x10, x10, #4
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x0, x0, #1
	add	x10, x10, #8
	cmp	x9, x0
	b.eq	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w11, [x10, #-4]
	cmp	w11, w1
	b.ne	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w11, [x10]
	cmp	w11, w2
	b.ne	LBB0_2
; %bb.5:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_6:
	mov	x0, #0
	ldr	x8, [x8, #8]
	add	x8, x8, #4
	b	LBB0_8
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	add	x0, x0, #1
	add	x8, x8, #8
	cmp	x9, x0
	b.eq	LBB0_11
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x8, #-4]
	cmp	w10, w1
	b.ne	LBB0_7
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w10, [x8]
	cbnz	w10, LBB0_7
; %bb.10:
                                        ; kill: def $w0 killed $w0 killed $x0 def $x0
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_11:
	mov	w0, #-1
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_index_of_ps_stream
.subsections_via_symbols
