	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vm_map_wire_user_count_add
_vm_map_wire_user_count_add:            ## @vm_map_wire_user_count_add
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_vm_user_wire_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	%rdx, -48(%rbp)
	addq	%rdi, %rdx
	movq	_vm_page_max_user_wired@GOTPCREL(%rip), %r13
	xorl	%r14d, %r14d
	cmpq	(%r13), %rdx
	jg	LBB0_5
## %bb.1:
	movq	%rdi, %rbx
	movq	_vm_user_wire_count@GOTPCREL(%rip), %r15
	leaq	-48(%rbp), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_atomic_fcmpset_long
	testl	%eax, %eax
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %rdx
	addq	%rbx, %rdx
	cmpq	(%r13), %rdx
	jle	LBB0_2
	jmp	LBB0_5
LBB0_3:
	movl	$1, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_vm_user_wire_count,8,3         ## @vm_user_wire_count
	.comm	_vm_page_max_user_wired,8,3     ## @vm_page_max_user_wired
	.no_dead_strip	_vm_map_wire_user_count_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vm_map_wire_user_count_add
_vm_map_wire_user_count_add:            ; @vm_map_wire_user_count_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x8, _vm_user_wire_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _vm_user_wire_count@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #8]
Lloh3:
	adrp	x21, _vm_page_max_user_wired@GOTPAGE
Lloh4:
	ldr	x21, [x21, _vm_page_max_user_wired@GOTPAGEOFF]
	ldr	x9, [x21]
	add	x2, x8, x0
	cmp	x2, x9
	b.gt	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh5:
	adrp	x20, _vm_user_wire_count@GOTPAGE
Lloh6:
	ldr	x20, [x20, _vm_user_wire_count@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #8
	mov	x0, x20
	bl	_atomic_fcmpset_long
	cbnz	w0, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	add	x2, x8, x19
	cmp	x2, x9
	b.le	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
	mov	w0, #1
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_vm_user_wire_count,8,3         ; @vm_user_wire_count
	.comm	_vm_page_max_user_wired,8,3     ; @vm_page_max_user_wired
	.no_dead_strip	_vm_map_wire_user_count_add
.subsections_via_symbols
