	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ehca_reg_mr_dir_sections
_ehca_reg_mr_dir_sections:              ## @ehca_reg_mr_dir_sections
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, -64(%rbp)                  ## 8-byte Spill
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	_H_SUCCESS@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_EHCA_MAP_ENTRIES@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_6
## %bb.1:
	movq	%rsi, %r13
	movl	%edi, %ebx
	movslq	%edi, %r12
	xorl	%r14d, %r14d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r14
	movq	_EHCA_MAP_ENTRIES@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	%rax, %r14
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	_ehca_bmap@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax,%r12,8), %rax
	movq	(%rax), %rax
	movl	(%rax,%r14,4), %edi
	callq	_ehca_bmap_valid
	testl	%eax, %eax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ebx, %edi
	movl	%r14d, %esi
	movq	%r13, %rdx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	movq	-64(%rbp), %r9                  ## 8-byte Reload
	callq	_ehca_reg_mr_sections
	movq	%rax, %r15
	movq	_H_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_H_PAGE_REGISTERED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	je	LBB0_5
LBB0_6:
	movq	%r15, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H_SUCCESS,8,3                  ## @H_SUCCESS
	.comm	_EHCA_MAP_ENTRIES,4,2           ## @EHCA_MAP_ENTRIES
	.comm	_ehca_bmap,8,3                  ## @ehca_bmap
	.comm	_H_PAGE_REGISTERED,8,3          ## @H_PAGE_REGISTERED
	.no_dead_strip	_ehca_reg_mr_dir_sections
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ehca_reg_mr_dir_sections
_ehca_reg_mr_dir_sections:              ; @ehca_reg_mr_dir_sections
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
Lloh0:
	adrp	x8, _H_SUCCESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H_SUCCESS@GOTPAGEOFF]
Lloh2:
	ldr	x24, [x8]
Lloh3:
	adrp	x27, _EHCA_MAP_ENTRIES@GOTPAGE
Lloh4:
	ldr	x27, [x27, _EHCA_MAP_ENTRIES@GOTPAGEOFF]
	ldr	w8, [x27]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.1:
	mov	x19, x4
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x23, x0
	mov	x25, #0
	sxtw	x28, w23
Lloh5:
	adrp	x26, _ehca_bmap@GOTPAGE
Lloh6:
	ldr	x26, [x26, _ehca_bmap@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x27]
	cmp	x25, x8
	b.ge	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26]
	ldr	x8, [x8]
	ldr	x8, [x8, x28, lsl #3]
	ldr	x8, [x8]
	ldr	w0, [x8, x25, lsl #2]
	bl	_ehca_bmap_valid
	cbz	w0, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x23
	mov	x1, x25
	mov	x2, x22
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	bl	_ehca_reg_mr_sections
	mov	x24, x0
Lloh7:
	adrp	x8, _H_SUCCESS@GOTPAGE
Lloh8:
	ldr	x8, [x8, _H_SUCCESS@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
Lloh10:
	adrp	x9, _H_PAGE_REGISTERED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _H_PAGE_REGISTERED@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.eq	LBB0_2
LBB0_5:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_H_SUCCESS,8,3                  ; @H_SUCCESS
	.comm	_EHCA_MAP_ENTRIES,4,2           ; @EHCA_MAP_ENTRIES
	.comm	_ehca_bmap,8,3                  ; @ehca_bmap
	.comm	_H_PAGE_REGISTERED,8,3          ; @H_PAGE_REGISTERED
	.no_dead_strip	_ehca_reg_mr_dir_sections
.subsections_via_symbols
