	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_zero
_test_zero:                             ## @test_zero
	.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	%rsi, %rbx
	movq	%rdi, %r13
	xorl	%eax, %eax
	callq	_arena_ind
	movl	%eax, %edi
	callq	_MALLOCX_ARENA
	movl	%eax, %r15d
	movq	_MALLOCX_ZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_mallocx
	movq	%rax, %r12
	leaq	L_.str(%rip), %rsi
	movq	%rax, %rdi
	callq	_assert_ptr_not_null
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_validate_fill
	leaq	L_.str.1(%rip), %r14
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_assert_false
	movq	%r12, %rdi
	movl	$122, %esi
	movq	%rbx, %rdx
	callq	_memset
	movq	%r12, %rdi
	movl	$122, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_validate_fill
	movl	%eax, %edi
	movq	%r14, %rsi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdx
	movl	%r15d, %ebx
	xorl	%eax, %eax
	callq	_assert_false
	movq	%r12, %rdi
	movq	%r13, %rsi
	xorl	%edx, %edx
	movl	%r15d, %ecx
	callq	_xallocx
	cmpq	%r13, %rax
	je	LBB0_2
## %bb.1:
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%ebx, %edx
	callq	_rallocx
	movq	%rax, %r12
	leaq	L_.str.2(%rip), %rsi
	movq	%rax, %rdi
	callq	_assert_ptr_not_null
LBB0_2:
	movq	%r12, %rdi
	movl	$122, %esi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_validate_fill
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_assert_false
	cmpq	-56(%rbp), %r13                 ## 8-byte Folded Reload
	jae	LBB0_7
## %bb.3:
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movl	$122, %esi
	xorl	%edx, %edx
	movq	%r13, %rcx
	callq	_validate_fill
	movl	%eax, %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_assert_false
	movq	%r15, %rbx
	subq	%r13, %rbx
	movq	%r12, %rdi
	xorl	%esi, %esi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	callq	_validate_fill
	movl	%eax, %edi
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdx
	movq	%rbx, %rcx
	xorl	%eax, %eax
	callq	_assert_false
	addq	%r12, %r13
	movq	%r13, %rdi
	movl	$122, %esi
	movq	%rbx, %rdx
	callq	_memset
	movq	%r12, %rdi
	movl	$122, %esi
	xorl	%edx, %edx
	movq	%r15, %rcx
	callq	_validate_fill
	movl	%eax, %edi
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_assert_false
	movq	%r15, %r13
	cmpq	-56(%rbp), %r15                 ## 8-byte Folded Reload
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	jae	LBB0_7
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	1(%r13), %r14
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_nallocx
	movq	%rax, %r15
	movq	%r12, %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	movl	%ebx, %ecx
	callq	_xallocx
	cmpq	%r15, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_rallocx
	movq	%rax, %r12
	movq	%rax, %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_assert_ptr_not_null
	jmp	LBB0_6
LBB0_7:
	movq	%r12, %rdi
	movl	%ebx, %esi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dallocx                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MALLOCX_ZERO,4,2               ## @MALLOCX_ZERO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unexpected mallocx() error"

L_.str.1:                               ## @.str.1
	.asciz	"Memory not filled: sz=%zu"

L_.str.2:                               ## @.str.2
	.asciz	"Unexpected rallocx() failure"

L_.str.3:                               ## @.str.3
	.asciz	"Memory not filled: sz=%zu, nsz-sz=%zu"

L_.str.4:                               ## @.str.4
	.asciz	"Memory not filled: nsz=%zu"

	.comm	_FILL_BYTE,4,2                  ## @FILL_BYTE
	.no_dead_strip	_test_zero
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_zero
_test_zero:                             ; @test_zero
	.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	x19, x1
	mov	x21, x0
	bl	_arena_ind
	bl	_MALLOCX_ARENA
