	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_mmu_rb_register           ## -- Begin function hfi1_mmu_rb_register
	.p2align	4, 0x90
_hfi1_mmu_rb_register:                  ## @hfi1_mmu_rb_register
	.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	%r8, -48(%rbp)                  ## 8-byte Spill
	movq	%rcx, %r15
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$72, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	_RB_ROOT_CACHED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 64(%rbx)
	movq	%r12, 56(%rbx)
	movq	%r14, 48(%rbx)
	leaq	8(%rbx), %r12
	leaq	16(%rbx), %rdi
	callq	_INIT_HLIST_NODE
	leaq	44(%rbx), %rdi
	callq	_spin_lock_init
	movq	_mn_opts@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	%r13, (%rbx)
	leaq	40(%rbx), %rdi
	movq	_handle_remove@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_INIT_WORK
	leaq	36(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	%rbx, %rdi
	addq	$32, %rdi
	callq	_INIT_LIST_HEAD
	movq	%r15, 24(%rbx)
	movq	(%rbx), %rsi
	movq	%r12, %rdi
	callq	_mmu_notifier_register
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_5
LBB0_4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	xorl	%r15d, %r15d
LBB0_5:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_RB_ROOT_CACHED,4,2             ## @RB_ROOT_CACHED
	.comm	_mn_opts,4,2                    ## @mn_opts
	.comm	_handle_remove,4,2              ## @handle_remove
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hfi1_mmu_rb_register           ; -- Begin function hfi1_mmu_rb_register
	.p2align	2
_hfi1_mmu_rb_register:                  ; @hfi1_mmu_rb_register
	.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, x4
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #72
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _RB_ROOT_CACHED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RB_ROOT_CACHED@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x0, #64]
	stp	x24, x23, [x0, #48]
	add	x0, x0, #16
	bl	_INIT_HLIST_NODE
	add	x0, x20, #44
	bl	_spin_lock_init
Lloh6:
	adrp	x8, _mn_opts@GOTPAGE
Lloh7:
	ldr	x8, [x8, _mn_opts@GOTPAGEOFF]
	mov	x23, x20
	str	x8, [x23, #8]!
	str	x22, [x20]
	add	x0, x20, #40
Lloh8:
	adrp	x8, _handle_remove@GOTPAGE
Lloh9:
	ldr	x8, [x8, _handle_remove@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_INIT_WORK
	add	x0, x20, #36
	bl	_INIT_LIST_HEAD
	add	x0, x20, #32
	bl	_INIT_LIST_HEAD
	str	x21, [x20, #24]
	ldr	x1, [x20]
	mov	x0, x23
	bl	_mmu_notifier_register
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_kfree
	b	LBB0_5
LBB0_3:
Lloh11:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_4:
	str	x20, [x19]
LBB0_5:
	mov	x0, x21
	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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_RB_ROOT_CACHED,4,2             ; @RB_ROOT_CACHED
	.comm	_mn_opts,4,2                    ; @mn_opts
	.comm	_handle_remove,4,2              ; @handle_remove
.subsections_via_symbols
