	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function saveChap
_saveChap:                              ## @saveChap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movq	_SYNC_TYPE_VIDEO@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, (%rdi)
	jne	LBB0_4
## %bb.2:
	movq	(%rsi), %rax
	testq	%rax, %rax
	jle	LBB0_4
## %bb.3:
	movq	%rax, 8(%rdi)
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYNC_TYPE_VIDEO,8,3            ## @SYNC_TYPE_VIDEO
	.no_dead_strip	_saveChap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function saveChap
_saveChap:                              ; @saveChap
	.cfi_startproc
; %bb.0:
	cbz	x1, LBB0_4
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SYNC_TYPE_VIDEO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SYNC_TYPE_VIDEO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	ldr	x8, [x1]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.3:
	str	x8, [x0, #8]
LBB0_4:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SYNC_TYPE_VIDEO,8,3            ; @SYNC_TYPE_VIDEO
	.no_dead_strip	_saveChap
.subsections_via_symbols
