	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VSC_Generic
_VSC_Generic:                           ## @VSC_Generic
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_E_REQUEST_DENIED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%esi, %ecx
	negl	%ecx
	cmovsl	%esi, %ecx
	testl	%esi, %esi
	jle	LBB0_3
## %bb.1:
	movq	8(%rdi), %rsi
	movl	(%rdi), %r9d
	leal	(%r9,%rcx), %r8d
	movl	(%rsi), %edx
	subl	4(%rsi), %edx
	movl	%edx, %esi
	subl	%r9d, %esi
	cmpl	%edx, %r8d
	cmovlel	%ecx, %esi
	testl	%esi, %esi
	jle	LBB0_6
## %bb.2:
	addl	%esi, 4(%rdi)
	addl	%esi, %r9d
	movl	%r9d, (%rdi)
	jmp	LBB0_5
LBB0_3:
	movl	(%rdi), %edx
	cmpl	%edx, %ecx
	cmovgel	%edx, %ecx
	testl	%ecx, %ecx
	jle	LBB0_6
## %bb.4:
	subl	%ecx, 4(%rdi)
	subl	%ecx, %edx
	movl	%edx, (%rdi)
LBB0_5:
	movq	_E_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_REQUEST_DENIED,4,2           ## @E_REQUEST_DENIED
	.comm	_E_OK,4,2                       ## @E_OK
	.no_dead_strip	_VSC_Generic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VSC_Generic
_VSC_Generic:                           ; @VSC_Generic
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _E_REQUEST_DENIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _E_REQUEST_DENIED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w1, #0
	cneg	w9, w1, mi
	cmp	w1, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x11, [x0, #8]
	ldr	w10, [x0]
	ldp	w12, w11, [x11]
	sub	w11, w12, w11
	sub	w12, w11, w10
	add	w13, w10, w9
	cmp	w13, w11
	csel	w9, w12, w9, gt
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.2:
	ldr	w8, [x0, #4]
	add	w8, w8, w9
	add	w9, w9, w10
	b	LBB0_5
LBB0_3:
	ldr	w10, [x0]
	cmp	w9, w10
	csel	w9, w9, w10, lt
	cmp	w9, #1
	b.lt	LBB0_6
; %bb.4:
	ldr	w8, [x0, #4]
	sub	w8, w8, w9
	sub	w9, w10, w9
LBB0_5:
	stp	w9, w8, [x0]
Lloh3:
	adrp	x8, _E_OK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _E_OK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
LBB0_6:
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_E_REQUEST_DENIED,4,2           ; @E_REQUEST_DENIED
	.comm	_E_OK,4,2                       ; @E_OK
	.no_dead_strip	_VSC_Generic
.subsections_via_symbols
