	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cue_find_track                 ## -- Begin function cue_find_track
	.p2align	4, 0x90
_cue_find_track:                        ## @cue_find_track
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $r9d killed $r9d def $r9
	movq	%r9, -112(%rbp)                 ## 8-byte Spill
	movq	%r8, -120(%rbp)                 ## 8-byte Spill
	movq	%rcx, -104(%rbp)                ## 8-byte Spill
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	movl	%esi, -80(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r13
	movq	_MAX_TOKEN_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_malloc
	movq	%rax, %r14
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	incq	%rdi
	callq	_malloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$-1, -44(%rbp)
	movl	$-1, -56(%rbp)
	movl	$0, -72(%rbp)
	movl	$-1, -52(%rbp)
	movq	(%rbx), %rdi
	callq	_malloc
	movq	%rax, %r12
	movb	$0, (%rax)
	movq	(%rbx), %rdx
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_fill_pathname_basedir
	movq	_INTFSTREAM_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -128(%rbp)
	leaq	-128(%rbp), %rdi
	callq	_intfstream_init
	testq	%rax, %rax
	je	LBB0_32
## %bb.1:
	movq	%rax, %r15
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	_RETRO_VFS_FILE_ACCESS_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_RETRO_VFS_FILE_ACCESS_HINT_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_intfstream_open
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	leaq	L_.str.1(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movb	$0, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, -48(%rbp)                 ## 4-byte Spill
	movq	_MAX_TOKEN_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	testq	%rax, %rax
	jle	LBB0_28
## %bb.4:
	movl	$-1, -76(%rbp)                  ## 4-byte Folded Spill
	xorl	%r12d, %r12d
	movl	$0, -68(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_5
LBB0_32:
	movq	%r12, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_33
LBB0_2:
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str(%rip), %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_RARCH_LOG
	jmp	LBB0_17
LBB0_26:                                ##   in Loop: Header=BB0_5 Depth=1
	testq	%rax, %rax
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	$0, %ecx
	cmovnel	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	movq	_PATH_MAX_LENGTH@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	movq	-88(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_fill_pathname_join
	movq	%r13, %rdi
	callq	_intfstream_get_file_size
	movl	%eax, -52(%rbp)
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
LBB0_27:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	testq	%rax, %rax
	jle	LBB0_28
LBB0_5:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_6 Depth 2
	movl	-76(%rbp), %ecx                 ## 4-byte Reload
	cmpl	$-1, %ecx
	sete	%al
	cmpl	%ecx, -68(%rbp)                 ## 4-byte Folded Reload
	sete	%r13b
	orb	%al, %r13b
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_5 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r14, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_string_is_equal_noncase
	testq	%rax, %rax
	jne	LBB0_7
## %bb.12:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r14, %rdi
	leaq	L_.str.3(%rip), %rsi
	callq	_string_is_equal_noncase
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	%r14, %rdi
	leaq	L_.str.5(%rip), %rsi
	callq	_string_is_equal_noncase
	movq	_MAX_TOKEN_LEN@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_27
## %bb.15:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	movq	%r14, %rdi
	leaq	L_.str.6(%rip), %rsi
	leaq	-140(%rbp), %rdx
	leaq	-136(%rbp), %rcx
	leaq	-132(%rbp), %r8
	callq	_sscanf
	cmpl	$2, %eax
	jle	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_6 Depth=2
	imull	$60, -140(%rbp), %eax
	addl	-136(%rbp), %eax
	imull	$75, %eax, %eax
	addl	-132(%rbp), %eax
	imull	$2352, %eax, %eax               ## imm = 0x930
	movl	%eax, -44(%rbp)
	testb	%r13b, %r13b
	jne	LBB0_21
## %bb.19:                              ##   in Loop: Header=BB0_6 Depth=2
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	_update_cand
	addq	$16, %rsp
	testq	%rax, %rax
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	$0, %ecx
	cmovnel	%ecx, %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=2
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_11
LBB0_21:                                ##   in Loop: Header=BB0_6 Depth=2
	testl	%r12d, %r12d
	jne	LBB0_22
## %bb.25:                              ##   in Loop: Header=BB0_6 Depth=2
	movq	_MAX_TOKEN_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	xorl	%r12d, %r12d
	testq	%rax, %rax
	jg	LBB0_6
	jmp	LBB0_28
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %eax
	cmpl	$-1, %eax
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	-52(%rbp), %eax
	movl	%eax, -44(%rbp)
LBB0_9:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	_update_cand
	addq	$16, %rsp
	testq	%rax, %rax
	movq	_MAX_TOKEN_LEN@GOTPCREL(%rip), %rbx
	je	LBB0_26
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$0, -80(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
	jmp	LBB0_11
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAX_TOKEN_LEN@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	movq	(%rbx), %rdx
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_get_token
	movq	%r14, %rdi
	leaq	L_.str.4(%rip), %rsi
	callq	_string_is_equal_noncase
	xorl	%r12d, %r12d
	testq	%rax, %rax
	sete	%r12b
	incl	-68(%rbp)                       ## 4-byte Folded Spill
	jmp	LBB0_27
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$-1, -56(%rbp)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %eax
	movl	%eax, -56(%rbp)
	movl	-68(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -76(%rbp)                 ## 4-byte Spill
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_MAX_TOKEN_LEN@GOTPCREL(%rip), %rbx
	jmp	LBB0_27
LBB0_28:
	movl	-52(%rbp), %eax
	cmpl	$-1, %eax
	je	LBB0_30
## %bb.29:
	movl	-52(%rbp), %eax
	movl	%eax, -44(%rbp)
LBB0_30:
	leaq	-56(%rbp), %rdi
	leaq	-44(%rbp), %rsi
	leaq	-72(%rbp), %rdx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	-96(%rbp), %r8                  ## 8-byte Reload
	movq	-104(%rbp), %r9                 ## 8-byte Reload
	pushq	-112(%rbp)                      ## 8-byte Folded Reload
	pushq	-120(%rbp)                      ## 8-byte Folded Reload
	callq	_update_cand
	addq	$16, %rsp
	xorl	%ebx, %ebx
	testq	%rax, %rax
	cmovel	-48(%rbp), %ebx                 ## 4-byte Folded Reload
LBB0_31:
	movq	-88(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movq	%r12, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_intfstream_close
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_34
LBB0_16:
	leaq	L_.str.7(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_RARCH_LOG
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	-88(%rbp), %r12                 ## 8-byte Reload
LBB0_17:
	movq	%r12, %rdi
	callq	_free
	movq	%r14, %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_intfstream_close
	movq	%r15, %rdi
LBB0_33:
	callq	_free
	movq	_errno@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_34:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%ebx, %ebx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_31
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_TOKEN_LEN,8,3              ## @MAX_TOKEN_LEN
	.comm	_PATH_MAX_LENGTH,8,3            ## @PATH_MAX_LENGTH
	.comm	_INTFSTREAM_FILE,4,2            ## @INTFSTREAM_FILE
	.comm	_RETRO_VFS_FILE_ACCESS_READ,4,2 ## @RETRO_VFS_FILE_ACCESS_READ
	.comm	_RETRO_VFS_FILE_ACCESS_HINT_NONE,4,2 ## @RETRO_VFS_FILE_ACCESS_HINT_NONE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not open CUE file '%s': %s\n"

	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"Parsing CUE file '%s'...\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"FILE"

L_.str.3:                               ## @.str.3
	.asciz	"TRACK"

L_.str.4:                               ## @.str.4
	.asciz	"AUDIO"

L_.str.5:                               ## @.str.5
	.asciz	"INDEX"

L_.str.6:                               ## @.str.6
	.asciz	"%02d:%02d:%02d"

L_.str.7:                               ## @.str.7
	.asciz	"Error parsing time stamp '%s'\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cue_find_track                 ; -- Begin function cue_find_track
	.p2align	2
_cue_find_track:                        ; @cue_find_track
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	str	w5, [sp, #40]                   ; 4-byte Folded Spill
	str	x4, [sp, #32]                   ; 8-byte Folded Spill
	mov	x25, x3
	mov	x26, x2
	str	w1, [sp, #28]                   ; 4-byte Folded Spill
	mov	x27, x0
Lloh0:
	adrp	x28, _MAX_TOKEN_LEN@GOTPAGE
Lloh1:
	ldr	x28, [x28, _MAX_TOKEN_LEN@GOTPAGEOFF]
	ldr	x0, [x28]
	bl	_malloc
	mov	x20, x0
Lloh2:
	adrp	x21, _PATH_MAX_LENGTH@GOTPAGE
Lloh3:
	ldr	x21, [x21, _PATH_MAX_LENGTH@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x0, x8, #1
	bl	_malloc
	mov	x19, x0
	mov	w8, #-1
	stp	w8, w8, [sp, #64]
	str	wzr, [sp, #60]
	str	w8, [sp, #56]
	ldr	x0, [x21]
	bl	_malloc
	mov	x22, x0
	strb	wzr, [x0]
	ldr	x2, [x21]
	mov	x1, x27
	bl	_fill_pathname_basedir
Lloh4:
	adrp	x8, _INTFSTREAM_FILE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _INTFSTREAM_FILE@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	str	w8, [sp, #72]
	add	x0, sp, #72
	bl	_intfstream_init
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
Lloh7:
	adrp	x8, _RETRO_VFS_FILE_ACCESS_READ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RETRO_VFS_FILE_ACCESS_READ@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
Lloh10:
	adrp	x8, _RETRO_VFS_FILE_ACCESS_HINT_NONE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _RETRO_VFS_FILE_ACCESS_HINT_NONE@GOTPAGEOFF]
Lloh12:
	ldr	w3, [x8]
	mov	x1, x27
	bl	_intfstream_open
	cbz	w0, LBB0_5
; %bb.2:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x27
	bl	_RARCH_LOG
	strb	wzr, [x20]
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	neg	w27, w8
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
	cmp	x0, #1
	b.lt	LBB0_25
; %bb.3:
	mov	w23, #0
	mov	w8, #-1
	stp	w8, wzr, [sp, #20]              ; 8-byte Folded Spill
	b	LBB0_8
LBB0_4:
	mov	x0, x22
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x19
	b	LBB0_31
LBB0_5:
Lloh18:
	adrp	x8, _errno@GOTPAGE
Lloh19:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh21:
	adrp	x0, l_.str@PAGE
Lloh22:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x27
	b	LBB0_30
LBB0_6:                                 ;   in Loop: Header=BB0_8 Depth=1
	cmp	x0, #0
	csel	w27, w27, wzr, eq
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
Lloh23:
	adrp	x8, _PATH_MAX_LENGTH@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PATH_MAX_LENGTH@GOTPAGEOFF]
Lloh25:
	ldr	x3, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_fill_pathname_join
	mov	x0, x19
	bl	_intfstream_get_file_size
	str	w0, [sp, #56]
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
LBB0_7:                                 ;   in Loop: Header=BB0_8 Depth=1
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
	cmp	x0, #0
	b.le	LBB0_25
LBB0_8:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_9 Depth 2
	ldp	w9, w8, [sp, #20]               ; 8-byte Folded Reload
	cmn	w9, #1
	ccmp	w8, w9, #4, ne
	cset	w24, eq
LBB0_9:                                 ;   Parent Loop BB0_8 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x20
Lloh26:
	adrp	x1, l_.str.2@PAGE
Lloh27:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_string_is_equal_noncase
	cbnz	x0, LBB0_18
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
Lloh28:
	adrp	x1, l_.str.3@PAGE
Lloh29:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_string_is_equal_noncase
	cbnz	x0, LBB0_22
; %bb.11:                               ;   in Loop: Header=BB0_9 Depth=2
	mov	x0, x20
Lloh30:
	adrp	x1, l_.str.5@PAGE
Lloh31:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_string_is_equal_noncase
	cbz	x0, LBB0_7
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
	add	x2, sp, #52
	add	x3, sp, #48
	add	x4, sp, #44
	mov	x0, x20
Lloh32:
	adrp	x1, l_.str.6@PAGE
Lloh33:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_sscanf
	cmp	w0, #2
	b.le	LBB0_29
; %bb.13:                               ;   in Loop: Header=BB0_9 Depth=2
	ldp	w9, w8, [sp, #48]
	mov	w10, #60
	madd	w8, w8, w10, w9
	ldr	w9, [sp, #44]
	mov	w10, #75
	madd	w8, w8, w10, w9
	mov	w9, #2352
	mul	w8, w8, w9
	str	w8, [sp, #68]
	tbnz	w24, #0, LBB0_16
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=2
	add	x0, sp, #64
	add	x1, sp, #68
	add	x2, sp, #60
	mov	x3, x19
	mov	x4, x26
	mov	x5, x25
	ldr	x6, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w7, [sp, #40]                   ; 4-byte Folded Reload
	bl	_update_cand
	cmp	x0, #0
	csel	w27, w27, wzr, eq
	cbz	x0, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_33
LBB0_16:                                ;   in Loop: Header=BB0_9 Depth=2
	cbnz	w23, LBB0_23
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=2
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
	cmp	x0, #0
	b.gt	LBB0_9
	b	LBB0_25
LBB0_18:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #56]
	cmn	w8, #1
	b.eq	LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #56]
	str	w8, [sp, #68]
LBB0_20:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x0, sp, #64
	add	x1, sp, #68
	add	x2, sp, #60
	mov	x3, x19
	mov	x4, x26
	mov	x5, x25
	ldr	x6, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w7, [sp, #40]                   ; 4-byte Folded Reload
	bl	_update_cand
	cbz	x0, LBB0_6
; %bb.21:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #28]                   ; 4-byte Folded Reload
	cbz	w8, LBB0_6
	b	LBB0_33
LBB0_22:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
	ldr	x2, [x28]
	mov	x0, x21
	mov	x1, x20
	bl	_get_token
	mov	x0, x20
Lloh34:
	adrp	x1, l_.str.4@PAGE
Lloh35:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_string_is_equal_noncase
	cmp	x0, #0
	cset	w23, eq
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	add	w8, w8, #1
	str	w8, [sp, #24]                   ; 4-byte Folded Spill
	b	LBB0_7
LBB0_23:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #64]
	cmn	w8, #1
	b.ne	LBB0_7
; %bb.24:                               ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #68]
	str	w8, [sp, #64]
	ldr	w8, [sp, #24]                   ; 4-byte Folded Reload
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	b	LBB0_7
LBB0_25:
	ldr	w8, [sp, #56]
	cmn	w8, #1
	b.eq	LBB0_27
; %bb.26:
	ldr	w8, [sp, #56]
	str	w8, [sp, #68]
LBB0_27:
	add	x0, sp, #64
	add	x1, sp, #68
	add	x2, sp, #60
	mov	x3, x19
	mov	x4, x26
	mov	x5, x25
	ldr	x6, [sp, #32]                   ; 8-byte Folded Reload
	ldr	w7, [sp, #40]                   ; 4-byte Folded Reload
	bl	_update_cand
	cmp	x0, #0
	csel	w23, w27, wzr, eq
LBB0_28:
	mov	x0, x22
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x0, x21
	bl	_intfstream_close
	mov	x0, x21
	bl	_free
	b	LBB0_32
LBB0_29:
Lloh36:
	adrp	x0, l_.str.7@PAGE
Lloh37:
	add	x0, x0, l_.str.7@PAGEOFF
	mov	x1, x20
LBB0_30:
	bl	_RARCH_LOG
	mov	x0, x22
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x19
	bl	_free
	mov	x0, x21
	bl	_intfstream_close
	mov	x0, x21
LBB0_31:
	bl	_free
Lloh38:
	adrp	x8, _errno@GOTPAGE
Lloh39:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh40:
	ldr	w8, [x8]
	neg	w23, w8
LBB0_32:
	mov	x0, x23
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_33:
	mov	w23, #0
	b	LBB0_28
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_TOKEN_LEN,8,3              ; @MAX_TOKEN_LEN
	.comm	_PATH_MAX_LENGTH,8,3            ; @PATH_MAX_LENGTH
	.comm	_INTFSTREAM_FILE,4,2            ; @INTFSTREAM_FILE
	.comm	_RETRO_VFS_FILE_ACCESS_READ,4,2 ; @RETRO_VFS_FILE_ACCESS_READ
	.comm	_RETRO_VFS_FILE_ACCESS_HINT_NONE,4,2 ; @RETRO_VFS_FILE_ACCESS_HINT_NONE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not open CUE file '%s': %s\n"

	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"Parsing CUE file '%s'...\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"FILE"

l_.str.3:                               ; @.str.3
	.asciz	"TRACK"

l_.str.4:                               ; @.str.4
	.asciz	"AUDIO"

l_.str.5:                               ; @.str.5
	.asciz	"INDEX"

l_.str.6:                               ; @.str.6
	.asciz	"%02d:%02d:%02d"

l_.str.7:                               ; @.str.7
	.asciz	"Error parsing time stamp '%s'\n"

.subsections_via_symbols
