	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mymalloc                       ## -- Begin function mymalloc
	.p2align	4, 0x90
_mymalloc:                              ## @mymalloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpq	$33554432, %rdi                 ## imm = 0x2000000
	ja	LBB0_1
## %bb.2:
	movq	_heap_a@GOTPCREL(%rip), %r8
	movq	(%r8), %rax
	leaq	(%rax,%rdi), %rdx
	movq	_Heap@GOTPCREL(%rip), %rsi
	movq	_HEAP_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	addq	(%rsi), %rcx
	cmpq	%rcx, %rdx
	jbe	LBB0_4
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_4:
	addq	$3, %rdi
	andq	$-4, %rdi
	addq	%rax, %rdi
	movq	%rdi, (%r8)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_heap_a,8,3                     ## @heap_a
	.comm	_Heap,8,3                       ## @Heap
	.comm	_HEAP_SIZE,4,2                  ## @HEAP_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mymalloc                       ; -- Begin function mymalloc
	.p2align	2
_mymalloc:                              ; @mymalloc
	.cfi_startproc
; %bb.0:
	mov	w9, #33554432
	cmp	x0, x9
	b.ls	LBB0_2
; %bb.1:
	mov	x0, #0
	ret
LBB0_2:
	mov	x8, x0
Lloh0:
	adrp	x9, _heap_a@GOTPAGE
Lloh1:
	ldr	x9, [x9, _heap_a@GOTPAGEOFF]
	ldr	x0, [x9]
	add	x10, x0, x8
Lloh2:
	adrp	x11, _Heap@GOTPAGE
Lloh3:
	ldr	x11, [x11, _Heap@GOTPAGEOFF]
Lloh4:
	ldr	x11, [x11]
Lloh5:
	adrp	x12, _HEAP_SIZE@GOTPAGE
Lloh6:
	ldr	x12, [x12, _HEAP_SIZE@GOTPAGEOFF]
Lloh7:
	ldrsw	x12, [x12]
	add	x11, x11, x12
	cmp	x10, x11
	b.ls	LBB0_4
; %bb.3:
	mov	x0, #0
	ret
LBB0_4:
	add	x8, x8, #3
	and	x8, x8, #0xfffffffffffffffc
	add	x8, x0, x8
	str	x8, [x9]
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_heap_a,8,3                     ; @heap_a
	.comm	_Heap,8,3                       ; @Heap
	.comm	_HEAP_SIZE,4,2                  ; @HEAP_SIZE
.subsections_via_symbols
