	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function print_mem_map
_print_mem_map:                         ## @print_mem_map
	.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	%rdx, %r14
	movq	%rsi, %rbx
	callq	_CIS_FEAT_MEMORY
	cmpl	$128, %eax
	je	LBB0_7
## %bb.1:
	cmpl	$131, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_17
## %bb.3:
	subq	%rbx, %r14
	cmpq	$8, %r14
	jl	LBB0_16
## %bb.4:
	movq	%rbx, %rdi
	callq	_tpl16
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	addq	$8, %rbx
	jmp	LBB0_17
LBB0_7:
	cmpq	%rbx, %r14
	jbe	LBB0_16
## %bb.8:
	movl	(%rbx), %r15d
	movl	%r15d, %edi
	callq	_CIS_MEM_LENSZ
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_CIS_MEM_ADDRSZ
	movl	%eax, %r12d
	addl	%r13d, %r12d
	movq	_CIS_MEM_HOST@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_10
## %bb.9:
	movl	%r15d, %edi
	callq	_CIS_MEM_ADDRSZ
	addl	%eax, %r12d
LBB0_10:
	addq	$4, %rbx
	movl	%r15d, %edi
	callq	_CIS_MEM_WINS
	testl	%eax, %eax
	jle	LBB0_17
## %bb.11:
	movslq	%r12d, %r12
	xorl	%r13d, %r13d
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_12 Depth=1
	movl	$10, %edi
	callq	_putchar
	movl	%r15d, %edi
	callq	_CIS_MEM_WINS
	cmpl	%eax, %r13d
	jge	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rax
	subq	%rbx, %rax
	sarq	$2, %rax
	cmpq	%r12, %rax
	jl	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%r13d
	leaq	L_.str.2(%rip), %rdi
	movl	%r13d, %esi
	xorl	%eax, %eax
	callq	_printf
	movl	%r15d, %edi
	callq	_CIS_MEM_LENSZ
	orl	$16, %eax
	movl	%eax, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_print_num
	cltq
	leaq	(%rbx,%rax,4), %rbx
	movl	%r15d, %edi
	callq	_CIS_MEM_ADDRSZ
	orl	$16, %eax
	movl	%eax, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_print_num
	cltq
	leaq	(%rbx,%rax,4), %rbx
	movq	_CIS_MEM_HOST@GOTPCREL(%rip), %rax
	testl	%r15d, (%rax)
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movl	%r15d, %edi
	callq	_CIS_MEM_ADDRSZ
	orl	$16, %eax
	movl	%eax, %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_print_num
	cltq
	leaq	(%rbx,%rax,4), %rbx
	jmp	LBB0_15
LBB0_5:
	subq	%rbx, %r14
	cmpq	$16, %r14
	jge	LBB0_6
LBB0_16:
	leaq	L_str(%rip), %rdi
	callq	_puts
	jmp	LBB0_17
LBB0_6:
	leaq	8(%rbx), %rdi
	callq	_tpl16
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_tpl16
	leaq	L_.str.1(%rip), %rdi
	movl	%r14d, %esi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_printf
	addq	$16, %rbx
LBB0_17:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\tMemory space length = 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"\tMemory space address = 0x%x, length = 0x%x\n"

	.comm	_CIS_MEM_HOST,4,2               ## @CIS_MEM_HOST
L_.str.2:                               ## @.str.2
	.asciz	"\tMemory descriptor %d\n\t\t"

L_.str.3:                               ## @.str.3
	.asciz	" blk length = 0x%x00"

L_.str.4:                               ## @.str.4
	.asciz	" card addr = 0x%x00"

L_.str.5:                               ## @.str.5
	.asciz	" host addr = 0x%x00"

L_str:                                  ## @str
	.asciz	"\tWrong length for memory mapping sub-tuple"

	.no_dead_strip	_print_mem_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function print_mem_map
_print_mem_map:                         ; @print_mem_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	mov	x20, x2
	mov	x19, x1
	bl	_CIS_FEAT_MEMORY
	cmp	w0, #128
	b.eq	LBB0_5
; %bb.1:
	cmp	w0, #131
	b.eq	LBB0_14
