	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ves1x93_read_status
_ves1x93_read_status:                   ## @ves1x93_read_status
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movq	%r15, %rdi
	movl	$14, %esi
	callq	_ves1x93_readreg
	movl	%eax, %ecx
	notl	%ecx
	testb	$3, %cl
	je	LBB0_6
## %bb.1:
	movl	%eax, %ecx
	andl	$12, %ecx
	je	LBB0_6
## %bb.2:
	movl	$-9, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	$10, %edi
	callq	_msleep
	movq	%r15, %rdi
	movl	$14, %esi
	callq	_ves1x93_readreg
	movl	%eax, %ecx
	notl	%ecx
	testb	$3, %cl
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%eax, %ecx
	andl	$12, %ecx
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	leal	1(%rbx), %ecx
	testl	%ebx, %ebx
	movl	%ecx, %ebx
	jne	LBB0_3
LBB0_6:
	movl	$0, (%r14)
	xorl	%ecx, %ecx
	testb	$1, %al
	jne	LBB0_7
## %bb.8:
	testb	$2, %al
	jne	LBB0_9
LBB0_10:
	testb	$4, %al
	jne	LBB0_11
LBB0_12:
	testb	$8, %al
	je	LBB0_14
LBB0_13:
	movq	_FE_HAS_SYNC@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%r14)
LBB0_14:
	notl	%eax
	testb	$31, %al
	jne	LBB0_16
## %bb.15:
	movq	_FE_HAS_LOCK@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%r14)
LBB0_16:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	_FE_HAS_SIGNAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%r14)
	testb	$2, %al
	je	LBB0_10
LBB0_9:
	movq	_FE_HAS_CARRIER@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%r14)
	testb	$4, %al
	je	LBB0_12
LBB0_11:
	movq	_FE_HAS_VITERBI@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movl	%ecx, (%r14)
	testb	$8, %al
	jne	LBB0_13
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_HAS_SIGNAL,4,2              ## @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ## @FE_HAS_CARRIER
	.comm	_FE_HAS_VITERBI,4,2             ## @FE_HAS_VITERBI
	.comm	_FE_HAS_SYNC,4,2                ## @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ## @FE_HAS_LOCK
	.no_dead_strip	_ves1x93_read_status
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ves1x93_read_status
_ves1x93_read_status:                   ; @ves1x93_read_status
	.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, x1
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #14
	bl	_ves1x93_readreg
	mvn	w8, w0
	and	w8, w8, #0x3
	and	w9, w0, #0xc
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	b.eq	LBB0_3
; %bb.1:
	mov	w21, #-9
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #10
	bl	_msleep
	mov	x0, x20
	mov	w1, #14
	bl	_ves1x93_readreg
	mvn	w8, w0
	and	w8, w8, #0x3
	and	w9, w0, #0xc
	cmp	w8, #0
	ccmp	w9, #0, #4, ne
	ccmp	w21, #0, #4, ne
	add	w21, w21, #1
	b.ne	LBB0_2
LBB0_3:
	mov	w8, #0
	str	wzr, [x19]
	tbnz	w0, #0, LBB0_11
; %bb.4:
	tbnz	w0, #1, LBB0_12
LBB0_5:
	tbnz	w0, #2, LBB0_13
LBB0_6:
	tbz	w0, #3, LBB0_8
LBB0_7:
Lloh0:
	adrp	x9, _FE_HAS_SYNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FE_HAS_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_8:
	mvn	w9, w0
	tst	w9, #0x1f
	b.ne	LBB0_10
; %bb.9:
Lloh3:
	adrp	x9, _FE_HAS_LOCK@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FE_HAS_LOCK@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
LBB0_10:
	mov	w0, #0
	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_11:
Lloh6:
	adrp	x8, _FE_HAS_SIGNAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FE_HAS_SIGNAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19]
	tbz	w0, #1, LBB0_5
LBB0_12:
Lloh9:
	adrp	x9, _FE_HAS_CARRIER@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FE_HAS_CARRIER@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	tbz	w0, #2, LBB0_6
LBB0_13:
Lloh12:
	adrp	x9, _FE_HAS_VITERBI@GOTPAGE
Lloh13:
	ldr	x9, [x9, _FE_HAS_VITERBI@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	str	w8, [x19]
	tbnz	w0, #3, LBB0_7
	b	LBB0_8
	.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	_FE_HAS_SIGNAL,4,2              ; @FE_HAS_SIGNAL
	.comm	_FE_HAS_CARRIER,4,2             ; @FE_HAS_CARRIER
	.comm	_FE_HAS_VITERBI,4,2             ; @FE_HAS_VITERBI
	.comm	_FE_HAS_SYNC,4,2                ; @FE_HAS_SYNC
	.comm	_FE_HAS_LOCK,4,2                ; @FE_HAS_LOCK
	.no_dead_strip	_ves1x93_read_status
.subsections_via_symbols
