	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pm_seek                        ## -- Begin function pm_seek
	.p2align	4, 0x90
_pm_seek:                               ## @pm_seek
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	movq	_PMT_UNCOMPRESSED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_1
## %bb.17:
	movl	16(%rbx), %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	callq	_fseek
	movl	16(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ftell                          ## TAILCALL
LBB0_1:
	movq	_PMT_ZIP@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_7
## %bb.2:
	cmpq	$6291457, %r14                  ## imm = 0x600001
	jl	LBB0_6
## %bb.3:
	movl	8(%rbx), %edi
	callq	_gztell
	movq	%r14, %rcx
	subq	%rax, %rcx
	jl	LBB0_5
## %bb.4:
	cmpq	$6291457, %rcx                  ## imm = 0x600001
	jl	LBB0_6
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_PicoMessage
LBB0_6:
	movl	8(%rbx), %edi
	movq	%r14, %rsi
	movl	%r15d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gzseek                         ## TAILCALL
LBB0_7:
	movq	_PMT_CSO@GOTPCREL(%rip), %rdx
	movl	$-1, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_16
## %bb.8:
	movq	8(%rbx), %rax
	cmpl	$128, %r15d
	je	LBB0_13
## %bb.9:
	cmpl	$129, %r15d
	je	LBB0_14
## %bb.10:
	cmpl	$130, %r15d
	jne	LBB0_11
## %bb.12:
	addq	(%rax), %r14
LBB0_13:
	movq	%r14, (%rax)
	jmp	LBB0_15
LBB0_14:
	movslq	8(%rax), %rcx
	subq	%r14, %rcx
	movq	%rcx, (%rax)
	movq	%rcx, %r14
	jmp	LBB0_15
LBB0_11:
	movq	(%rax), %r14
LBB0_15:
	movl	%r14d, %eax
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PMT_UNCOMPRESSED,8,3           ## @PMT_UNCOMPRESSED
	.comm	_PMT_ZIP,8,3                    ## @PMT_ZIP
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Decompressing data..."

	.comm	_PMT_CSO,8,3                    ## @PMT_CSO
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pm_seek                        ; -- Begin function pm_seek
	.p2align	2
_pm_seek:                               ; @pm_seek
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _PMT_UNCOMPRESSED@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PMT_UNCOMPRESSED@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	ldr	w0, [x21, #16]
	mov	x1, x19
	mov	x2, x20
	bl	_fseek
	ldr	w0, [x21, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_ftell
LBB0_2:
Lloh3:
	adrp	x9, _PMT_ZIP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PMT_ZIP@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.3:
	cmp	x19, #1536, lsl #12             ; =6291456
	b.le	LBB0_7
; %bb.4:
	ldr	w0, [x21, #8]
	bl	_gztell
	subs	x8, x19, x0
	b.lt	LBB0_6
; %bb.5:
	cmp	x8, #1536, lsl #12              ; =6291456
	b.le	LBB0_7
LBB0_6:
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	bl	_PicoMessage
LBB0_7:
	ldr	w0, [x21, #8]
	mov	x1, x19
	mov	x2, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_gzseek
LBB0_8:
Lloh8:
	adrp	x9, _PMT_CSO@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PMT_CSO@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_13
; %bb.9:
	ldr	x8, [x21, #8]
	cmp	w20, #128
	b.eq	LBB0_15
; %bb.10:
	cmp	w20, #129
	b.eq	LBB0_14
; %bb.11:
	cmp	w20, #130
	b.ne	LBB0_16
; %bb.12:
	ldr	x9, [x8]
	add	x19, x9, x19
	b	LBB0_15
LBB0_13:
	mov	w19, #-1
	b	LBB0_17
LBB0_14:
	ldrsw	x9, [x8, #8]
	sub	x19, x9, x19
LBB0_15:
	str	x19, [x8]
	b	LBB0_17
LBB0_16:
	ldr	x19, [x8]
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PMT_UNCOMPRESSED,8,3           ; @PMT_UNCOMPRESSED
	.comm	_PMT_ZIP,8,3                    ; @PMT_ZIP
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Decompressing data..."

	.comm	_PMT_CSO,8,3                    ; @PMT_CSO
.subsections_via_symbols
