	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decsrtWork
_decsrtWork:                            ## @decsrtWork
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	(%rdi), %rbx
	movq	24(%rbx), %rax
	movq	(%rax), %rcx
	movq	_AV_NOPTS_VALUE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_HB_WORK_OK@GOTPCREL(%rip), %r12
	cmpq	%rdx, %rcx
	jne	LBB0_2
## %bb.1:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_2:
	cmpq	%rdx, (%rbx)
	jne	LBB0_5
## %bb.3:
	movq	%rcx, (%rbx)
	movq	8(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_5
## %bb.4:
	addq	16(%rax), %rcx
	movq	%rcx, 8(%rbx)
LBB0_5:
	movq	%rbx, %rdi
	callq	_srt_read
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %r15
	movl	16(%rbx), %esi
	incl	%esi
	movl	%esi, 16(%rbx)
	movq	%rax, %rdi
	callq	_hb_srt_to_ssa
	jmp	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	callq	_hb_buffer_eof_init
	movq	%rax, %r15
	movq	_HB_WORK_DONE@GOTPCREL(%rip), %r12
LBB0_8:
	movq	%r15, (%r14)
	movl	(%r12), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ## @AV_NOPTS_VALUE
	.comm	_HB_WORK_OK,4,2                 ## @HB_WORK_OK
	.comm	_HB_WORK_DONE,4,2               ## @HB_WORK_DONE
	.no_dead_strip	_decsrtWork
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decsrtWork
_decsrtWork:                            ; @decsrtWork
	.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
	mov	x19, x2
	ldr	x20, [x0]
	ldr	x8, [x20, #24]
	ldr	x9, [x8]
Lloh0:
	adrp	x10, _AV_NOPTS_VALUE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _AV_NOPTS_VALUE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_2
; %bb.1:
	mov	x21, #0
	b	LBB0_7
LBB0_2:
	ldr	x11, [x20]
	cmp	x11, x10
	b.ne	LBB0_5
; %bb.3:
	str	x9, [x20]
	ldr	x9, [x8, #8]
	cmp	x9, #1
	b.lt	LBB0_5
; %bb.4:
	ldr	x8, [x8, #16]
	add	x8, x8, x9
	str	x8, [x20, #8]
LBB0_5:
	mov	x0, x20
	bl	_srt_read
	cbz	x0, LBB0_9
; %bb.6:
	mov	x21, x0
	ldr	w8, [x20, #16]
	add	w1, w8, #1
	str	w1, [x20, #16]
	bl	_hb_srt_to_ssa
LBB0_7:
Lloh3:
	adrp	x20, _HB_WORK_OK@GOTPAGE
Lloh4:
	ldr	x20, [x20, _HB_WORK_OK@GOTPAGEOFF]
LBB0_8:
	str	x21, [x19]
	ldr	w0, [x20]
	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_9:
Lloh5:
	adrp	x20, _HB_WORK_DONE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _HB_WORK_DONE@GOTPAGEOFF]
	bl	_hb_buffer_eof_init
	mov	x21, x0
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_NOPTS_VALUE,8,3             ; @AV_NOPTS_VALUE
	.comm	_HB_WORK_OK,4,2                 ; @HB_WORK_OK
	.comm	_HB_WORK_DONE,4,2               ; @HB_WORK_DONE
	.no_dead_strip	_decsrtWork
.subsections_via_symbols
