	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mov_setup_track_ids
_mov_setup_track_ids:                   ## @mov_setup_track_ids
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	cmpl	$0, (%rdi)
	jne	LBB0_34
## %bb.1:
	cmpq	$0, 24(%rdi)
	je	LBB0_15
## %bb.2:
	movl	(%rsi), %r8d
	testl	%r8d, %r8d
	jle	LBB0_3
## %bb.4:
	movq	8(%rsi), %r11
	leaq	-1(%r8), %rax
	movl	%r8d, %r9d
	andl	$3, %r9d
	cmpq	$3, %rax
	jae	LBB0_20
## %bb.5:
	xorl	%edx, %edx
	xorl	%eax, %eax
LBB0_6:
	testq	%r9, %r9
	je	LBB0_9
## %bb.7:
	leaq	(%r11,%rdx,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rcx,%rdx,8), %rbx
	movl	(%rbx), %ebx
	cmpl	%eax, %ebx
	cmovgl	%ebx, %eax
	incq	%rdx
	cmpq	%rdx, %r9
	jne	LBB0_8
	jmp	LBB0_9
LBB0_15:
	movl	4(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_33
## %bb.16:
	movq	16(%rdi), %rcx
	xorl	%esi, %esi
	movq	_FF_MOV_FLAG_FRAGMENT@GOTPCREL(%rip), %r8
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_31:                                ##   in Loop: Header=BB0_17 Depth=1
	incq	%rsi
	movl	%esi, 8(%rcx,%rdx)
	cmpq	%rax, %rsi
	je	LBB0_33
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rsi, %rdx
	shlq	$4, %rdx
	cmpq	$0, (%rcx,%rdx)
	jg	LBB0_31
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	movl	(%r8), %ebx
	testl	%ebx, 8(%rdi)
	jne	LBB0_31
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	incq	%rsi
	cmpq	%rax, %rsi
	jne	LBB0_17
	jmp	LBB0_33
LBB0_3:
	xorl	%eax, %eax
LBB0_9:
	movl	4(%rdi), %r9d
	testl	%r9d, %r9d
	jle	LBB0_33
## %bb.10:
	movq	16(%rdi), %rdx
	movslq	%r8d, %r8
	addq	$8, %rdx
	xorl	%ecx, %ecx
	movq	_FF_MOV_FLAG_FRAGMENT@GOTPCREL(%rip), %r10
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_28:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	8(%rsi), %rbx
	movq	(%rbx,%rcx,8), %rbx
	movl	(%rbx), %ebx
LBB0_29:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%ebx, (%rdx)
LBB0_30:                                ##   in Loop: Header=BB0_11 Depth=1
	incq	%rcx
	addq	$16, %rdx
	cmpq	%rcx, %r9
	je	LBB0_33
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	cmpq	$0, -8(%rdx)
	jg	LBB0_13
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r10), %ebx
	testl	%ebx, 8(%rdi)
	je	LBB0_30
LBB0_13:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%r8, %rcx
	jl	LBB0_28
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%eax
	movl	%eax, %ebx
	jmp	LBB0_29
LBB0_33:
	movl	$1, (%rdi)
LBB0_34:
	xorl	%eax, %eax
	popq	%rbx
	popq	%rbp
	retq
LBB0_20:
	movl	%r8d, %r10d
	andl	$-4, %r10d
	xorl	%edx, %edx
	xorl	%eax, %eax
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	addq	$4, %rdx
	cmpq	%rdx, %r10
	je	LBB0_6
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r11,%rdx,8), %rcx
	movq	8(%r11,%rdx,8), %rbx
	movl	(%rcx), %ecx
	cmpl	%eax, %ecx
	cmovgl	%ecx, %eax
	movl	(%rbx), %ecx
	cmpl	%eax, %ecx
	jg	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%eax, %ecx
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	16(%r11,%rdx,8), %rax
	movl	(%rax), %ebx
	cmpl	%ecx, %ebx
	jg	LBB0_25
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%ecx, %ebx
LBB0_25:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	24(%r11,%rdx,8), %rax
	movl	(%rax), %eax
	cmpl	%ebx, %eax
	jg	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	%ebx, %eax
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_FF_MOV_FLAG_FRAGMENT,4,2       ## @FF_MOV_FLAG_FRAGMENT
	.no_dead_strip	_mov_setup_track_ids
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mov_setup_track_ids
_mov_setup_track_ids:                   ; @mov_setup_track_ids
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	cbz	w8, LBB0_2
; %bb.1:
	mov	w0, #0
	ret
