	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_delete                   ## -- Begin function __rec_delete
	.p2align	4, 0x90
___rec_delete:                          ## @__rec_delete
	.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
	movl	%edx, %ebx
	movq	%rsi, %r14
	movq	(%rdi), %r15
	movq	8(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movl	16(%r15), %edi
	xorl	%edx, %edx
	callq	_mpool_put
	movq	$0, 8(%r15)
LBB0_2:
	cmpl	$128, %ebx
	je	LBB0_7
## %bb.3:
	testl	%ebx, %ebx
	jne	LBB0_13
## %bb.4:
	movq	(%r14), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	je	LBB0_13
## %bb.5:
	cmpl	4(%r15), %esi
	jg	LBB0_14
## %bb.6:
	decl	%esi
	movq	%r15, %rdi
	callq	_rec_rdelete
	movl	%eax, %r14d
	jmp	LBB0_11
LBB0_7:
	movq	_CURS_INIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_F_ISSET
	testl	%eax, %eax
	je	LBB0_13
## %bb.8:
	cmpl	$0, 4(%r15)
	je	LBB0_14
## %bb.9:
	movl	(%r15), %esi
	decl	%esi
	movq	%r15, %rdi
	callq	_rec_rdelete
	movl	%eax, %r14d
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_11
## %bb.10:
	decl	(%r15)
LBB0_11:
	movq	_RET_SUCCESS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r14d
	jne	LBB0_16
## %bb.12:
	movq	_B_MODIFIED@GOTPCREL(%rip), %rax
	movq	_R_MODIFIED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movq	%r15, %rdi
	callq	_F_SET
	jmp	LBB0_16
LBB0_13:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_RET_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_14:
	movq	_RET_SPECIAL@GOTPCREL(%rip), %rax
LBB0_15:
	movl	(%rax), %r14d
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RET_SPECIAL,4,2                ## @RET_SPECIAL
	.comm	_CURS_INIT,4,2                  ## @CURS_INIT
	.comm	_RET_SUCCESS,4,2                ## @RET_SUCCESS
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_RET_ERROR,4,2                  ## @RET_ERROR
	.comm	_B_MODIFIED,4,2                 ## @B_MODIFIED
	.comm	_R_MODIFIED,4,2                 ## @R_MODIFIED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___rec_delete                   ; -- Begin function __rec_delete
	.p2align	2
___rec_delete:                          ; @__rec_delete
	.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	x21, x2
	mov	x20, x1
	ldr	x19, [x0]
	ldr	x1, [x19, #8]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	w0, [x19, #16]
	mov	w2, #0
	bl	_mpool_put
	str	xzr, [x19, #8]
LBB0_2:
	cmp	w21, #128
	b.eq	LBB0_7
; %bb.3:
	cbnz	w21, LBB0_13
; %bb.4:
	ldr	x8, [x20]
	ldr	w8, [x8]
	cbz	w8, LBB0_13
; %bb.5:
	ldr	w9, [x19, #4]
	cmp	w8, w9
	b.gt	LBB0_14
; %bb.6:
	sub	w1, w8, #1
	mov	x0, x19
	bl	_rec_rdelete
	mov	x20, x0
	b	LBB0_11
LBB0_7:
Lloh0:
	adrp	x8, _CURS_INIT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CURS_INIT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_F_ISSET
	cbz	w0, LBB0_13
; %bb.8:
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_14
; %bb.9:
	ldr	w8, [x19]
	sub	w1, w8, #1
	mov	x0, x19
	bl	_rec_rdelete
	mov	x20, x0
Lloh3:
	adrp	x8, _RET_SUCCESS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_11
; %bb.10:
	ldr	w8, [x19]
	sub	w8, w8, #1
	str	w8, [x19]
LBB0_11:
Lloh6:
	adrp	x8, _RET_SUCCESS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RET_SUCCESS@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_16
; %bb.12:
Lloh9:
	adrp	x8, _B_MODIFIED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _B_MODIFIED@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _R_MODIFIED@GOTPAGE
Lloh13:
	ldr	x9, [x9, _R_MODIFIED@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	x0, x19
	bl	_F_SET
	b	LBB0_16
LBB0_13:
Lloh15:
	adrp	x8, _EINVAL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
Lloh18:
	adrp	x9, _errno@GOTPAGE
Lloh19:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh20:
	str	w8, [x9]
Lloh21:
	adrp	x8, _RET_ERROR@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RET_ERROR@GOTPAGEOFF]
	b	LBB0_15
LBB0_14:
Lloh23:
	adrp	x8, _RET_SPECIAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RET_SPECIAL@GOTPAGEOFF]
LBB0_15:
	ldr	w20, [x8]
LBB0_16:
	mov	x0, 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
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_RET_SPECIAL,4,2                ; @RET_SPECIAL
	.comm	_CURS_INIT,4,2                  ; @CURS_INIT
	.comm	_RET_SUCCESS,4,2                ; @RET_SUCCESS
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_RET_ERROR,4,2                  ; @RET_ERROR
	.comm	_B_MODIFIED,4,2                 ; @B_MODIFIED
	.comm	_R_MODIFIED,4,2                 ; @R_MODIFIED
.subsections_via_symbols
