	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rme9652_sync_mode
_rme9652_sync_mode:                     ## @rme9652_sync_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movq	_RME9652_Master@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	testl	%eax, (%rcx)
	movq	_RME9652_wsel@GOTPCREL(%rip), %rcx
	setne	%dl
	testl	%eax, (%rcx)
	movl	$2, %eax
	cmovel	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RME9652_wsel,4,2               ## @RME9652_wsel
	.comm	_RME9652_Master,4,2             ## @RME9652_Master
	.no_dead_strip	_rme9652_sync_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rme9652_sync_mode
_rme9652_sync_mode:                     ; @rme9652_sync_mode
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _RME9652_wsel@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RME9652_wsel@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _RME9652_Master@GOTPAGE
Lloh4:
	ldr	x10, [x10, _RME9652_Master@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	tst	w10, w8
	cset	w10, ne
	tst	w9, w8
	mov	w8, #2
	csel	w0, w10, w8, eq
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RME9652_wsel,4,2               ; @RME9652_wsel
	.comm	_RME9652_Master,4,2             ; @RME9652_Master
	.no_dead_strip	_rme9652_sync_mode
.subsections_via_symbols
