	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___libc_delete_hook             ## -- Begin function __libc_delete_hook
	.p2align	4, 0x90
___libc_delete_hook:                    ## @__libc_delete_hook
	.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	%rsi, %r15
	movq	%rdi, %r14
	cmpq	%rsi, %rdi
	je	LBB0_1
## %bb.2:
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	movq	__REENT@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_6
LBB0_4:
	cmpq	_libc_globl_reent@GOTPCREL(%rip), %rbx
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	callq	__reclaim_reent
	movq	%rbx, %rdi
	callq	_free
LBB0_6:
	movq	$0, (%r15)
	cmpq	%r15, %r14
	jne	LBB0_8
## %bb.7:
	movq	__REENT@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
LBB0_8:
	movl	$1, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__REENT,8,3                     ## @_REENT
	.comm	_libc_globl_reent,4,2           ## @libc_globl_reent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___libc_delete_hook             ; -- Begin function __libc_delete_hook
	.p2align	2
___libc_delete_hook:                    ; @__libc_delete_hook
	.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, x1
	mov	x20, x0
	cmp	x0, x1
	b.eq	LBB0_2
; %bb.1:
	ldr	x21, [x19]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x8, __REENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, __REENT@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
LBB0_3:
	cmp	x21, #0
Lloh3:
	adrp	x8, _libc_globl_reent@GOTPAGE
Lloh4:
	ldr	x8, [x8, _libc_globl_reent@GOTPAGEOFF]
	ccmp	x21, x8, #4, ne
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x21
	bl	__reclaim_reent
	mov	x0, x21
	bl	_free
LBB0_5:
	str	xzr, [x19]
	cmp	x20, x19
	b.ne	LBB0_7
; %bb.6:
Lloh5:
	adrp	x8, __REENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, __REENT@GOTPAGEOFF]
Lloh7:
	str	xzr, [x8]
LBB0_7:
	mov	w0, #1
	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 AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	__REENT,8,3                     ; @_REENT
	.comm	_libc_globl_reent,4,2           ; @libc_globl_reent
.subsections_via_symbols
