	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unregister_kmmio_probe         ## -- Begin function unregister_kmmio_probe
	.p2align	4, 0x90
_unregister_kmmio_probe:                ## @unregister_kmmio_probe
	.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	%rdi, %r15
	movq	_PAGE_MASK@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	notq	%rbx
	andq	8(%rdi), %rbx
	movq	(%rdi), %r12
	movq	$0, -48(%rbp)
	movq	_kmmio_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	addq	%rbx, %r12
	je	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	leaq	-48(%rbp), %r14
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_release_kmmio_fault_page
	addq	(%r13), %rbx
	cmpq	%r12, %rbx
	jb	LBB0_2
LBB0_3:
	addq	$16, %r15
	movq	%r15, %rdi
	callq	_list_del_rcu
	movq	_kmmio_count@GOTPCREL(%rip), %rax
	decl	(%rax)
	movq	_kmmio_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$16, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	-48(%rbp), %rcx
	movq	%rcx, 8(%rax)
	movq	_remove_kmmio_fault_pages@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rax, %rdi
	callq	_call_rcu
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_crit
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_MASK,8,3                  ## @PAGE_MASK
	.comm	_kmmio_lock,4,2                 ## @kmmio_lock
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_kmmio_count,4,2                ## @kmmio_count
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kmmio: leaking kmmio_fault_page objects.\n"

	.comm	_remove_kmmio_fault_pages,4,2   ## @remove_kmmio_fault_pages
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_unregister_kmmio_probe         ; -- Begin function unregister_kmmio_probe
	.p2align	2
_unregister_kmmio_probe:                ; @unregister_kmmio_probe
	.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
	mov	x19, x0
	ldp	x8, x9, [x0]
Lloh0:
	adrp	x10, _PAGE_MASK@GOTPAGE
Lloh1:
	ldr	x10, [x10, _PAGE_MASK@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	bic	x9, x9, x10
	add	x20, x9, x8
	str	xzr, [sp, #8]
Lloh3:
	adrp	x0, _kmmio_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _kmmio_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	cbz	x20, LBB0_3
; %bb.1:
	mov	x21, #0
Lloh5:
	adrp	x22, _PAGE_SIZE@GOTPAGE
Lloh6:
	ldr	x22, [x22, _PAGE_SIZE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x21
	add	x1, sp, #8
	bl	_release_kmmio_fault_page
	ldr	x8, [x22]
	add	x21, x8, x21
	cmp	x21, x20
	b.lo	LBB0_2
LBB0_3:
	add	x0, x19, #16
	bl	_list_del_rcu
Lloh7:
	adrp	x8, _kmmio_count@GOTPAGE
Lloh8:
	ldr	x8, [x8, _kmmio_count@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
Lloh9:
	adrp	x0, _kmmio_lock@GOTPAGE
Lloh10:
	ldr	x0, [x0, _kmmio_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	w0, #16
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x8, [sp, #8]
	str	x8, [x0, #8]
Lloh14:
	adrp	x8, _remove_kmmio_fault_pages@GOTPAGE
Lloh15:
	ldr	x8, [x8, _remove_kmmio_fault_pages@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_call_rcu
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_crit
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
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_MASK,8,3                  ; @PAGE_MASK
	.comm	_kmmio_lock,4,2                 ; @kmmio_lock
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_kmmio_count,4,2                ; @kmmio_count
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kmmio: leaking kmmio_fault_page objects.\n"

	.comm	_remove_kmmio_fault_pages,4,2   ; @remove_kmmio_fault_pages
.subsections_via_symbols
