	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	8(%rbx), %r15
	movq	16(%rbx), %r12
	movq	%r12, -40(%rbp)
	movq	_AVSEEK_FLAG_BYTE@GOTPCREL(%rip), %r10
	movq	_AVSEEK_FLAG_FRAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%r10), %eax
	testl	%r9d, %eax
	je	LBB0_1
## %bb.10:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_AVERROR                        ## TAILCALL
LBB0_1:
	movq	$0, 16(%rbx)
	movq	%r12, (%rsp)
	callq	_real_seek
	movl	%eax, %r14d
	movq	8(%rbx), %rax
	testl	%r14d, %r14d
	js	LBB0_2
## %bb.6:
	cmpq	%r15, %rax
	je	LBB0_8
## %bb.7:
	leaq	-40(%rbp), %rdi
	callq	_avformat_close_input
LBB0_8:
	movq	$0, (%rbx)
	jmp	LBB0_9
LBB0_2:
	cmpq	%r15, %rax
	je	LBB0_5
## %bb.3:
	leaq	16(%rbx), %rdi
	cmpq	$0, (%rdi)
	je	LBB0_5
## %bb.4:
	callq	_avformat_close_input
LBB0_5:
	movq	%r12, 16(%rbx)
	movq	%r15, 8(%rbx)
LBB0_9:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AVSEEK_FLAG_BYTE,4,2           ## @AVSEEK_FLAG_BYTE
	.comm	_AVSEEK_FLAG_FRAME,4,2          ## @AVSEEK_FLAG_FRAME
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x22, [x0]
	ldr	x23, [x22, #8]
	mov	x20, x22
	ldr	x19, [x20, #16]!
	str	x19, [sp, #8]
Lloh0:
	adrp	x8, _AVSEEK_FLAG_BYTE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AVSEEK_FLAG_BYTE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _AVSEEK_FLAG_FRAME@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AVSEEK_FLAG_FRAME@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	tst	w8, w5
	b.eq	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_AVERROR
LBB0_2:
	str	xzr, [x22, #16]
	mov	x6, x19
	bl	_real_seek
	mov	x21, x0
	ldr	x8, [x22, #8]
	tbnz	w0, #31, LBB0_6
; %bb.3:
	cmp	x8, x23
	b.eq	LBB0_5
; %bb.4:
	add	x0, sp, #8
	bl	_avformat_close_input
LBB0_5:
	str	xzr, [x22]
	b	LBB0_10
LBB0_6:
	cmp	x8, x23
	b.eq	LBB0_9
; %bb.7:
	ldr	x8, [x20]
	cbz	x8, LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_avformat_close_input
LBB0_9:
	stp	x23, x19, [x22, #8]
LBB0_10:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_AVSEEK_FLAG_BYTE,4,2           ; @AVSEEK_FLAG_BYTE
	.comm	_AVSEEK_FLAG_FRAME,4,2          ; @AVSEEK_FLAG_FRAME
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.no_dead_strip	_concat_seek
.subsections_via_symbols
