	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ves1x93_get_frontend
_ves1x93_get_frontend:                  ## @ves1x93_get_frontend
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	(%rdi), %rbx
	movq	%rbx, %rdi
	movl	$10, %esi
	callq	_ves1x93_readreg
	addb	%al, %al
	sarb	%al
	movsbl	%al, %eax
	movslq	(%r14), %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$41, %rcx
	addl	%edx, %ecx
	imull	%eax, %ecx
	leal	15(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$4, %eax
	movq	8(%rbx), %rcx
	cltq
	subq	%rax, %rcx
	movq	%rcx, 16(%r14)
	movq	(%rbx), %rax
	movq	_INVERSION_AUTO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.1:
	movq	%rbx, %rdi
	movl	$15, %esi
	callq	_ves1x93_readreg
	testb	$2, %al
	jne	LBB0_2
## %bb.3:
	movq	_INVERSION_ON@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_2:
	movq	_INVERSION_OFF@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
LBB0_5:
	movq	%rbx, %rdi
	callq	_ves1x93_get_fec
	movl	%eax, 4(%r14)
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INVERSION_AUTO,8,3             ## @INVERSION_AUTO
	.comm	_INVERSION_OFF,4,2              ## @INVERSION_OFF
	.comm	_INVERSION_ON,4,2               ## @INVERSION_ON
	.no_dead_strip	_ves1x93_get_frontend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ves1x93_get_frontend
_ves1x93_get_frontend:                  ; @ves1x93_get_frontend
	.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
	ldr	x20, [x0]
	mov	x0, x20
	mov	w1, #10
	bl	_ves1x93_readreg
	sbfx	w8, w0, #0, #7
	ldrsw	x9, [x19]
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	mul	x9, x9, x10
	lsr	x10, x9, #63
	asr	x9, x9, #41
	add	w9, w9, w10
	mul	w8, w9, w8
	add	w9, w8, #15
	cmp	w8, #0
	csel	w8, w9, w8, lt
	asr	w8, w8, #4
	ldp	x10, x9, [x20]
	sub	x8, x9, w8, sxtw
	str	x8, [x19, #16]
Lloh0:
	adrp	x8, _INVERSION_AUTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INVERSION_AUTO@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x10, x8
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x20
	mov	w1, #15
	bl	_ves1x93_readreg
Lloh3:
	adrp	x8, _INVERSION_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _INVERSION_OFF@GOTPAGEOFF]
Lloh5:
	adrp	x9, _INVERSION_ON@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INVERSION_ON@GOTPAGEOFF]
	tst	w0, #0x2
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x19, #8]
LBB0_2:
	mov	x0, x20
	bl	_ves1x93_get_fec
	str	w0, [x19, #4]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_INVERSION_AUTO,8,3             ; @INVERSION_AUTO
	.comm	_INVERSION_OFF,4,2              ; @INVERSION_OFF
	.comm	_INVERSION_ON,4,2               ; @INVERSION_ON
	.no_dead_strip	_ves1x93_get_frontend
.subsections_via_symbols
