	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function clear_stack
_clear_stack:                           ## @clear_stack
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	leaq	-4(%rbp), %rax
	subq	___HeapLimit@GOTPCREL(%rip), %rax
	je	LBB0_13
## %bb.1:
	sarq	$2, %rax
	movq	_STACK_MAGIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	cmpq	$2, %rax
	movl	$1, %ecx
	cmovaeq	%rax, %rcx
	cmpq	$8, %rcx
	jae	LBB0_3
## %bb.2:
	xorl	%edx, %edx
	jmp	LBB0_11
LBB0_3:
	movq	%rcx, %rdx
	andq	$-8, %rdx
	movd	%r9d, %xmm0
	pshufd	$0, %xmm0, %xmm0                ## xmm0 = xmm0[0,0,0,0]
	leaq	-8(%rdx), %rax
	movq	%rax, %rdi
	shrq	$3, %rdi
	incq	%rdi
	movl	%edi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rax
	jae	LBB0_5
## %bb.4:
	xorl	%esi, %esi
	jmp	LBB0_7
LBB0_5:
	andq	$-4, %rdi
	xorl	%esi, %esi
	movq	___HeapLimit@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, (%rax,%rsi,4)
	movdqu	%xmm0, 16(%rax,%rsi,4)
	movdqu	%xmm0, 32(%rax,%rsi,4)
	movdqu	%xmm0, 48(%rax,%rsi,4)
	movdqu	%xmm0, 64(%rax,%rsi,4)
	movdqu	%xmm0, 80(%rax,%rsi,4)
	movdqu	%xmm0, 96(%rax,%rsi,4)
	movdqu	%xmm0, 112(%rax,%rsi,4)
	addq	$32, %rsi
	addq	$-4, %rdi
	jne	LBB0_6
LBB0_7:
	testq	%r8, %r8
	je	LBB0_10
## %bb.8:
	movq	___HeapLimit@GOTPCREL(%rip), %rax
	leaq	(%rax,%rsi,4), %rax
	addq	$16, %rax
	shlq	$5, %r8
	xorl	%esi, %esi
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	%xmm0, -16(%rax,%rsi)
	movdqu	%xmm0, (%rax,%rsi)
	addq	$32, %rsi
	cmpq	%rsi, %r8
	jne	LBB0_9
LBB0_10:
	cmpq	%rdx, %rcx
	je	LBB0_13
LBB0_11:
	movq	___HeapLimit@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movl	%r9d, (%rax,%rdx,4)
	incq	%rdx
	cmpq	%rdx, %rcx
	jne	LBB0_12
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___HeapLimit,4,2                ## @__HeapLimit
	.comm	_STACK_MAGIC,4,2                ## @STACK_MAGIC
	.no_dead_strip	_clear_stack
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function clear_stack
_clear_stack:                           ; @clear_stack
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
Lloh0:
	adrp	x9, ___HeapLimit@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___HeapLimit@GOTPAGEOFF]
	add	x8, sp, #12
	subs	x8, x8, x9
	b.eq	LBB0_8
; %bb.1:
	asr	x10, x8, #2
Lloh2:
	adrp	x8, _STACK_MAGIC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _STACK_MAGIC@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	x10, #1
	csinc	x10, x10, xzr, hi
	cmp	x10, #16
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	b	LBB0_6
LBB0_3:
	and	x11, x10, #0xfffffffffffffff0
	dup.4s	v0, w8
	add	x12, x9, #32
	mov	x13, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	stp	q0, q0, [x12, #-32]
	stp	q0, q0, [x12], #64
	subs	x13, x13, #16
	b.ne	LBB0_4
; %bb.5:
	cmp	x10, x11
	b.eq	LBB0_8
LBB0_6:
	sub	x10, x10, x11
	add	x9, x9, x11, lsl #2
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	str	w8, [x9], #4
	subs	x10, x10, #1
	b.ne	LBB0_7
LBB0_8:
	add	sp, sp, #16
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	___HeapLimit,4,2                ; @__HeapLimit
	.comm	_STACK_MAGIC,4,2                ; @STACK_MAGIC
	.no_dead_strip	_clear_stack
.subsections_via_symbols
