	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea64_release_vsid            ## -- Begin function moea64_release_vsid
	.p2align	4, 0x90
_moea64_release_vsid:                   ## @moea64_release_vsid
	.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
	movl	%edi, %r15d
	movq	_moea64_slb_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mtx_lock
	movq	_NVSIDS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	decl	%eax
	andl	%r15d, %eax
	movq	_VSID_NBPW@GOTPCREL(%rip), %rcx
	cltd
	idivl	(%rcx)
	movl	%edx, %r13d
	movl	$1, %edi
	movl	%r13d, %ecx
	shll	%cl, %edi
	movq	_moea64_vsid_bitmap@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	movslq	%eax, %rbx
	andl	(%rcx,%rbx,4), %edi
	movslq	%r15d, %rsi
	callq	_KASSERT
	movl	$-2, %eax
	movl	%r13d, %ecx
	roll	%cl, %eax
	movq	(%r12), %rcx
	andl	%eax, (%rcx,%rbx,4)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mtx_unlock                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_moea64_slb_mutex,4,2           ## @moea64_slb_mutex
	.comm	_NVSIDS,4,2                     ## @NVSIDS
	.comm	_VSID_NBPW,4,2                  ## @VSID_NBPW
	.comm	_moea64_vsid_bitmap,8,3         ## @moea64_vsid_bitmap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_moea64_release_vsid            ; -- Begin function moea64_release_vsid
	.p2align	2
_moea64_release_vsid:                   ; @moea64_release_vsid
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x20, _moea64_slb_mutex@GOTPAGE
Lloh1:
	ldr	x20, [x20, _moea64_slb_mutex@GOTPAGEOFF]
	mov	x0, x20
	bl	_mtx_lock
Lloh2:
	adrp	x8, _NVSIDS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NVSIDS@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	sub	w8, w8, #1
	and	w8, w8, w19
Lloh5:
	adrp	x9, _VSID_NBPW@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VSID_NBPW@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	sdiv	w10, w8, w9
	msub	w8, w10, w9, w8
	mov	w9, #1
	lsl	w21, w9, w8
Lloh8:
	adrp	x22, _moea64_vsid_bitmap@GOTPAGE
Lloh9:
	ldr	x22, [x22, _moea64_vsid_bitmap@GOTPAGEOFF]
	ldr	x8, [x22]
	sbfiz	x23, x10, #2, #32
	ldr	w8, [x8, x23]
	and	w0, w8, w21
	sxtw	x1, w19
	bl	_KASSERT
	ldr	x8, [x22]
	ldr	w9, [x8, x23]
	bic	w9, w9, w21
	str	w9, [x8, x23]
	mov	x0, x20
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_mtx_unlock
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_moea64_slb_mutex,4,2           ; @moea64_slb_mutex
	.comm	_NVSIDS,4,2                     ; @NVSIDS
	.comm	_VSID_NBPW,4,2                  ; @VSID_NBPW
	.comm	_moea64_vsid_bitmap,8,3         ; @moea64_vsid_bitmap
.subsections_via_symbols
