	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_master_sync_type
_get_master_sync_type:                  ## @get_master_sync_type
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_AV_SYNC_VIDEO_MASTER@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_3
## %bb.1:
	cmpq	$0, 16(%rdi)
	je	LBB0_6
## %bb.2:
	movl	%ecx, %eax
LBB0_8:
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
LBB0_3:
	movq	_AV_SYNC_AUDIO_MASTER@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %rcx
	jne	LBB0_5
## %bb.4:
	cmpq	$0, 8(%rdi)
	jne	LBB0_8
LBB0_5:
	movq	_AV_SYNC_EXTERNAL_CLOCK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_AV_SYNC_AUDIO_MASTER@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
                                        ## kill: def $eax killed $eax killed $rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AV_SYNC_VIDEO_MASTER,8,3       ## @AV_SYNC_VIDEO_MASTER
	.comm	_AV_SYNC_AUDIO_MASTER,4,2       ## @AV_SYNC_AUDIO_MASTER
	.comm	_AV_SYNC_EXTERNAL_CLOCK,4,2     ## @AV_SYNC_EXTERNAL_CLOCK
	.no_dead_strip	_get_master_sync_type
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_master_sync_type
_get_master_sync_type:                  ; @get_master_sync_type
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x9, _AV_SYNC_VIDEO_MASTER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _AV_SYNC_VIDEO_MASTER@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x0, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x8, #16]
	cbz	x8, LBB0_6
; %bb.2:
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_3:
Lloh3:
	adrp	x9, _AV_SYNC_AUDIO_MASTER@GOTPAGE
Lloh4:
	ldr	x9, [x9, _AV_SYNC_AUDIO_MASTER@GOTPAGEOFF]
Lloh5:
	ldrsw	x9, [x9]
	cmp	x0, x9
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x8, #8]
Lloh6:
	adrp	x10, _AV_SYNC_EXTERNAL_CLOCK@GOTPAGE
Lloh7:
	ldr	x10, [x10, _AV_SYNC_EXTERNAL_CLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x8, #0
	csel	w0, w10, w9, eq
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_5:
Lloh9:
	adrp	x8, _AV_SYNC_EXTERNAL_CLOCK@GOTPAGE
Lloh10:
	ldr	x8, [x8, _AV_SYNC_EXTERNAL_CLOCK@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
LBB0_6:
Lloh12:
	adrp	x8, _AV_SYNC_AUDIO_MASTER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _AV_SYNC_AUDIO_MASTER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
                                        ; kill: def $w0 killed $w0 killed $x0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_AV_SYNC_VIDEO_MASTER,8,3       ; @AV_SYNC_VIDEO_MASTER
	.comm	_AV_SYNC_AUDIO_MASTER,4,2       ; @AV_SYNC_AUDIO_MASTER
	.comm	_AV_SYNC_EXTERNAL_CLOCK,4,2     ; @AV_SYNC_EXTERNAL_CLOCK
	.no_dead_strip	_get_master_sync_type
.subsections_via_symbols
