	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extra_get_record
_extra_get_record:                      ## @extra_get_record
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rsi, %r15
	movq	24(%rdi), %r12
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	movq	(%r12), %rax
	movq	_DR_SAFETY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_LOGICAL_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
	movslq	(%rax), %rdi
	movq	%rbx, %rcx
	subq	%rdi, %rcx
	cmpq	%rcx, %rsi
	jle	LBB0_3
## %bb.2:
	movq	16(%rax), %rax
	movl	(%rax), %edi
LBB0_3:
	addl	%edi, %esi
	subl	%esi, %ebx
	andl	$-2, %ebx
	movl	%ebx, (%r15)
	movl	(%rax), %ecx
	movl	%ecx, (%rdx)
	testq	%r14, %r14
	je	LBB0_11
LBB0_10:
	movl	4(%rax), %ecx
	movl	%ecx, (%r14)
LBB0_11:
	movq	%rax, (%r12)
	movslq	(%rax), %rcx
	addq	8(%rax), %rcx
LBB0_12:
	movq	%rcx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r12, %rdi
	callq	_extra_last_record
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_DR_SAFETY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	movq	_LOGICAL_BLOCK_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movslq	(%rax), %rcx
	movq	%rdx, %rdi
	subq	%rcx, %rdi
	cmpq	%rdi, %rsi
	jle	LBB0_8
LBB0_6:
	movl	$24, %edi
	callq	_malloc
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_12
## %bb.7:
	movq	$0, (%rax)
	movq	%rax, %rdx
	addq	$16, %rdx
	movq	$0, 16(%rax)
	movq	8(%r12), %rsi
	leaq	16(%r12), %rdi
	testq	%rsi, %rsi
	cmovneq	%rsi, %rdi
	movq	%rax, (%rdi)
	movq	%rdx, 8(%r12)
	movq	_LOGICAL_BLOCK_SIZE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movq	_DR_SAFETY@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
LBB0_8:
	addl	%ecx, %esi
	subl	%esi, %edx
	andl	$-2, %edx
	movl	%edx, (%r15)
	testq	%r14, %r14
	jne	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_DR_SAFETY,8,3                  ## @DR_SAFETY
	.comm	_LOGICAL_BLOCK_SIZE,8,3         ## @LOGICAL_BLOCK_SIZE
	.no_dead_strip	_extra_get_record
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extra_get_record
_extra_get_record:                      ; @extra_get_record
	.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, x3
	mov	x21, x1
	ldr	x20, [x0, #24]
	cbz	x2, LBB0_7
; %bb.1:
	ldr	x0, [x20]
Lloh0:
	adrp	x8, _DR_SAFETY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DR_SAFETY@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _LOGICAL_BLOCK_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _LOGICAL_BLOCK_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	ldrsw	x10, [x0]
	sub	x11, x9, x10
	cmp	x8, x11
	b.le	LBB0_3
; %bb.2:
	ldr	x0, [x0, #16]
	ldr	w10, [x0]
LBB0_3:
	add	w8, w8, w10
	sub	w8, w9, w8
	and	w8, w8, #0xfffffffe
	str	w8, [x21]
	ldr	w8, [x0]
	str	w8, [x2]
	cbz	x19, LBB0_5
LBB0_4:
	ldr	w8, [x0, #4]
	str	w8, [x19]
LBB0_5:
	str	x0, [x20]
	ldr	x8, [x0, #8]
	ldrsw	x9, [x0]
	add	x0, x8, x9
LBB0_6:
	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
LBB0_7:
	mov	x0, x20
	bl	_extra_last_record
	cbz	x0, LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, _DR_SAFETY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DR_SAFETY@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x8]
Lloh9:
	adrp	x8, _LOGICAL_BLOCK_SIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _LOGICAL_BLOCK_SIZE@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x8]
	ldrsw	x8, [x0]
	sub	x11, x9, x8
	cmp	x10, x11
	b.le	LBB0_11
LBB0_9:
	mov	w0, #24
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.10:
	mov	w8, #0
	str	xzr, [x0]
	ldr	x9, [x20, #8]
	add	x10, x20, #16
	cmp	x9, #0
	csel	x9, x10, x9, eq
	mov	x10, x0
	str	xzr, [x10, #16]!
	str	x0, [x9]
	str	x10, [x20, #8]
Lloh12:
	adrp	x9, _LOGICAL_BLOCK_SIZE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _LOGICAL_BLOCK_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
Lloh15:
	adrp	x10, _DR_SAFETY@GOTPAGE
Lloh16:
	ldr	x10, [x10, _DR_SAFETY@GOTPAGEOFF]
Lloh17:
	ldr	x10, [x10]
LBB0_11:
	add	w8, w10, w8
	sub	w8, w9, w8
	and	w8, w8, #0xfffffffe
	str	w8, [x21]
	cbnz	x19, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_DR_SAFETY,8,3                  ; @DR_SAFETY
	.comm	_LOGICAL_BLOCK_SIZE,8,3         ; @LOGICAL_BLOCK_SIZE
	.no_dead_strip	_extra_get_record
.subsections_via_symbols
