	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function concat_read
_concat_read:                           ## @concat_read
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	jle	LBB0_8
## %bb.1:
	movl	%edx, %ebx
	movq	%rsi, %r15
	movq	(%rdi), %rax
	movq	16(%rax), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rax), %r13
	xorl	%eax, %eax
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_2:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r13, %r14
	movl	%ecx, %r12d
	testl	%ecx, %ecx
	js	LBB0_9
LBB0_3:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addl	%r12d, %eax
	movl	%r12d, %ecx
	addq	%rcx, %r15
	movq	%r14, %r13
	subl	%r12d, %ebx
	jle	LBB0_12
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax,%r13,4), %edi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_ffurl_read
	movl	%eax, %ecx
	movq	_AVERROR_EOF@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ecx
	jne	LBB0_2
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	1(%r13), %r14
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	8(%rax), %r14
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movl	4(%rax,%r13,4), %edi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%r12d, %r12d
	xorl	%esi, %esi
	movl	%ecx, %r13d
	callq	_ffurl_seek
	testq	%rax, %rax
	jns	LBB0_3
## %bb.7:
	movl	%r13d, %ecx
	movl	%r13d, %r12d
	jmp	LBB0_11
LBB0_8:
                                        ## implicit-def: $r12d
	jmp	LBB0_13
LBB0_9:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	cmovel	%ecx, %eax
	jmp	LBB0_14
LBB0_10:
	movl	%ecx, %r12d
	movq	%r13, %r14
LBB0_11:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_12:
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, (%rcx)
	testl	%eax, %eax
	jne	LBB0_14
LBB0_13:
	movl	%r12d, %eax
LBB0_14:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVERROR_EOF,4,2                ## @AVERROR_EOF
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_concat_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function concat_read
_concat_read:                           ; @concat_read
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	cmp	w2, #1
	b.lt	LBB0_9
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	w19, #0
	ldr	x23, [x0]
	ldr	x24, [x23, #16]
	ldr	x28, [x23]
Lloh0:
	adrp	x25, _AVERROR_EOF@GOTPAGE
Lloh1:
	ldr	x25, [x25, _AVERROR_EOF@GOTPAGEOFF]
Lloh2:
	adrp	x26, _SEEK_SET@GOTPAGE
Lloh3:
	ldr	x26, [x26, _SEEK_SET@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x27, x28
	mov	x8, x22
	tbnz	w22, #31, LBB0_12
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w8, w19
	add	x21, x21, w8, uxtw
	sub	w20, w20, w8
	mov	x28, x27
	cmp	w20, #0
	b.le	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x24, x28, lsl #2]
	mov	x1, x21
	mov	x2, x20
	bl	_ffurl_read
	mov	x22, x0
	ldr	w8, [x25]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x27, x28, #1
	ldr	x8, [x23, #8]
	cmp	x27, x8
	b.eq	LBB0_13
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x24, x27, lsl #2]
	ldr	w2, [x26]
	mov	w1, #0
	bl	_ffurl_seek
	mov	w8, #0
	tbz	x0, #63, LBB0_3
; %bb.7:
	mov	x8, x22
LBB0_8:
	str	x27, [x23]
	cbnz	w19, LBB0_11
	b	LBB0_10
LBB0_9:
                                        ; implicit-def: $w8
LBB0_10:
	mov	x19, x8
LBB0_11:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_12:
	cmp	w19, #0
	csel	w19, w22, w19, eq
	b	LBB0_11
LBB0_13:
	mov	x8, x22
	mov	x27, x28
	str	x27, [x23]
	cbnz	w19, LBB0_11
	b	LBB0_10
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_AVERROR_EOF,4,2                ; @AVERROR_EOF
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_concat_read
.subsections_via_symbols
