	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_ratelimiter_detach         ## -- Begin function isc_ratelimiter_detach
	.p2align	4, 0x90
_isc_ratelimiter_detach:                ## @isc_ratelimiter_detach
	.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	%rdi, %r14
	movq	(%rdi), %rbx
	movq	_ISC_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	leaq	8(%rbx), %r15
	movq	%r15, %rdi
	callq	_LOCK
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setg	%dil
	callq	_REQUIRE
	decq	(%rbx)
	jne	LBB0_2
## %bb.1:
	movq	_ISC_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
LBB0_2:
	movq	%r15, %rdi
	callq	_UNLOCK
	testq	%r12, %r12
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_ratelimiter_free
LBB0_4:
	movq	$0, (%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_FALSE,8,3                  ## @ISC_FALSE
	.comm	_ISC_TRUE,8,3                   ## @ISC_TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isc_ratelimiter_detach         ; -- Begin function isc_ratelimiter_detach
	.p2align	2
_isc_ratelimiter_detach:                ; @isc_ratelimiter_detach
	.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, x0
	ldr	x20, [x0]
Lloh0:
	adrp	x8, _ISC_FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISC_FALSE@GOTPAGEOFF]
Lloh2:
	ldr	x22, [x8]
	add	x21, x20, #8
	mov	x0, x21
	bl	_LOCK
	ldr	x8, [x20]
	cmp	x8, #0
	cset	w0, gt
	bl	_REQUIRE
	ldr	x8, [x20]
	subs	x8, x8, #1
	str	x8, [x20]
Lloh3:
	adrp	x8, _ISC_TRUE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISC_TRUE@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	csel	x22, x8, x22, eq
	mov	x0, x21
	bl	_UNLOCK
	cbz	x22, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_ratelimiter_free
LBB0_2:
	str	xzr, [x19]
	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	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_FALSE,8,3                  ; @ISC_FALSE
	.comm	_ISC_TRUE,8,3                   ; @ISC_TRUE
.subsections_via_symbols
