	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function command_smap
_command_smap:                          ## @command_smap
	.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	_smapbase@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CMD_ERROR@GOTPCREL(%rip), %rcx
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	_smaplen@GOTPCREL(%rip), %rdx
	cmpq	$0, (%rdx)
	je	LBB0_10
## %bb.2:
	movq	_smapattr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	(%rax), %esi
	movq	16(%rax), %rdx
	movq	8(%rax), %rcx
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.3:
	movl	(%rdi), %r8d
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_CMD_OK@GOTPCREL(%rip), %rcx
	movq	_smaplen@GOTPCREL(%rip), %rax
	cmpq	$2, (%rax)
	jb	LBB0_10
## %bb.4:
	movl	$1, %r12d
	movl	$5, %r14d
	leaq	L_.str(%rip), %r15
	movq	_smapbase@GOTPCREL(%rip), %r13
	movq	_smaplen@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movq	_smapattr@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
	movl	-16(%rax,%r14,8), %esi
	movq	(%rax,%r14,8), %rdx
	movq	-8(%rax,%r14,8), %rcx
	movl	(%rdi,%r12,8), %r8d
	movq	%r15, %rdi
	xorl	%eax, %eax
	callq	_printf
	incq	%r12
	addq	$3, %r14
	cmpq	(%rbx), %r12
	jb	LBB0_5
	jmp	LBB0_9
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printf
	movq	_CMD_OK@GOTPCREL(%rip), %rcx
	movq	_smaplen@GOTPCREL(%rip), %r15
	cmpq	$2, (%r15)
	movq	_smapbase@GOTPCREL(%rip), %r13
	jb	LBB0_10
## %bb.7:
	movl	$1, %r12d
	movl	$40, %ebx
	leaq	L_.str.1(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	-16(%rax,%rbx), %esi
	movq	(%rax,%rbx), %rdx
	movq	-8(%rax,%rbx), %rcx
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_printf
	incq	%r12
	addq	$24, %rbx
	cmpq	(%r15), %r12
	jb	LBB0_8
LBB0_9:
	movq	_CMD_OK@GOTPCREL(%rip), %rcx
LBB0_10:
	movl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smapbase,8,3                   ## @smapbase
	.comm	_smaplen,8,3                    ## @smaplen
	.comm	_CMD_ERROR,4,2                  ## @CMD_ERROR
	.comm	_smapattr,8,3                   ## @smapattr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"SMAP type=%02x base=%016llx len=%016llx attr=%02x\n"

L_.str.1:                               ## @.str.1
	.asciz	"SMAP type=%02x base=%016llx len=%016llx\n"

	.comm	_CMD_OK,4,2                     ## @CMD_OK
	.no_dead_strip	_command_smap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function command_smap
_command_smap:                          ; @command_smap
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
Lloh0:
	adrp	x20, _smapbase@GOTPAGE
Lloh1:
	ldr	x20, [x20, _smapbase@GOTPAGEOFF]
	ldr	x8, [x20]
Lloh2:
	adrp	x21, _smaplen@GOTPAGE
Lloh3:
	ldr	x21, [x21, _smaplen@GOTPAGEOFF]
	ldr	x9, [x21]
	cmp	x8, #0
	ccmp	x9, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
Lloh4:
	adrp	x22, _CMD_ERROR@GOTPAGE
Lloh5:
	ldr	x22, [x22, _CMD_ERROR@GOTPAGEOFF]
	b	LBB0_10
LBB0_2:
Lloh6:
	adrp	x23, _smapattr@GOTPAGE
Lloh7:
	ldr	x23, [x23, _smapattr@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w1, [x8]
	ldp	x3, x2, [x8, #8]
	cbz	x9, LBB0_6
; %bb.3:
	ldr	x8, [x9]
	str	x8, [sp]
Lloh8:
	adrp	x0, l_.str@PAGE
Lloh9:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
	ldr	x8, [x21]
	cmp	x8, #2
	b.lo	LBB0_9
; %bb.4:
	mov	x24, #0
	mov	w25, #1
Lloh10:
	adrp	x22, _CMD_OK@GOTPAGE
Lloh11:
	ldr	x22, [x22, _CMD_OK@GOTPAGEOFF]
Lloh12:
	adrp	x19, l_.str@PAGE
Lloh13:
	add	x19, x19, l_.str@PAGEOFF
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	ldr	x9, [x23]
	add	x8, x8, x24
	ldr	w1, [x8, #24]
	ldp	x3, x2, [x8, #32]
	ldr	x8, [x9, x25, lsl #3]
	str	x8, [sp]
	mov	x0, x19
	bl	_printf
	add	x25, x25, #1
	ldr	x8, [x21]
	add	x24, x24, #24
	cmp	x25, x8
	b.lo	LBB0_5
	b	LBB0_10
LBB0_6:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printf
	ldr	x8, [x21]
	cmp	x8, #2
	b.lo	LBB0_9
; %bb.7:
	mov	x23, #0
	mov	w24, #1
Lloh16:
	adrp	x22, _CMD_OK@GOTPAGE
Lloh17:
	ldr	x22, [x22, _CMD_OK@GOTPAGEOFF]
Lloh18:
	adrp	x19, l_.str.1@PAGE
Lloh19:
	add	x19, x19, l_.str.1@PAGEOFF
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20]
	add	x8, x8, x23
	ldr	w1, [x8, #24]
	ldp	x3, x2, [x8, #32]
	mov	x0, x19
	bl	_printf
	add	x24, x24, #1
	ldr	x8, [x21]
	add	x23, x23, #24
	cmp	x24, x8
	b.lo	LBB0_8
	b	LBB0_10
LBB0_9:
Lloh20:
	adrp	x22, _CMD_OK@GOTPAGE
Lloh21:
	ldr	x22, [x22, _CMD_OK@GOTPAGEOFF]
LBB0_10:
	ldr	w0, [x22]
	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
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_smapbase,8,3                   ; @smapbase
	.comm	_smaplen,8,3                    ; @smaplen
	.comm	_CMD_ERROR,4,2                  ; @CMD_ERROR
	.comm	_smapattr,8,3                   ; @smapattr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"SMAP type=%02x base=%016llx len=%016llx attr=%02x\n"

l_.str.1:                               ; @.str.1
	.asciz	"SMAP type=%02x base=%016llx len=%016llx\n"

	.comm	_CMD_OK,4,2                     ; @CMD_OK
	.no_dead_strip	_command_smap
.subsections_via_symbols