Lloh0:
	adrp	x8, _MALLOCX_ZERO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MALLOCX_ZERO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w20, w8, w0
	mov	x0, x19
	mov	x1, x20
	bl	_mallocx
	mov	x22, x0
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_assert_ptr_not_null
	mov	x0, x22
	mov	w1, #0
	mov	x2, #0
	mov	x3, x19
	bl	_validate_fill
Lloh5:
	adrp	x23, l_.str.1@PAGE
Lloh6:
	add	x23, x23, l_.str.1@PAGEOFF
	mov	x1, x23
	mov	x2, x19
	bl	_assert_false
	mov	x0, x22
	mov	w1, #122
	mov	x2, x19
	bl	_memset
	mov	x0, x22
	mov	w1, #122
	mov	x2, #0
	mov	x3, x19
	bl	_validate_fill
	mov	x1, x23
	mov	x2, x19
	bl	_assert_false
	mov	x0, x22
	mov	x1, x21
	mov	w2, #0
	mov	x3, x20
	bl	_xallocx
	cmp	x0, x21
	b.eq	LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	bl	_rallocx
	mov	x22, x0
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_assert_ptr_not_null
LBB0_2:
	mov	x0, x22
	mov	w1, #122
	mov	x2, #0
	mov	x3, x21
	bl	_validate_fill
Lloh9:
	adrp	x1, l_.str.1@PAGE
Lloh10:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x21
	bl	_assert_false
	cmp	x21, x19
	b.hs	LBB0_7
; %bb.3:
Lloh11:
	adrp	x23, l_.str.1@PAGE
Lloh12:
	add	x23, x23, l_.str.1@PAGEOFF
Lloh13:
	adrp	x24, l_.str.3@PAGE
Lloh14:
	add	x24, x24, l_.str.3@PAGEOFF
Lloh15:
	adrp	x25, l_.str.4@PAGE
Lloh16:
	add	x25, x25, l_.str.4@PAGEOFF
Lloh17:
	adrp	x26, l_.str.2@PAGE
Lloh18:
	add	x26, x26, l_.str.2@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	w1, #122
	mov	x2, #0
	mov	x3, x21
	bl	_validate_fill
	mov	x1, x23
	mov	x2, x21
	bl	_assert_false
	sub	x28, x27, x21
	mov	x0, x22
	mov	w1, #0
	mov	x2, x21
	mov	x3, x28
	bl	_validate_fill
	str	x28, [sp]
	mov	x1, x24
	mov	x2, x21
	bl	_assert_false
	add	x0, x21, x22
	mov	w1, #122
	mov	x2, x28
	bl	_memset
	mov	x0, x22
	mov	w1, #122
	mov	x2, #0
	mov	x3, x27
	bl	_validate_fill
	mov	x1, x25
	mov	x2, x27
	bl	_assert_false
	mov	x21, x27
	cmp	x27, x19
	b.hs	LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x28, x21, #1
	mov	x0, x28
	mov	x1, x20
	bl	_nallocx
	mov	x27, x0
	mov	x0, x22
	mov	x1, x28
	mov	w2, #0
	mov	x3, x20
	bl	_xallocx
	cmp	x0, x27
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x22
	mov	x1, x28
	mov	x2, x20
	bl	_rallocx
	mov	x22, x0
	mov	x1, x26
	bl	_assert_ptr_not_null
	b	LBB0_4
LBB0_7:
	mov	x0, x22
	mov	x1, x20
	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
	b	_dallocx
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_MALLOCX_ZERO,4,2               ; @MALLOCX_ZERO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unexpected mallocx() error"

l_.str.1:                               ; @.str.1
	.asciz	"Memory not filled: sz=%zu"

l_.str.2:                               ; @.str.2
	.asciz	"Unexpected rallocx() failure"

l_.str.3:                               ; @.str.3
	.asciz	"Memory not filled: sz=%zu, nsz-sz=%zu"

l_.str.4:                               ; @.str.4
	.asciz	"Memory not filled: nsz=%zu"

	.comm	_FILL_BYTE,4,2                  ; @FILL_BYTE
	.no_dead_strip	_test_zero
.subsections_via_symbols
