	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getvx
_getvx:                                 ## @getvx
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	callq	_adrof
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	testl	%r14d, %r14d
	jg	LBB0_3
	jmp	LBB0_4
LBB0_1:
	movq	%rbx, %rdi
	callq	_udvar
	testl	%r14d, %r14d
	jle	LBB0_4
LBB0_3:
	movl	(%r15), %edi
	callq	_blklen
	cmpl	%r14d, %eax
	jge	LBB0_5
LBB0_4:
	movq	_ERR_NAME@GOTPCREL(%rip), %rax
	movq	_ERR_RANGE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	orl	(%rax), %edi
	callq	_stderror
LBB0_5:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ERR_NAME,4,2                   ## @ERR_NAME
	.comm	_ERR_RANGE,4,2                  ## @ERR_RANGE
	.no_dead_strip	_getvx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getvx
_getvx:                                 ; @getvx
	.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	x20, x1
	mov	x21, x0
	bl	_adrof
	mov	x19, x0
	cbz	x0, LBB0_2
; %bb.1:
	cmp	w20, #1
	b.ge	LBB0_3
	b	LBB0_4
LBB0_2:
	mov	x0, x21
	bl	_udvar
	cmp	w20, #1
	b.lt	LBB0_4
LBB0_3:
	ldr	w0, [x19]
	bl	_blklen
	cmp	w0, w20
	b.ge	LBB0_5
LBB0_4:
Lloh0:
	adrp	x8, _ERR_NAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ERR_NAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ERR_RANGE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ERR_RANGE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w0, w9, w8
	bl	_stderror
LBB0_5:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ERR_NAME,4,2                   ; @ERR_NAME
	.comm	_ERR_RANGE,4,2                  ; @ERR_RANGE
	.no_dead_strip	_getvx
.subsections_via_symbols
