	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_map
_test_map:                              ## @test_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_make_map
	movq	%rax, %r14
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_map_get
	movq	%rax, %rdi
	callq	_assert_null
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_format
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_map_put
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_map_get
	movslq	%eax, %rsi
	movl	%ebx, %edi
	callq	_assert_int
	incq	%rbx
	cmpq	$10000, %rbx                    ## imm = 0x2710
	jne	LBB0_1
## %bb.2:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_format
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_map_put
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_map_get
	movslq	%eax, %rsi
	movl	%ebx, %edi
	callq	_assert_int
	incq	%rbx
	cmpq	$1000, %rbx                     ## imm = 0x3E8
	jne	LBB0_3
## %bb.4:
	xorl	%ebx, %ebx
	leaq	L_.str.1(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_format
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_map_get
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_assert_int
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_map_remove
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_map_get
	movq	%rax, %rdi
	callq	_assert_null
	incl	%ebx
	cmpl	$10000, %ebx                    ## imm = 0x2710
	jne	LBB0_5
## %bb.6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"abc"

L_.str.1:                               ## @.str.1
	.asciz	"%d"

	.no_dead_strip	_test_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_map
_test_map:                              ; @test_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
	bl	_make_map
	mov	x19, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_map_get
	bl	_assert_null
	mov	x20, #0
Lloh2:
	adrp	x21, l_.str.1@PAGE
Lloh3:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	w23, #10000
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_format
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_map_put
	mov	x0, x19
	mov	x1, x22
	bl	_map_get
	sxtw	x1, w0
	mov	x0, x20
	bl	_assert_int
	add	x20, x20, #1
	cmp	x20, x23
	b.ne	LBB0_1
; %bb.2:
	mov	x20, #0
Lloh4:
	adrp	x21, l_.str.1@PAGE
Lloh5:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_format
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	mov	x2, x20
	bl	_map_put
	mov	x0, x19
	mov	x1, x22
	bl	_map_get
	sxtw	x1, w0
	mov	x0, x20
	bl	_assert_int
	add	x20, x20, #1
	cmp	x20, #1000
	b.ne	LBB0_3
; %bb.4:
	mov	w20, #0
Lloh6:
	adrp	x21, l_.str.1@PAGE
Lloh7:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	w23, #10000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x20
	bl	_format
	mov	x22, x0
	mov	x0, x19
	mov	x1, x22
	bl	_map_get
	mov	x1, x0
	mov	x0, x20
	bl	_assert_int
	mov	x0, x19
	mov	x1, x22
	bl	_map_remove
	mov	x0, x19
	mov	x1, x22
	bl	_map_get
	bl	_assert_null
	add	w20, w20, #1
	cmp	w20, w23
	b.ne	LBB0_5
; %bb.6:
	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	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"abc"

l_.str.1:                               ; @.str.1
	.asciz	"%d"

	.no_dead_strip	_test_map
.subsections_via_symbols
