	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_sidx
_find_sidx:                             ## @find_sidx
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r12
	movq	$0, -48(%rbp)
	movq	_AVIO_FLAG_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	-48(%rbp), %rdi
	movq	%rdx, %rsi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_avio_open2
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	js	LBB0_13
## %bb.1:
	movslq	%r15d, %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdi
	movslq	%r13d, %rax
	addq	%rax, %rbx
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_avio_seek
	cmpq	%rbx, %rax
	jne	LBB0_13
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
	movq	-48(%rbp), %rdi
	cmpl	$0, (%rdi)
	jne	LBB0_14
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_avio_tell
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi
	callq	_avio_rb32
	movl	%eax, %r13d
	movq	-48(%rbp), %rdi
	callq	_avio_rb32
	cmpl	$8, %r13d
	jl	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%eax, %r14d
	movl	$115, %edi
	movl	$105, %esi
	movl	$100, %edx
	movl	$120, %ecx
	callq	_MKBETAG
	cmpl	%eax, %r14d
	jne	LBB0_12
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movslq	(%r12), %r9
	cmpl	%r15d, %r9d
	jle	LBB0_12
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%r12), %rcx
	movl	%r13d, %r8d
	addq	%rbx, %r8
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_7 Depth=2
	movq	%rbx, (%rdi)
	movl	%r13d, 8(%rdi)
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=2
	incq	%rsi
	cmpq	%rsi, %r9
	je	LBB0_12
LBB0_7:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	(%rcx,%rsi,8), %rdi
	movq	(%rdi), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=2
	movslq	8(%rdi), %rax
	addq	%rdx, %rax
	cmpq	%rax, %rbx
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_7 Depth=2
	movl	%r8d, %eax
	subl	%edx, %eax
	movl	%eax, 8(%rdi)
	jmp	LBB0_11
LBB0_13:
	movq	-48(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_15
LBB0_14:
	callq	_avio_close
LBB0_15:
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVIO_FLAG_READ,4,2             ## @AVIO_FLAG_READ
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_find_sidx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_sidx
_find_sidx:                             ; @find_sidx
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x8, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [sp, #8]
Lloh0:
	adrp	x9, _AVIO_FLAG_READ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AVIO_FLAG_READ@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x9]
	add	x0, sp, #8
	mov	x1, x8
	mov	x3, #0
	mov	x4, #0
	bl	_avio_open2
	mov	x19, x0
	tbnz	w0, #31, LBB0_13
; %bb.1:
	sxtw	x25, w20
	neg	x26, x25
Lloh3:
	adrp	x27, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x27, [x27, _SEEK_SET@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x0, [sp, #8]
	add	x22, x22, w23, sxtw
	ldr	w2, [x27]
	mov	x1, x22
	bl	_avio_seek
	cmp	x0, x22
	b.ne	LBB0_13
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_10 Depth 2
	ldr	x0, [sp, #8]
	ldr	w8, [x0]
	cbnz	w8, LBB0_14
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_avio_tell
	mov	x22, x0
	ldr	x0, [sp, #8]
	bl	_avio_rb32
	mov	x23, x0
	ldr	x0, [sp, #8]
	bl	_avio_rb32
	cmp	w23, #8
	b.lt	LBB0_13
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x24, x0
	mov	w0, #115
	mov	w1, #105
	mov	w2, #100
	mov	w3, #120
	bl	_MKBETAG
	cmp	w24, w0
	b.ne	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	ldrsw	x10, [x21]
	cmp	w10, w20
	b.le	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x21, #8]
	add	x8, x22, w23, uxtw
	add	x9, x9, x25, lsl #3
	add	x10, x26, x10
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=2
	str	x22, [x11]
	str	w23, [x11, #8]
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=2
	add	x9, x9, #8
	subs	x10, x10, #1
	b.eq	LBB0_2
LBB0_10:                                ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldr	x11, [x9]
	ldr	x12, [x11]
	cbz	x12, LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=2
	ldrsw	x13, [x11, #8]
	add	x13, x12, x13
	cmp	x22, x13
	b.ne	LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=2
	sub	w12, w8, w12
	str	w12, [x11, #8]
	b	LBB0_9
LBB0_13:
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_15
LBB0_14:
	bl	_avio_close
LBB0_15:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_AVIO_FLAG_READ,4,2             ; @AVIO_FLAG_READ
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_find_sidx
.subsections_via_symbols
