	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function its_vpe_db_proxy_map_locked
_its_vpe_db_proxy_map_locked:           ## @its_vpe_db_proxy_map_locked
	.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
	cmpl	$-1, (%rdi)
	je	LBB0_1
## %bb.7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %rbx
	movq	_vpe_proxy@GOTPCREL(%rip), %r14
	movq	(%r14), %rcx
	movq	16(%r14), %rax
	movq	(%rax,%rcx,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	callq	_its_vpe_db_proxy_unmap_locked
	movq	(%r14), %rcx
	movq	16(%r14), %rax
LBB0_3:
	movq	%rbx, (%rax,%rcx,8)
	movl	%ecx, (%rbx)
	leaq	1(%rcx), %rax
	movq	8(%r14), %rdi
	movslq	(%rdi), %rsi
	movq	%rax, %rdx
	orq	%rsi, %rdx
	shrq	$32, %rdx
	je	LBB0_4
## %bb.5:
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_6
LBB0_4:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
LBB0_6:
	movq	%rdx, (%r14)
	movl	8(%rbx), %eax
	movq	8(%rdi), %rdx
	movslq	%ecx, %rcx
	movl	%eax, (%rdx,%rcx,4)
	movl	4(%rbx), %esi
	movslq	(%rbx), %rdx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_its_send_mapti                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_vpe_proxy,24,3                 ## @vpe_proxy
	.no_dead_strip	_its_vpe_db_proxy_map_locked
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function its_vpe_db_proxy_map_locked
_its_vpe_db_proxy_map_locked:           ; @its_vpe_db_proxy_map_locked
	.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
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x20, _vpe_proxy@GOTPAGE
Lloh1:
	ldr	x20, [x20, _vpe_proxy@GOTPAGEOFF]
	ldr	x9, [x20, #16]
	ldr	x8, [x20]
	ldr	x0, [x9, x8, lsl #3]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_its_vpe_db_proxy_unmap_locked
	ldr	x9, [x20, #16]
	ldr	x8, [x20]
LBB0_4:
	str	x19, [x9, x8, lsl #3]
	str	w8, [x19]
	add	x9, x8, #1
	ldr	x0, [x20, #8]
	ldrsw	x10, [x0]
	udiv	x11, x9, x10
	msub	x9, x11, x10, x9
	ldr	w10, [x19, #8]
	ldr	x11, [x0, #8]
	sbfiz	x8, x8, #2, #32
	str	w10, [x11, x8]
	str	x9, [x20]
	ldp	w2, w1, [x19]
                                        ; kill: def $w2 killed $w2 def $x2
	sxtw	x2, w2
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_its_send_mapti
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_vpe_proxy,24,3                 ; @vpe_proxy
	.no_dead_strip	_its_vpe_db_proxy_map_locked
.subsections_via_symbols
