	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tracking_malloc                ## -- Begin function tracking_malloc
	.p2align	4, 0x90
_tracking_malloc:                       ## @tracking_malloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movl	$32, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%r14, (%rax)
	movq	%r14, %rdi
	callq	_malloc
	movq	%rax, 8(%rbx)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	$0, 16(%rbx)
	movq	_alloc_head@GOTPCREL(%rip), %rcx
	cmpq	$0, (%rcx)
	je	LBB0_5
## %bb.6:
	movq	_alloc_tail@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	%rdx, 24(%rbx)
	movq	%rbx, 16(%rdx)
	jmp	LBB0_7
LBB0_1:
	leaq	L_str(%rip), %rdi
	callq	_puts
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_3:
	movq	%rbx, %rdi
	callq	_free
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_5:
	movq	$0, 24(%rbx)
	movq	_alloc_tail@GOTPCREL(%rip), %rdx
	movq	%rbx, (%rdx)
LBB0_7:
	movq	%rbx, (%rcx)
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_alloc_head,8,3                 ## @alloc_head
	.comm	_alloc_tail,8,3                 ## @alloc_tail
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"Allocator failure"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_tracking_malloc                ; -- Begin function tracking_malloc
	.p2align	2
_tracking_malloc:                       ; @tracking_malloc
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x20, x0
	mov	w0, #32
	bl	_malloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x19, x0
	str	x20, [x0]
	mov	x0, x20
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_5
; %bb.2:
	str	xzr, [x19, #16]
Lloh0:
	adrp	x8, _alloc_head@GOTPAGE
Lloh1:
	ldr	x8, [x8, _alloc_head@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_6
; %bb.3:
Lloh2:
	adrp	x8, _alloc_tail@GOTPAGE
Lloh3:
	ldr	x8, [x8, _alloc_tail@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19, #24]
	str	x19, [x9, #16]
	b	LBB0_7
LBB0_4:
Lloh4:
	adrp	x0, l_str@PAGE
Lloh5:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
	mov	x0, #0
	b	LBB0_8
LBB0_5:
	mov	x0, x19
	bl	_free
	mov	x0, #0
	b	LBB0_8
LBB0_6:
	str	xzr, [x19, #24]
Lloh6:
	adrp	x9, _alloc_tail@GOTPAGE
Lloh7:
	ldr	x9, [x9, _alloc_tail@GOTPAGEOFF]
Lloh8:
	str	x19, [x9]
LBB0_7:
	str	x19, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotStr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_alloc_head,8,3                 ; @alloc_head
	.comm	_alloc_tail,8,3                 ; @alloc_tail
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"Allocator failure"

.subsections_via_symbols
