	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ag_del
_ag_del:                                ## @ag_del
	.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
	xorl	%eax, %eax
	callq	_CHECK_AG
	movq	(%rbx), %rcx
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rcx, (%rax)
	testq	%rcx, %rcx
	jne	LBB0_4
LBB0_5:
	movq	_ag_finest@GOTPCREL(%rip), %rcx
	jmp	LBB0_6
LBB0_1:
	movq	_ag_corsest@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_5
LBB0_4:
	addq	$8, %rcx
LBB0_6:
	movq	%rax, (%rcx)
	movq	_ag_avail@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	%rcx, (%rbx)
	movq	%rbx, (%rax)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_CHECK_AG                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ag_corsest,8,3                 ## @ag_corsest
	.comm	_ag_finest,8,3                  ## @ag_finest
	.comm	_ag_avail,8,3                   ## @ag_avail
	.no_dead_strip	_ag_del
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ag_del
_ag_del:                                ; @ag_del
	.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
	bl	_CHECK_AG
	ldp	x9, x8, [x19]
	cbz	x8, LBB0_2
; %bb.1:
	str	x9, [x8]
	b	LBB0_3
LBB0_2:
Lloh0:
	adrp	x10, _ag_corsest@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ag_corsest@GOTPAGEOFF]
Lloh2:
	str	x9, [x10]
	ldr	x9, [x19]
LBB0_3:
	add	x10, x9, #8
Lloh3:
	adrp	x11, _ag_finest@GOTPAGE
Lloh4:
	ldr	x11, [x11, _ag_finest@GOTPAGEOFF]
	cmp	x9, #0
	csel	x9, x11, x10, eq
	str	x8, [x9]
Lloh5:
	adrp	x8, _ag_avail@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ag_avail@GOTPAGEOFF]
	ldr	x9, [x8]
	str	x9, [x19]
	str	x19, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_CHECK_AG
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_ag_corsest,8,3                 ; @ag_corsest
	.comm	_ag_finest,8,3                  ; @ag_finest
	.comm	_ag_avail,8,3                   ; @ag_avail
	.no_dead_strip	_ag_del
.subsections_via_symbols
