	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function concat_seek
_concat_seek:                           ## @concat_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r15
	movq	_AVSEEK_SIZE@GOTPCREL(%rip), %rax
	testl	%edx, (%rax)
	je	LBB0_2
## %bb.1:
	movq	(%r15), %rax
LBB0_33:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %r12
	movq	24(%r15), %r14
	cmpl	$128, %edx
	je	LBB0_14
## %bb.3:
	cmpl	$129, %edx
	je	LBB0_19
## %bb.4:
	cmpl	$130, %edx
	jne	LBB0_34
## %bb.5:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.6:
	cmpq	$4, %rax
	jae	LBB0_8
## %bb.7:
	xorl	%ecx, %ecx
	jmp	LBB0_11
LBB0_19:
	movslq	16(%r15), %rbx
	decq	%rbx
	movl	$129, %edx
	testl	%ebx, %ebx
	je	LBB0_23
## %bb.20:
	movq	%rbx, %rax
	shlq	$4, %rax
	addq	%r14, %rax
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rax), %rcx
	movq	%rcx, %rsi
	negq	%rsi
	cmpq	%rsi, %r12
	jge	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	addq	%rcx, %r12
	addq	$-16, %rax
	decq	%rbx
	jne	LBB0_21
LBB0_23:
	xorl	%ebx, %ebx
	jmp	LBB0_24
LBB0_34:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_8:
	movq	%rax, %rcx
	andq	$-4, %rcx
	movq	%r12, %xmm1
	leaq	48(%r14), %rdx
	pxor	%xmm0, %xmm0
	movq	%rcx, %rsi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	-32(%rdx), %xmm2                ## xmm2 = mem[0],zero
	movq	-48(%rdx), %xmm3                ## xmm3 = mem[0],zero
	punpcklqdq	%xmm2, %xmm3            ## xmm3 = xmm3[0],xmm2[0]
	paddq	%xmm3, %xmm1
	movq	(%rdx), %xmm2                   ## xmm2 = mem[0],zero
	movq	-16(%rdx), %xmm3                ## xmm3 = mem[0],zero
	punpcklqdq	%xmm2, %xmm3            ## xmm3 = xmm3[0],xmm2[0]
	paddq	%xmm3, %xmm0
	addq	$64, %rdx
	addq	$-4, %rsi
	jne	LBB0_9
## %bb.10:
	paddq	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	paddq	%xmm0, %xmm1
	movq	%xmm1, %r12
	cmpq	%rcx, %rax
	je	LBB0_13
LBB0_11:
	movq	%rax, %rdx
	subq	%rcx, %rdx
	shlq	$4, %rcx
	addq	%r14, %rcx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	addq	(%rcx), %r12
	addq	$16, %rcx
	decq	%rdx
	jne	LBB0_12
LBB0_13:
	shlq	$4, %rax
	movl	8(%r14,%rax), %edi
	xorl	%esi, %esi
	movl	$130, %edx
	callq	_ffurl_seek
	addq	%rax, %r12
LBB0_14:
	movslq	16(%r15), %rax
	decq	%rax
	movl	$128, %edx
	xorl	%ebx, %ebx
	testl	%eax, %eax
	je	LBB0_24
## %bb.15:
	movq	%r14, %rcx
	movq	%r12, %rsi
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	subq	(%rcx), %rsi
	jl	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=1
	incq	%rbx
	addq	$16, %rcx
	movq	%rsi, %r12
	cmpq	%rbx, %rax
	jne	LBB0_16
## %bb.18:
	movq	%rsi, %r12
	movq	%rax, %rbx
LBB0_24:
	movq	%rbx, %r13
	shlq	$4, %r13
	movl	8(%r14,%r13), %edi
	movq	%r12, %rsi
	callq	_ffurl_seek
	testq	%rax, %rax
	js	LBB0_33
## %bb.25:
	movq	%rbx, 8(%r15)
	testq	%rbx, %rbx
	je	LBB0_33
## %bb.26:
	leaq	-1(%rbx), %rcx
	movq	%rbx, %rdx
	andq	$3, %rdx
	je	LBB0_30
## %bb.27:
	leaq	(%r14,%r13), %rdi
	addq	$-16, %rdi
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_28:                                ## =>This Inner Loop Header: Depth=1
	addq	(%rdi), %rax
	incq	%rsi
	addq	$-16, %rdi
	cmpq	%rsi, %rdx
	jne	LBB0_28
## %bb.29:
	subq	%rsi, %rbx
LBB0_30:
	cmpq	$3, %rcx
	jb	LBB0_33
## %bb.31:
	movq	%rbx, %rcx
	shlq	$4, %rcx
	addq	%r14, %rcx
	addq	$-16, %rcx
	.p2align	4, 0x90
LBB0_32:                                ## =>This Inner Loop Header: Depth=1
	addq	(%rcx), %rax
	addq	-16(%rcx), %rax
	addq	-32(%rcx), %rax
	addq	-48(%rcx), %rax
	addq	$-64, %rcx
	addq	$-4, %rbx
	jne	LBB0_32
	jmp	LBB0_33
	.cfi_endproc
                                        ## -- End function
	.comm	_AVSEEK_SIZE,4,2                ## @AVSEEK_SIZE
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_concat_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function concat_seek
_concat_seek:                           ; @concat_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
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _AVSEEK_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVSEEK_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w2
	b.eq	LBB0_3
