	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp3_get_offset                 ## -- Begin function mp3_get_offset
	.p2align	4, 0x90
_mp3_get_offset:                        ## @mp3_get_offset
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_PicoAHW@GOTPCREL(%rip), %rax
	movq	_PAHW_MCD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%ebx, %ebx
	testl	%ecx, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_PicoOpt@GOTPCREL(%rip), %rax
	testb	$8, 1(%rax)
	je	LBB0_6
## %bb.2:
	movq	_Pico_mcd@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rcx
	testb	$1, 216(%rcx)
	jne	LBB0_6
## %bb.3:
	testb	$1, 8(%rax)
	je	LBB0_6
## %bb.4:
	movq	_mp3_handle@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	js	LBB0_6
## %bb.5:
	movq	_mp3_src_pos@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	shll	$7, %eax
	movq	_mp3_src_size@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	sarl	$3, %ecx
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %ebx
LBB0_6:
	movq	_mp3_src_pos@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_mp3_src_size@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_lprintf
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PicoAHW,4,2                    ## @PicoAHW
	.comm	_PAHW_MCD,4,2                   ## @PAHW_MCD
	.comm	_PicoOpt,4,2                    ## @PicoOpt
	.comm	_Pico_mcd,8,3                   ## @Pico_mcd
	.comm	_mp3_handle,8,3                 ## @mp3_handle
	.comm	_mp3_src_pos,4,2                ## @mp3_src_pos
	.comm	_mp3_src_size,4,2               ## @mp3_src_size
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"offs1024=%u (%i/%i)\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mp3_get_offset                 ; -- Begin function mp3_get_offset
	.p2align	2
_mp3_get_offset:                        ; @mp3_get_offset
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _PicoAHW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PicoAHW@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x8]
Lloh3:
	adrp	x8, _PAHW_MCD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PAHW_MCD@GOTPAGEOFF]
Lloh5:
	ldr	w11, [x8]
Lloh6:
	adrp	x8, _mp3_src_pos@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mp3_src_pos@GOTPAGEOFF]
Lloh8:
	adrp	x9, _mp3_src_size@GOTPAGE
Lloh9:
	ldr	x9, [x9, _mp3_src_size@GOTPAGEOFF]
	tst	w11, w10
	b.eq	LBB0_6
; %bb.1:
Lloh10:
	adrp	x10, _PicoOpt@GOTPAGE
Lloh11:
	ldr	x10, [x10, _PicoOpt@GOTPAGEOFF]
	ldrb	w10, [x10, #1]
	tbz	w10, #3, LBB0_6
; %bb.2:
Lloh12:
	adrp	x10, _Pico_mcd@GOTPAGE
Lloh13:
	ldr	x10, [x10, _Pico_mcd@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	ldr	x11, [x10]
	ldrb	w11, [x11, #216]
	tbnz	w11, #0, LBB0_6
; %bb.3:
	mov	w19, #0
	ldrb	w10, [x10, #8]
	tbz	w10, #0, LBB0_7
; %bb.4:
Lloh15:
	adrp	x10, _mp3_handle@GOTPAGE
Lloh16:
	ldr	x10, [x10, _mp3_handle@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
	tbnz	x10, #63, LBB0_7
; %bb.5:
	ldr	w10, [x8]
	lsl	w10, w10, #7
	ldr	w11, [x9]
	asr	w11, w11, #3
	udiv	w19, w10, w11
	b	LBB0_7
LBB0_6:
	mov	w19, #0
LBB0_7:
	ldr	w2, [x8]
	ldr	w3, [x9]
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_lprintf
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_PicoAHW,4,2                    ; @PicoAHW
	.comm	_PAHW_MCD,4,2                   ; @PAHW_MCD
	.comm	_PicoOpt,4,2                    ; @PicoOpt
	.comm	_Pico_mcd,8,3                   ; @Pico_mcd
	.comm	_mp3_handle,8,3                 ; @mp3_handle
	.comm	_mp3_src_pos,4,2                ; @mp3_src_pos
	.comm	_mp3_src_size,4,2               ; @mp3_src_size
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"offs1024=%u (%i/%i)\n"

.subsections_via_symbols
