	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function subfile_seek
_subfile_seek:                          ## @subfile_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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	(%rdi), %r12
	movq	_AVSEEK_SIZE@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	cmpl	$129, %ebx
	je	LBB0_3
## %bb.1:
	cmpl	%ebx, %edx
	je	LBB0_3
## %bb.2:
                                        ## implicit-def: $rax
	jmp	LBB0_6
LBB0_3:
	movq	(%r12), %rax
	movq	_INT64_MAX@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.4:
	movl	24(%r12), %edi
	xorl	%esi, %esi
	callq	_ffurl_seek
	testq	%rax, %rax
	js	LBB0_19
## %bb.5:
	movl	(%r13), %edx
LBB0_6:
	cmpl	%ebx, %edx
	je	LBB0_18
## %bb.7:
	cmpl	$128, %ebx
	je	LBB0_11
## %bb.8:
	cmpl	$129, %ebx
	je	LBB0_14
## %bb.9:
	cmpl	$130, %ebx
	jne	LBB0_10
## %bb.12:
	leaq	16(%r12), %rax
	jmp	LBB0_13
LBB0_11:
	leaq	8(%r12), %rax
LBB0_13:
	movq	(%rax), %rax
LBB0_14:
	addq	%r14, %rax
	cmpq	8(%r12), %rax
	jge	LBB0_15
## %bb.20:
	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_10:
                                        ## implicit-def: $rax
LBB0_15:
	movq	%rax, 16(%r12)
	movq	%r15, %rdi
	callq	_slave_seek
	testl	%eax, %eax
	js	LBB0_16
## %bb.17:
	movq	16(%r12), %rax
LBB0_18:
	subq	8(%r12), %rax
LBB0_19:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_16:
	cltq
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_AVSEEK_SIZE,4,2                ## @AVSEEK_SIZE
	.comm	_INT64_MAX,8,3                  ## @INT64_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_subfile_seek
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function subfile_seek
_subfile_seek:                          ; @subfile_seek
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x22, [x0]
Lloh0:
	adrp	x23, _AVSEEK_SIZE@GOTPAGE
Lloh1:
	ldr	x23, [x23, _AVSEEK_SIZE@GOTPAGEOFF]
	ldr	w2, [x23]
	cmp	w21, #129
	b.eq	LBB0_3
; %bb.1:
	cmp	w2, w21
	b.eq	LBB0_3
; %bb.2:
                                        ; implicit-def: $x0
	b	LBB0_6
LBB0_3:
	ldr	x0, [x22]
Lloh2:
	adrp	x8, _INT64_MAX@GOTPAGE
Lloh3:
	ldr	x8, [x8, _INT64_MAX@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	w0, [x22, #24]
	mov	w1, #0
	bl	_ffurl_seek
	tbnz	x0, #63, LBB0_20
; %bb.5:
	ldr	w2, [x23]
LBB0_6:
	cmp	w2, w21
	b.ne	LBB0_8
; %bb.7:
	ldr	x8, [x22, #8]
	sub	x0, x0, x8
	b	LBB0_20
LBB0_8:
	cmp	w21, #128
	b.eq	LBB0_12
; %bb.9:
	cmp	w21, #129
	b.eq	LBB0_14
; %bb.10:
	cmp	w21, #130
	b.ne	LBB0_16
; %bb.11:
	add	x8, x22, #16
	b	LBB0_13
LBB0_12:
	add	x8, x22, #8
LBB0_13:
	ldr	x0, [x8]
LBB0_14:
	ldr	x9, [x22, #8]
	add	x8, x0, x20
	cmp	x8, x9
	b.ge	LBB0_17
; %bb.15:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_AVERROR
LBB0_16:
                                        ; implicit-def: $x8
LBB0_17:
	str	x8, [x22, #16]
	mov	x0, x19
	bl	_slave_seek
                                        ; kill: def $w0 killed $w0 def $x0
	tbnz	w0, #31, LBB0_19
; %bb.18:
	ldp	x9, x8, [x22, #8]
	sub	x0, x8, x9
	b	LBB0_20
LBB0_19:
	sxtw	x0, w0
LBB0_20:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AVSEEK_SIZE,4,2                ; @AVSEEK_SIZE
	.comm	_INT64_MAX,8,3                  ; @INT64_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_subfile_seek
.subsections_via_symbols
