	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chdstream_seek                 ## -- Begin function chdstream_seek
	.p2align	4, 0x90
_chdstream_seek:                        ## @chdstream_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	$-1, %eax
	cmpl	$128, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$130, %edx
	jne	LBB0_8
## %bb.3:
	movq	%rdi, %rcx
	jmp	LBB0_5
LBB0_4:
	leaq	4(%rdi), %rcx
LBB0_5:
	addl	(%rcx), %esi
LBB0_6:
	testl	%esi, %esi
	js	LBB0_8
## %bb.7:
	movl	4(%rdi), %eax
	cmpl	%eax, %esi
	cmovll	%esi, %eax
	movl	%eax, (%rdi)
	xorl	%eax, %eax
LBB0_8:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_chdstream_seek                 ; -- Begin function chdstream_seek
	.p2align	2
_chdstream_seek:                        ; @chdstream_seek
	.cfi_startproc
; %bb.0:
	cmp	w2, #128
	b.eq	LBB0_6
; %bb.1:
	cmp	w2, #129
	b.eq	LBB0_4
; %bb.2:
	cmp	w2, #130
	b.ne	LBB0_8
; %bb.3:
	mov	x8, x0
	b	LBB0_5
LBB0_4:
	add	x8, x0, #4
LBB0_5:
	ldr	w8, [x8]
	add	w1, w8, w1
LBB0_6:
	tbnz	w1, #31, LBB0_8
; %bb.7:
	mov	w8, #0
	ldr	w9, [x0, #4]
	cmp	w1, w9
	csel	w9, w1, w9, lt
	str	w9, [x0]
	mov	x0, x8
	ret
LBB0_8:
	mov	w0, #-1
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
