	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function duff_allocator
_duff_allocator:                        ## @duff_allocator
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_allocation_count@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_4
## %bb.1:
	movq	_ALLOC_ALWAYS_SUCCEED@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.2:
	decq	%rcx
	movq	%rcx, (%rax)
LBB0_3:
	popq	%rbp
	jmp	_malloc                         ## TAILCALL
LBB0_4:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_allocation_count,8,3           ## @allocation_count
	.comm	_ALLOC_ALWAYS_SUCCEED,8,3       ## @ALLOC_ALWAYS_SUCCEED
	.no_dead_strip	_duff_allocator
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function duff_allocator
_duff_allocator:                        ; @duff_allocator
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _allocation_count@GOTPAGE
Lloh1:
	ldr	x8, [x8, _allocation_count@GOTPAGEOFF]
	ldr	x9, [x8]
	cbz	x9, LBB0_4
; %bb.1:
Lloh2:
	adrp	x10, _ALLOC_ALWAYS_SUCCEED@GOTPAGE
Lloh3:
	ldr	x10, [x10, _ALLOC_ALWAYS_SUCCEED@GOTPAGEOFF]
Lloh4:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_3
; %bb.2:
	sub	x9, x9, #1
	str	x9, [x8]
LBB0_3:
	b	_malloc
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_allocation_count,8,3           ; @allocation_count
	.comm	_ALLOC_ALWAYS_SUCCEED,8,3       ; @ALLOC_ALWAYS_SUCCEED
	.no_dead_strip	_duff_allocator
.subsections_via_symbols