; %bb.1:
	ldr	x0, [x21]
LBB0_2:
	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
LBB0_3:
	mov	x19, x1
	ldr	x20, [x21, #24]
	cmp	w2, #128
	b.eq	LBB0_22
; %bb.4:
	cmp	w2, #129
	b.eq	LBB0_9
; %bb.5:
	cmp	w2, #130
	b.ne	LBB0_13
; %bb.6:
	ldr	x8, [x21, #8]
	cbz	x8, LBB0_21
; %bb.7:
	cmp	x8, #4
	b.hs	LBB0_16
; %bb.8:
	mov	x9, #0
	b	LBB0_19
LBB0_9:
	ldrsw	x8, [x21, #16]
	sub	x22, x8, #1
	cbz	w22, LBB0_14
; %bb.10:
	add	x8, x20, x22, lsl #4
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x8]
	neg	x10, x9
	cmp	x19, x10
	b.ge	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	x19, x9, x19
	sub	x8, x8, #16
	sub	x22, x22, #1
	cbnz	x22, LBB0_11
	b	LBB0_15
LBB0_13:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	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	_AVERROR
LBB0_14:
	mov	x22, #0
LBB0_15:
	mov	w2, #129
	b	LBB0_28
LBB0_16:
	mov	x12, #0
	mov	x11, #0
	mov	x10, #0
	and	x9, x8, #0xfffffffffffffffc
	add	x13, x20, #32
	mov	x14, x9
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldur	x15, [x13, #-32]
	ldur	x16, [x13, #-16]
	ldr	x17, [x13]
	add	x19, x15, x19
	add	x12, x16, x12
	ldr	x15, [x13, #16]
	add	x11, x17, x11
	add	x10, x15, x10
	add	x13, x13, #64
	subs	x14, x14, #4
	b.ne	LBB0_17
; %bb.18:
	add	x12, x12, x19
	add	x11, x11, x12
	add	x19, x10, x11
	cmp	x8, x9
	b.eq	LBB0_21
LBB0_19:
	sub	x10, x8, x9
	add	x9, x20, x9, lsl #4
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x9], #16
	add	x19, x11, x19
	subs	x10, x10, #1
	b.ne	LBB0_20
LBB0_21:
	add	x8, x20, x8, lsl #4
	ldr	w0, [x8, #8]
	mov	x1, #0
	mov	w2, #130
	bl	_ffurl_seek
	add	x19, x0, x19
LBB0_22:
	ldrsw	x8, [x21, #16]
	mov	x22, #0
	sub	x8, x8, #1
	cbz	w8, LBB0_27
; %bb.23:
	mov	x9, x20
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9]
	subs	x10, x19, x10
	b.lt	LBB0_27
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	add	x22, x22, #1
	add	x9, x9, #16
	mov	x19, x10
	cmp	x8, x22
	b.ne	LBB0_24
; %bb.26:
	mov	w2, #128
	mov	x19, x10
	mov	x22, x8
	b	LBB0_28
LBB0_27:
	mov	w2, #128
LBB0_28:
	add	x8, x20, x22, lsl #4
	ldr	w0, [x8, #8]
	mov	x1, x19
	bl	_ffurl_seek
	tbnz	x0, #63, LBB0_2
; %bb.29:
	str	x22, [x21, #8]
	cbz	x22, LBB0_2
; %bb.30:
	cmp	x22, #4
	b.hs	LBB0_32
; %bb.31:
	mov	x8, x22
	b	LBB0_35
LBB0_32:
	mov	x12, #0
	mov	x11, #0
	mov	x10, #0
	and	x9, x22, #0xfffffffffffffffc
	and	x8, x22, #0x3
	add	x13, x20, x22, lsl #4
	sub	x13, x13, #32
	mov	x14, x9
LBB0_33:                                ; =>This Inner Loop Header: Depth=1
	ldr	x15, [x13, #16]
	ldr	x16, [x13]
	ldur	x17, [x13, #-16]
	add	x0, x15, x0
	add	x12, x16, x12
	ldur	x15, [x13, #-32]
	add	x11, x17, x11
	add	x10, x15, x10
	sub	x13, x13, #64
	sub	x14, x14, #4
	cbnz	x14, LBB0_33
; %bb.34:
	add	x12, x12, x0
	add	x11, x11, x12
	add	x0, x10, x11
	cmp	x22, x9
	b.eq	LBB0_2
LBB0_35:
	add	x9, x20, x8, lsl #4
	sub	x9, x9, #16
LBB0_36:                                ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #-16
	add	x0, x10, x0
	subs	x8, x8, #1
	b.ne	LBB0_36
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AVSEEK_SIZE,4,2                ; @AVSEEK_SIZE
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_concat_seek
.subsections_via_symbols