; %bb.2:
	cmp	w0, #130
	b.ne	LBB0_17
; %bb.3:
	sub	x8, x20, x19
	cmp	x8, #8
	b.lt	LBB0_15
; %bb.4:
	mov	x0, x19
	bl	_tpl16
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	add	x19, x19, #8
	b	LBB0_17
LBB0_5:
	cmp	x20, x19
	b.ls	LBB0_15
; %bb.6:
	ldr	w21, [x19], #4
	mov	x0, x21
	bl	_CIS_MEM_LENSZ
	mov	x22, x0
	mov	x0, x21
	bl	_CIS_MEM_ADDRSZ
	add	w22, w0, w22
Lloh2:
	adrp	x26, _CIS_MEM_HOST@GOTPAGE
Lloh3:
	ldr	x26, [x26, _CIS_MEM_HOST@GOTPAGEOFF]
	ldr	w8, [x26]
	tst	w8, w21
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x21
	bl	_CIS_MEM_ADDRSZ
	add	w22, w0, w22
LBB0_8:
	mov	x0, x21
	bl	_CIS_MEM_WINS
	cmp	w0, #1
	b.lt	LBB0_17
; %bb.9:
	mov	w27, #0
	sxtw	x28, w22
Lloh4:
	adrp	x22, l_.str.2@PAGE
Lloh5:
	add	x22, x22, l_.str.2@PAGEOFF
Lloh6:
	adrp	x23, l_.str.3@PAGE
Lloh7:
	add	x23, x23, l_.str.3@PAGEOFF
Lloh8:
	adrp	x24, l_.str.4@PAGE
Lloh9:
	add	x24, x24, l_.str.4@PAGEOFF
Lloh10:
	adrp	x25, l_.str.5@PAGE
Lloh11:
	add	x25, x25, l_.str.5@PAGEOFF
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	w0, #10
	bl	_putchar
	mov	x0, x21
	bl	_CIS_MEM_WINS
	cmp	w27, w0
	b.ge	LBB0_17
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	sub	x8, x20, x19
	cmp	x28, x8, asr #2
	b.gt	LBB0_15
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	add	w27, w27, #1
	str	x27, [sp]
	mov	x0, x22
	bl	_printf
	mov	x0, x21
	bl	_CIS_MEM_LENSZ
	orr	w0, w0, #0x10
	mov	x1, x23
	mov	x2, x19
	mov	w3, #0
	bl	_print_num
	add	x19, x19, w0, sxtw #2
	mov	x0, x21
	bl	_CIS_MEM_ADDRSZ
	orr	w0, w0, #0x10
	mov	x1, x24
	mov	x2, x19
	mov	w3, #0
	bl	_print_num
	add	x19, x19, w0, sxtw #2
	ldr	w8, [x26]
	tst	w8, w21
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	bl	_CIS_MEM_ADDRSZ
	orr	w0, w0, #0x10
	mov	x1, x25
	mov	x2, x19
	mov	w3, #0
	bl	_print_num
	add	x19, x19, w0, sxtw #2
	b	LBB0_10
LBB0_14:
	sub	x8, x20, x19
	cmp	x8, #16
	b.ge	LBB0_16
LBB0_15:
Lloh12:
	adrp	x0, l_str@PAGE
Lloh13:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	b	LBB0_17
LBB0_16:
	add	x0, x19, #8
	bl	_tpl16
	mov	x20, x0
	mov	x0, x19
	bl	_tpl16
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	add	x19, x19, #16
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\tMemory space length = 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"\tMemory space address = 0x%x, length = 0x%x\n"

	.comm	_CIS_MEM_HOST,4,2               ; @CIS_MEM_HOST
l_.str.2:                               ; @.str.2
	.asciz	"\tMemory descriptor %d\n\t\t"

l_.str.3:                               ; @.str.3
	.asciz	" blk length = 0x%x00"

l_.str.4:                               ; @.str.4
	.asciz	" card addr = 0x%x00"

l_.str.5:                               ; @.str.5
	.asciz	" host addr = 0x%x00"

l_str:                                  ; @str
	.asciz	"\tWrong length for memory mapping sub-tuple"

	.no_dead_strip	_print_mem_map
.subsections_via_symbols
