	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alloc_label
_alloc_label:                           ## @alloc_label
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.1:
	cmpl	16(%rbx), %esi
	jne	LBB0_6
## %bb.2:
	movq	8(%rbx), %rdi
	shll	$3, %esi
	callq	_heap_realloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	%rax, 8(%rbx)
	movl	(%rbx), %ecx
	addl	%ecx, %ecx
	jmp	LBB0_5
LBB0_4:
	movl	$32, %edi
	callq	_heap_alloc
	movq	%rax, 8(%rbx)
	movl	$8, %ecx
	testq	%rax, %rax
	je	LBB0_9
LBB0_5:
	movl	%ecx, (%rbx)
LBB0_6:
	movl	16(%rbx), %eax
	leal	1(%rax), %ecx
	movl	%ecx, 16(%rbx)
	movq	_LABEL_FLAG@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	jmp	LBB0_7
LBB0_9:
	xorl	%eax, %eax
LBB0_7:
                                        ## kill: def $eax killed $eax killed $rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LABEL_FLAG,4,2                 ## @LABEL_FLAG
	.no_dead_strip	_alloc_label
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alloc_label
_alloc_label:                           ; @alloc_label
	.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	x19, x0
	ldr	w8, [x0]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w9, [x19, #16]
	cmp	w8, w9
	b.ne	LBB0_7
; %bb.2:
	ldr	x0, [x19, #8]
	lsl	w1, w8, #3
	bl	_heap_realloc
	cbz	x0, LBB0_8
; %bb.3:
	str	x0, [x19, #8]
	ldr	w8, [x19]
	lsl	w8, w8, #1
	b	LBB0_6
LBB0_4:
	mov	w0, #32
	bl	_heap_alloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.5:
	mov	w8, #8
LBB0_6:
	str	w8, [x19]
LBB0_7:
	ldr	w8, [x19, #16]
	add	w9, w8, #1
	str	w9, [x19, #16]
Lloh0:
	adrp	x9, _LABEL_FLAG@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LABEL_FLAG@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	orr	w0, w9, w8
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LABEL_FLAG,4,2                 ; @LABEL_FLAG
	.no_dead_strip	_alloc_label
.subsections_via_symbols
