	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_seek
_read_seek:                             ## @read_seek
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_AVSEEK_FLAG_FRAME@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	_AVSEEK_FLAG_BYTE@GOTPCREL(%rip), %rax
	testl	%ecx, (%rax)
	je	LBB0_4
LBB0_2:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_4:
	movq	(%rdi), %rax
	movq	_AVIO_SEEKABLE_NORMAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_5
## %bb.6:
	movq	8(%rdi), %rax
	movl	%edx, (%rax)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_5:
	movq	_EIO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_AVSEEK_FLAG_FRAME,4,2          ## @AVSEEK_FLAG_FRAME
	.comm	_AVSEEK_FLAG_BYTE,4,2           ## @AVSEEK_FLAG_BYTE
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_AVIO_SEEKABLE_NORMAL,4,2       ## @AVIO_SEEKABLE_NORMAL
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_read_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_seek
_read_seek:                             ; @read_seek
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _AVSEEK_FLAG_FRAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVSEEK_FLAG_FRAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w3
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _AVSEEK_FLAG_BYTE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _AVSEEK_FLAG_BYTE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w3
	b.eq	LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	_AVERROR
LBB0_3:
	ldr	x8, [x0]
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _AVIO_SEEKABLE_NORMAL@GOTPAGE
Lloh10:
	ldr	x9, [x9, _AVIO_SEEKABLE_NORMAL@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	ldr	x8, [x0, #8]
	str	w2, [x8]
	mov	w0, #0
	ret
LBB0_5:
Lloh12:
	adrp	x8, _EIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	b	_AVERROR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AVSEEK_FLAG_FRAME,4,2          ; @AVSEEK_FLAG_FRAME
	.comm	_AVSEEK_FLAG_BYTE,4,2           ; @AVSEEK_FLAG_BYTE
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_AVIO_SEEKABLE_NORMAL,4,2       ; @AVIO_SEEKABLE_NORMAL
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_read_seek
.subsections_via_symbols
