	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tc_mode_valid
_tc_mode_valid:                         ## @tc_mode_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	callq	_bridge_to_tc
	movl	(%rbx), %ecx
	cmpl	$154000, %ecx                   ## imm = 0x25990
	jle	LBB0_2
## %bb.1:
	movq	_MODE_CLOCK_HIGH@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_2:
	leal	(%rcx,%rcx,2), %ecx
	movl	4(%rax), %edx
	imull	(%rax), %edx
	cmpl	%edx, %ecx
	jle	LBB0_3
## %bb.4:
	movq	_MODE_BAD@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_MODE_OK@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_CLOCK_HIGH,4,2            ## @MODE_CLOCK_HIGH
	.comm	_MODE_BAD,4,2                   ## @MODE_BAD
	.comm	_MODE_OK,4,2                    ## @MODE_OK
	.no_dead_strip	_tc_mode_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tc_mode_valid
_tc_mode_valid:                         ; @tc_mode_valid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_bridge_to_tc
	ldr	w8, [x19]
	mov	w9, #22928
	movk	w9, #2, lsl #16
	cmp	w8, w9
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MODE_CLOCK_HIGH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_CLOCK_HIGH@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	add	w8, w8, w8, lsl #1
	ldp	w9, w10, [x0]
	mul	w9, w10, w9
Lloh2:
	adrp	x10, _MODE_OK@GOTPAGE
Lloh3:
	ldr	x10, [x10, _MODE_OK@GOTPAGEOFF]
Lloh4:
	adrp	x11, _MODE_BAD@GOTPAGE
Lloh5:
	ldr	x11, [x11, _MODE_BAD@GOTPAGEOFF]
	cmp	w8, w9
	csel	x8, x11, x10, gt
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_CLOCK_HIGH,4,2            ; @MODE_CLOCK_HIGH
	.comm	_MODE_BAD,4,2                   ; @MODE_BAD
	.comm	_MODE_OK,4,2                    ; @MODE_OK
	.no_dead_strip	_tc_mode_valid
.subsections_via_symbols
