	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stream_file_seek               ## -- Begin function stream_file_seek
	.p2align	4, 0x90
_stream_file_seek:                      ## @stream_file_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testl	%edx, %edx
	je	LBB0_6
## %bb.1:
	cmpl	$1, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$2, %edx
	jne	LBB0_3
## %bb.5:
	addl	8(%rdi), %esi
	jmp	LBB0_6
LBB0_4:
	addl	(%rdi), %esi
LBB0_6:
	movl	%esi, (%rdi)
	testl	%esi, %esi
	jns	LBB0_9
LBB0_8:
	movl	$0, (%rdi)
	xorl	%esi, %esi
LBB0_9:
	movl	%esi, %ecx
	movq	8(%rdi), %rax
	cmpq	%rcx, %rax
	jge	LBB0_11
## %bb.10:
	movl	%eax, (%rdi)
LBB0_11:
	popq	%rbp
	retq
LBB0_3:
	movl	(%rdi), %esi
	testl	%esi, %esi
	jns	LBB0_9
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_stream_file_seek               ; -- Begin function stream_file_seek
	.p2align	2
_stream_file_seek:                      ; @stream_file_seek
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_6
; %bb.1:
	cmp	w2, #1
	b.eq	LBB0_4
; %bb.2:
	cmp	w2, #2
	b.ne	LBB0_11
; %bb.3:
	ldr	w8, [x0, #8]
	b	LBB0_5
LBB0_4:
	ldr	w8, [x0]
LBB0_5:
	add	w1, w8, w1
LBB0_6:
	str	w1, [x0]
	tbz	w1, #31, LBB0_8
LBB0_7:
	mov	w1, #0
	str	wzr, [x0]
LBB0_8:
	ldr	x8, [x0, #8]
	cmp	x8, w1, uxtw
	b.ge	LBB0_10
; %bb.9:
	str	w8, [x0]
LBB0_10:
	ret
LBB0_11:
	ldr	w1, [x0]
	tbz	w1, #31, LBB0_8
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
