	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function extra_close_record
_extra_close_record:                    ## @extra_close_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	testl	%esi, %esi
	jle	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_extra_tell_used_size
LBB0_2:
	movl	(%rbx), %edx
	xorl	%eax, %eax
	testb	$1, %dl
	jne	LBB0_4
## %bb.3:
	movl	%edx, %ecx
	jmp	LBB0_6
LBB0_4:
	leal	1(%rdx), %ecx
	movl	%ecx, (%rbx)
	movq	32(%rbx), %rsi
	movl	$-1, %eax
	testq	%rsi, %rsi
	je	LBB0_6
## %bb.5:
	movslq	%edx, %rdx
	movq	$0, 8(%rsi,%rdx,8)
LBB0_6:
	cmpq	$0, 24(%rbx)
	je	LBB0_9
## %bb.7:
	movq	16(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.8:
	movl	8(%rbx), %edx
	movl	12(%rbx), %esi
	addl	%eax, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_set_SUSP_CE                    ## TAILCALL
LBB0_9:
	movl	%ecx, 4(%rbx)
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_extra_close_record
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function extra_close_record
_extra_close_record:                    ; @extra_close_record
	.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
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_extra_tell_used_size
LBB0_2:
	ldr	w8, [x19]
	tbnz	w8, #0, LBB0_6
; %bb.3:
	mov	w9, #0
	ldr	x10, [x19, #24]
	cbz	x10, LBB0_9
LBB0_4:
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_10
; %bb.5:
	ldp	w2, w1, [x19, #8]
	add	w3, w8, w9
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_set_SUSP_CE
LBB0_6:
	add	w8, w8, #1
	str	w8, [x19]
	ldr	x9, [x19, #32]
	cbz	x9, LBB0_8
; %bb.7:
	str	xzr, [x9, w8, sxtw #3]
LBB0_8:
	mov	w9, #-1
	ldr	x10, [x19, #24]
	cbnz	x10, LBB0_4
LBB0_9:
	str	w8, [x19, #4]
LBB0_10:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_extra_close_record
.subsections_via_symbols