LBB0_2:
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_6
; %bb.3:
	ldr	w8, [x1]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.4:
	ldr	x10, [x1, #8]
	cmp	w8, #4
	b.hs	LBB0_13
; %bb.5:
	mov	x11, #0
	mov	w9, #0
	b	LBB0_16
LBB0_6:
	ldr	w8, [x0, #4]
	cmp	w8, #1
	b.lt	LBB0_27
; %bb.7:
	mov	x10, #0
	ldr	x9, [x0, #16]
Lloh0:
	adrp	x11, _FF_MOV_FLAG_FRAGMENT@GOTPAGE
Lloh1:
	ldr	x11, [x11, _FF_MOV_FLAG_FRAGMENT@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	add	x12, x9, x10, lsl #4
	add	x10, x10, #1
	str	w10, [x12, #8]
	cmp	x10, x8
	b.eq	LBB0_27
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	lsl	x12, x10, #4
	ldr	x12, [x9, x12]
	cmp	x12, #0
	b.gt	LBB0_8
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	w12, [x0, #8]
	ldr	w13, [x11]
	tst	w13, w12
	b.ne	LBB0_8
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x10, x10, #1
	cmp	x10, x8
	b.ne	LBB0_9
	b	LBB0_27
LBB0_12:
	mov	w9, #0
	b	LBB0_18
LBB0_13:
	mov	w13, #0
	mov	w14, #0
	mov	w12, #0
	mov	w9, #0
	and	x11, x8, #0xfffffffc
	add	x15, x10, #16
	mov	x16, x11
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldp	x17, x2, [x15, #-16]
	ldp	x3, x4, [x15], #32
	ldr	w17, [x17]
	ldr	w2, [x2]
	ldr	w3, [x3]
	cmp	w17, w13
	csel	w13, w17, w13, gt
	cmp	w2, w14
	csel	w14, w2, w14, gt
	cmp	w3, w12
	csel	w12, w3, w12, gt
	ldr	w17, [x4]
	cmp	w17, w9
	csel	w9, w17, w9, gt
	subs	x16, x16, #4
	b.ne	LBB0_14
; %bb.15:
	cmp	w13, w14
	csel	w13, w13, w14, gt
	cmp	w13, w12
	csel	w12, w13, w12, gt
	cmp	w12, w9
	csel	w9, w12, w9, gt
	cmp	x11, x8
	b.eq	LBB0_18
LBB0_16:
	add	x10, x10, x11, lsl #3
	sub	x11, x8, x11
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x10], #8
	ldr	w12, [x12]
	cmp	w12, w9
	csel	w9, w12, w9, gt
	subs	x11, x11, #1
	b.ne	LBB0_17
LBB0_18:
	ldr	w10, [x0, #4]
	cmp	w10, #1
	b.lt	LBB0_27
; %bb.19:
	mov	x11, #0
	sxtw	x8, w8
	ldr	x12, [x0, #16]
	add	x12, x12, #8
Lloh2:
	adrp	x13, _FF_MOV_FLAG_FRAGMENT@GOTPAGE
Lloh3:
	ldr	x13, [x13, _FF_MOV_FLAG_FRAGMENT@GOTPAGEOFF]
	b	LBB0_23
LBB0_20:                                ;   in Loop: Header=BB0_23 Depth=1
	ldr	x14, [x1, #8]
	ldr	x14, [x14, x11, lsl #3]
	ldr	w14, [x14]
LBB0_21:                                ;   in Loop: Header=BB0_23 Depth=1
	str	w14, [x12]
LBB0_22:                                ;   in Loop: Header=BB0_23 Depth=1
	add	x11, x11, #1
	add	x12, x12, #16
	cmp	x10, x11
	b.eq	LBB0_27
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldur	x14, [x12, #-8]
	cmp	x14, #0
	b.gt	LBB0_25
; %bb.24:                               ;   in Loop: Header=BB0_23 Depth=1
	ldr	w14, [x0, #8]
	ldr	w15, [x13]
	tst	w15, w14
	b.eq	LBB0_22
LBB0_25:                                ;   in Loop: Header=BB0_23 Depth=1
	cmp	x11, x8
	b.lt	LBB0_20
; %bb.26:                               ;   in Loop: Header=BB0_23 Depth=1
	add	w9, w9, #1
	mov	x14, x9
	b	LBB0_21
LBB0_27:
	mov	w8, #1
	str	w8, [x0]
	mov	w0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_FF_MOV_FLAG_FRAGMENT,4,2       ; @FF_MOV_FLAG_FRAGMENT
	.no_dead_strip	_mov_setup_track_ids
.subsections_via_symbols
