	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_range_off
_get_range_off:                         ## @get_range_off
	.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	%r9d, %ebx
	movq	%rcx, %r14
	movq	%rdx, %r15
	movq	%rsi, %r12
	cmpl	$130, %r8d
	je	LBB0_7
## %bb.1:
	cmpl	$129, %r8d
	je	LBB0_5
## %bb.2:
	cmpl	$128, %r8d
	jne	LBB0_6
## %bb.3:
	movq	(%rdi), %r13
	cmpl	$0, (%r13)
	jne	LBB0_5
## %bb.4:
	movq	_AV_LOG_WARNING@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	callq	_av_log
	movl	$1, (%r13)
LBB0_5:
	addb	$-8, %bl
	movl	$16, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movl	$219, %edx
	shll	%cl, %edx
	movl	%eax, (%r12)
	movl	%edx, (%r15)
	movl	$224, %eax
	shll	%cl, %eax
	movl	%eax, (%r14)
	jmp	LBB0_8
LBB0_7:
	addb	$-8, %bl
	movl	$256, %eax                      ## imm = 0x100
	movl	%ebx, %ecx
	shll	%cl, %eax
	movl	$0, (%r12)
	decl	%eax
	movl	%eax, (%r14)
	movl	%eax, (%r15)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	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
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_LOG_WARNING,4,2             ## @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Input range not set, assuming tv/mpeg\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_get_range_off
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_range_off
_get_range_off:                         ; @get_range_off
	.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, x5
	mov	x19, x3
	mov	x20, x2
	mov	x22, x1
	cmp	w4, #130
	b.eq	LBB0_6
; %bb.1:
	cmp	w4, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w4, #128
	b.ne	LBB0_8
; %bb.3:
	ldr	x23, [x0]
	ldr	w8, [x23]
	cbnz	w8, LBB0_5
; %bb.4:
Lloh0:
	adrp	x8, _AV_LOG_WARNING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AV_LOG_WARNING@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	bl	_av_log
	mov	w8, #1
	str	w8, [x23]
LBB0_5:
	sub	w8, w21, #8
	mov	w9, #16
	lsl	w9, w9, w8
	str	w9, [x22]
	mov	w9, #219
	lsl	w9, w9, w8
	str	w9, [x20]
	mov	w9, #224
	lsl	w8, w9, w8
	str	w8, [x19]
	b	LBB0_7
LBB0_6:
	str	wzr, [x22]
	sub	w8, w21, #8
	mov	w9, #256
	lsl	w8, w9, w8
	sub	w8, w8, #1
	str	w8, [x19]
	str	w8, [x20]
LBB0_7:
	mov	w0, #0
	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
LBB0_8:
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
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_LOG_WARNING,4,2             ; @AV_LOG_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Input range not set, assuming tv/mpeg\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_get_range_off
.subsections_via_symbols
