	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__objalloc_alloc                ## -- Begin function _objalloc_alloc
	.p2align	4, 0x90
__objalloc_alloc:                       ## @_objalloc_alloc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%eax, %eax
	subq	$1, %rsi
	movq	_OBJALLOC_ALIGN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	cmovaeq	%rsi, %rax
	addq	%rbx, %rax
	negq	%rbx
	andq	%rax, %rbx
	movq	(%rdi), %rcx
	subq	%rbx, %rcx
	jae	LBB0_4
## %bb.1:
	movq	_BIG_REQUEST@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jae	LBB0_5
## %bb.2:
	movq	_CHUNK_SIZE@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.3:
	movq	16(%r14), %rcx
	movq	%rcx, 8(%rax)
	movq	$0, (%rax)
	movq	_CHUNK_HEADER_SIZE@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rax, %rdx
	addq	%rcx, %rdx
	movq	%rdx, 8(%r14)
	movslq	(%r15), %rdx
	subq	%rcx, %rdx
	movq	%rdx, (%r14)
	movq	%rax, 16(%r14)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_objalloc_alloc                 ## TAILCALL
LBB0_4:
	movq	8(%r14), %rax
	addq	%rax, %rbx
	movq	%rbx, 8(%r14)
	movq	%rcx, (%r14)
	jmp	LBB0_9
LBB0_5:
	movq	_CHUNK_HEADER_SIZE@GOTPCREL(%rip), %r15
	addl	(%r15), %ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	movq	%rax, %rcx
	movq	16(%r14), %rax
	movq	%rax, 8(%rcx)
	movq	8(%r14), %rax
	movq	%rax, (%rcx)
	movq	%rcx, 16(%r14)
	movslq	(%r15), %rax
	addq	%rcx, %rax
	jmp	LBB0_9
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OBJALLOC_ALIGN,8,3             ## @OBJALLOC_ALIGN
	.comm	_BIG_REQUEST,8,3                ## @BIG_REQUEST
	.comm	_CHUNK_HEADER_SIZE,4,2          ## @CHUNK_HEADER_SIZE
	.comm	_CHUNK_SIZE,4,2                 ## @CHUNK_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__objalloc_alloc                ; -- Begin function _objalloc_alloc
	.p2align	2
__objalloc_alloc:                       ; @_objalloc_alloc
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
Lloh0:
	adrp	x8, _OBJALLOC_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OBJALLOC_ALIGN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	sub	x9, x1, #1
	cmp	x1, #0
	csel	x9, xzr, x9, eq
	add	x9, x9, x8
	neg	x8, x8
	and	x20, x9, x8
	ldr	x8, [x0]
	subs	x8, x8, x20
	b.hs	LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _BIG_REQUEST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BIG_REQUEST@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x20, x8
	b.hs	LBB0_5
; %bb.2:
Lloh6:
	adrp	x21, _CHUNK_SIZE@GOTPAGE
Lloh7:
	ldr	x21, [x21, _CHUNK_SIZE@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x19, #16]
	stp	xzr, x8, [x0]
Lloh8:
	adrp	x8, _CHUNK_HEADER_SIZE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHUNK_HEADER_SIZE@GOTPAGEOFF]
Lloh10:
	ldrsw	x8, [x8]
	add	x9, x0, x8
	ldrsw	x10, [x21]
	sub	x8, x10, x8
	stp	x8, x9, [x19]
	str	x0, [x19, #16]
	mov	x0, x19
	mov	x1, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_objalloc_alloc
LBB0_4:
	ldr	x0, [x19, #8]
	add	x9, x0, x20
	stp	x8, x9, [x19]
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x21, _CHUNK_HEADER_SIZE@GOTPAGE
Lloh12:
	ldr	x21, [x21, _CHUNK_HEADER_SIZE@GOTPAGEOFF]
	ldr	w8, [x21]
	add	w0, w8, w20
	bl	_malloc
	cbz	x0, LBB0_7
; %bb.6:
	ldp	x9, x8, [x19, #8]
	stp	x9, x8, [x0]
	str	x0, [x19, #16]
	ldrsw	x8, [x21]
	add	x0, x0, x8
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_OBJALLOC_ALIGN,8,3             ; @OBJALLOC_ALIGN
	.comm	_BIG_REQUEST,8,3                ; @BIG_REQUEST
	.comm	_CHUNK_HEADER_SIZE,4,2          ; @CHUNK_HEADER_SIZE
	.comm	_CHUNK_SIZE,4,2                 ; @CHUNK_SIZE
.subsections_via_symbols
