	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_map
_add_map:                               ## @add_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
	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, %r15
	movq	%rcx, %r12
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%r8, %rdi
	callq	_get_map_type
	movl	(%r15), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_R_PERM_X@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_3:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_4:
	movq	_R_PERM_W@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_5:
	movq	_R_PERM_RW@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_6:
	movq	_R_PERM_R@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_7:
	movq	_R_PERM_RWX@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	movq	_R_PERM_RX@GOTPCREL(%rip), %rcx
LBB0_9:
	movl	(%rcx), %r14d
LBB0_10:
	leaq	L_.str(%rip), %rdi
	movq	%rax, %rsi
	movq	%r13, %rdx
	callq	_r_str_newf
	testq	%rax, %rax
	je	LBB0_14
## %bb.11:
	movq	%rax, %rbx
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	addq	%rsi, %r12
	movq	8(%r15), %rax
	movq	_MEM_PRIVATE@GOTPCREL(%rip), %rcx
	xorl	%r8d, %r8d
	cmpq	(%rcx), %rax
	sete	%r8b
	movq	%rbx, %rdi
	movq	%r12, %rdx
	movl	%r14d, %ecx
	callq	_r_debug_map_new
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_free
	testq	%r14, %r14
	je	LBB0_14
## %bb.12:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_r_list_append
	jmp	LBB0_15
LBB0_14:
	xorl	%r14d, %r14d
LBB0_15:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_R_PERM_X,4,2                   ## @R_PERM_X
	.comm	_R_PERM_RX,4,2                  ## @R_PERM_RX
	.comm	_R_PERM_RWX,4,2                 ## @R_PERM_RWX
	.comm	_R_PERM_R,4,2                   ## @R_PERM_R
	.comm	_R_PERM_RW,4,2                  ## @R_PERM_RW
	.comm	_R_PERM_W,4,2                   ## @R_PERM_W
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%-8s %s"

	.comm	_MEM_PRIVATE,8,3                ## @MEM_PRIVATE
	.no_dead_strip	_add_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_map
_add_map:                               ; @add_map
	.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	x21, x4
	mov	x22, x3
	mov	x20, x2
	mov	x23, x1
	mov	x19, x0
	mov	x0, x4
	bl	_get_map_type
	mov	x1, x0
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #6
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _R_PERM_X@GOTPAGE
Lloh3:
	ldr	x8, [x8, _R_PERM_X@GOTPAGEOFF]
	b	LBB0_9
LBB0_3:
	mov	w24, #0
	b	LBB0_10
LBB0_4:
Lloh4:
	adrp	x8, _R_PERM_W@GOTPAGE
Lloh5:
	ldr	x8, [x8, _R_PERM_W@GOTPAGEOFF]
	b	LBB0_9
LBB0_5:
Lloh6:
	adrp	x8, _R_PERM_RW@GOTPAGE
Lloh7:
	ldr	x8, [x8, _R_PERM_RW@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
Lloh8:
	adrp	x8, _R_PERM_R@GOTPAGE
Lloh9:
	ldr	x8, [x8, _R_PERM_R@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:
Lloh10:
	adrp	x8, _R_PERM_RWX@GOTPAGE
Lloh11:
	ldr	x8, [x8, _R_PERM_RWX@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _R_PERM_RX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _R_PERM_RX@GOTPAGEOFF]
LBB0_9:
	ldr	w24, [x8]
LBB0_10:
Lloh14:
	adrp	x0, l_.str@PAGE
Lloh15:
	add	x0, x0, l_.str@PAGEOFF
	mov	x2, x23
	bl	_r_str_newf
	cbz	x0, LBB0_13
; %bb.11:
	mov	x23, x0
	add	x2, x22, x20
	ldr	x8, [x21, #8]
Lloh16:
	adrp	x9, _MEM_PRIVATE@GOTPAGE
Lloh17:
	ldr	x9, [x9, _MEM_PRIVATE@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w4, eq
	mov	x1, x20
	mov	x3, x24
	bl	_r_debug_map_new
	mov	x20, x0
	mov	x0, x23
	bl	_free
	cbz	x20, LBB0_14
; %bb.12:
	mov	x0, x19
	mov	x1, x20
	bl	_r_list_append
	b	LBB0_14
LBB0_13:
	mov	x20, #0
LBB0_14:
	mov	x0, x20
	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 AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_R_PERM_X,4,2                   ; @R_PERM_X
	.comm	_R_PERM_RX,4,2                  ; @R_PERM_RX
	.comm	_R_PERM_RWX,4,2                 ; @R_PERM_RWX
	.comm	_R_PERM_R,4,2                   ; @R_PERM_R
	.comm	_R_PERM_RW,4,2                  ; @R_PERM_RW
	.comm	_R_PERM_W,4,2                   ; @R_PERM_W
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%-8s %s"

	.comm	_MEM_PRIVATE,8,3                ; @MEM_PRIVATE
	.no_dead_strip	_add_map
.subsections_via_symbols
