	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_write_sidx_tags
_mov_write_sidx_tags:                   ## @mov_write_sidx_tags
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r12
	movq	%rdi, %rbx
	leaq	-56(%rbp), %rdi
	callq	_ffio_open_null_buf
	testl	%eax, %eax
	js	LBB0_18
## %bb.1:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movl	%r15d, %eax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r12), %eax
	testl	%eax, %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jle	LBB0_9
## %bb.2:
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	leaq	(,%rcx,4), %rdi
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	%r14, %rsi
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movq	%r12, %r13
	movl	%r15d, %r12d
	movl	%ecx, %r15d
	callq	_mov_write_sidx_tag
	movl	%r15d, %ecx
	movl	%r12d, %r15d
	movq	%r13, %r12
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	subl	%eax, %ecx
	movl	(%r13), %eax
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	movslq	%eax, %rsi
	addq	$4, %r14
	cmpq	%rsi, %rbx
	jge	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	testl	%r15d, %r15d
	js	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpq	%r14, %rdi
	jne	LBB0_8
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%edx, %edx
	jle	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, (%rsi,%r14)
	je	LBB0_8
	jmp	LBB0_7
LBB0_9:
	movq	-56(%rbp), %rdi
	callq	_ffio_close_null_buf
	movl	%eax, %r13d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, -56(%rbp)
	movl	(%r12), %eax
	testl	%eax, %eax
	jle	LBB0_17
## %bb.10:
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	addq	%r14, %rsi
	movq	-56(%rbp), %rdi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movl	%r13d, %ecx
	callq	_mov_write_sidx_tag
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	subl	%eax, %r13d
	movl	(%r12), %eax
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	addq	$4, %r14
	cmpq	%rcx, %rbx
	jge	LBB0_17
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rsi
	testl	%r15d, %r15d
	js	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%rbx, -64(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_16
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	testl	%edx, %edx
	jle	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpl	$0, (%rsi,%r14)
	je	LBB0_16
	jmp	LBB0_15
LBB0_17:
	xorl	%eax, %eax
LBB0_18:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mov_write_sidx_tags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_write_sidx_tags
_mov_write_sidx_tags:                   ; @mov_write_sidx_tags
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, sp, #8
	bl	_ffio_open_null_buf
	tbnz	w0, #31, LBB0_18
; %bb.1:
	mov	w24, w20
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.2:
	mov	x25, #0
	mov	x26, #0
	mov	w23, #0
	lsl	x27, x24, #2
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x9, x25
	ldr	x0, [sp, #8]
	mov	x2, x19
	mov	x3, x23
	bl	_mov_write_sidx_tag
	sub	w23, w23, w0
	ldr	w8, [x21]
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x26, x26, #1
	add	x25, x25, #4
	cmp	x26, w8, sxtw
	b.ge	LBB0_9
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	tbnz	w20, #31, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	x27, x25
	b.ne	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	cmp	w19, #1
	b.lt	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w10, [x9, x25]
	cbz	w10, LBB0_4
	b	LBB0_3
LBB0_9:
	ldr	x0, [sp, #8]
	bl	_ffio_close_null_buf
	str	x22, [sp, #8]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_17
; %bb.10:
	mov	x23, x0
	mov	x22, #0
	mov	x25, #0
	b	LBB0_13
LBB0_11:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x1, x9, x22
	ldr	x0, [sp, #8]
	mov	x2, x19
	mov	x3, x23
	bl	_mov_write_sidx_tag
	sub	w23, w23, w0
	ldr	w8, [x21]
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x25, x25, #1
	add	x22, x22, #4
	cmp	x25, w8, sxtw
	b.ge	LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x21, #8]
	tbnz	w20, #31, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	cmp	x24, x25
	b.ne	LBB0_12
LBB0_15:                                ;   in Loop: Header=BB0_13 Depth=1
	cmp	w19, #1
	b.lt	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w10, [x9, x22]
	cbz	w10, LBB0_12
	b	LBB0_11
LBB0_17:
	mov	w0, #0
LBB0_18:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mov_write_sidx_tags
.subsections_via_symbols
