	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_objalloc_free_block            ## -- Begin function objalloc_free_block
	.p2align	4, 0x90
_objalloc_free_block:                   ## @objalloc_free_block
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	16(%rdi), %r13
	testq	%r13, %r13
	je	LBB0_9
## %bb.1:
	movq	%rsi, %r15
	movq	_CHUNK_HEADER_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rcx
	movq	_CHUNK_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	xorl	%r14d, %r14d
	movq	%r13, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rbx,%rcx), %rsi
	movq	%r14, %rdx
	cmpq	%r15, %rsi
	je	LBB0_20
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	movq	%rdx, %r14
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %r12
	testq	%r12, %r12
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdx
	cmpq	%r15, %rbx
	jae	LBB0_8
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	(%rbx,%rax), %rsi
	movq	%rbx, %rdx
	cmpq	%r15, %rsi
	jbe	LBB0_8
## %bb.5:
	cmpq	%rbx, %r13
	je	LBB0_6
## %bb.10:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	jmp	LBB0_11
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%rdi, %r14
	movl	$0, %eax
	cmoveq	%rax, %r14
	callq	_free
	cmpq	%rbx, %r13
	je	LBB0_18
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	8(%r13), %r13
	testq	%r14, %r14
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	cmpq	%r15, (%rdi)
	jbe	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	callq	_free
	jmp	LBB0_16
LBB0_15:                                ##   in Loop: Header=BB0_11 Depth=1
	testq	%r12, %r12
	cmoveq	%rdi, %r12
LBB0_16:                                ##   in Loop: Header=BB0_11 Depth=1
	xorl	%r14d, %r14d
	cmpq	%rbx, %r13
	jne	LBB0_11
LBB0_18:
	movq	_CHUNK_SIZE@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_19
LBB0_20:
	movq	%rdi, %r15
	movq	8(%rbx), %rbx
	cmpq	%rbx, %r13
	je	LBB0_22
	.p2align	4, 0x90
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %r14
	movq	%r13, %rdi
	callq	_free
	movq	%r14, %r13
	cmpq	%rbx, %r14
	jne	LBB0_21
LBB0_22:
	movq	%r15, %rdi
	movq	%rbx, 16(%r15)
	cmpq	$0, (%rbx)
	je	LBB0_23
## %bb.24:
	movq	_CHUNK_SIZE@GOTPCREL(%rip), %rax
	.p2align	4, 0x90
LBB0_25:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%rbx), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_25
	jmp	LBB0_26
LBB0_23:
	movq	_CHUNK_SIZE@GOTPCREL(%rip), %rax
LBB0_26:
	movq	%r12, (%rdi)
	movslq	(%rax), %rax
	addq	%rbx, %rax
	movq	%r12, %r15
	jmp	LBB0_27
LBB0_6:
	xorl	%r12d, %r12d
LBB0_19:
	testq	%r12, %r12
	cmoveq	%rbx, %r12
	movq	%r12, 16(%rdi)
	movq	%r15, (%rdi)
	addq	%rbx, %rax
LBB0_27:
	subl	%r15d, %eax
	movl	%eax, 8(%rdi)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_CHUNK_SIZE,4,2                 ## @CHUNK_SIZE
	.comm	_CHUNK_HEADER_SIZE,4,2          ## @CHUNK_HEADER_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_objalloc_free_block            ; -- Begin function objalloc_free_block
	.p2align	2
_objalloc_free_block:                   ; @objalloc_free_block
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x0, [x0, #16]
	cbz	x0, LBB0_24
; %bb.1:
	mov	x20, x1
	mov	x23, #0
Lloh0:
	adrp	x8, _CHUNK_HEADER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHUNK_HEADER_SIZE@GOTPAGEOFF]
Lloh2:
	ldrsw	x9, [x8]
Lloh3:
	adrp	x21, _CHUNK_SIZE@GOTPAGE
Lloh4:
	ldr	x21, [x21, _CHUNK_SIZE@GOTPAGEOFF]
	ldrsw	x8, [x21]
	mov	x22, x0
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x22, x9
	cmp	x10, x20
	mov	x1, x23
	b.eq	LBB0_15
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x22, [x22, #8]
	mov	x23, x1
	cbz	x22, LBB0_24
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x24, [x22]
	cbnz	x24, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x1, x22
	cmp	x22, x20
	b.hs	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x10, x22, x8
	cmp	x10, x20
	mov	x1, x22
	b.ls	LBB0_3
; %bb.7:
	cmp	x0, x22
	b.eq	LBB0_21
; %bb.8:
	mov	x24, #0
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_11 Depth=1
	cmp	x23, x0
	csel	x23, xzr, x23, eq
	bl	_free
LBB0_10:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x25
	cmp	x25, x22
	b.eq	LBB0_20
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x0, #8]
	cbnz	x23, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	ldr	x8, [x0]
	cmp	x8, x20
	b.ls	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=1
	bl	_free
	mov	x23, #0
	b	LBB0_10
LBB0_14:                                ;   in Loop: Header=BB0_11 Depth=1
	mov	x23, #0
	cmp	x24, #0
	csel	x24, x0, x24, eq
	b	LBB0_10
LBB0_15:
	ldr	x20, [x22, #8]
	cmp	x0, x20
	b.eq	LBB0_17
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	x22, [x0, #8]
	bl	_free
	mov	x0, x22
	cmp	x22, x20
	b.ne	LBB0_16
LBB0_17:
	str	x20, [x19, #16]
	ldr	x8, [x20]
	cbz	x8, LBB0_19
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x20, #8]
	ldr	x8, [x20]
	cbnz	x8, LBB0_18
LBB0_19:
	str	x24, [x19]
	ldrsw	x8, [x21]
	add	x8, x20, x8
	mov	x20, x24
	b	LBB0_23
LBB0_20:
	ldrsw	x8, [x21]
	b	LBB0_22
LBB0_21:
	mov	x24, #0
LBB0_22:
	cmp	x24, #0
	csel	x9, x22, x24, eq
	str	x9, [x19, #16]
	str	x20, [x19]
	add	x8, x22, x8
LBB0_23:
	sub	w8, w8, w20
	str	w8, [x19, #8]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_24:
	bl	_abort
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CHUNK_SIZE,4,2                 ; @CHUNK_SIZE
	.comm	_CHUNK_HEADER_SIZE,4,2          ; @CHUNK_HEADER_SIZE
.subsections_via_symbols
