	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dqrele                         ## -- Begin function dqrele
	.p2align	4, 0x90
_dqrele:                                ## @dqrele
	.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	_NODQUOT@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r14
	xorl	%eax, %eax
	callq	_DQH_LOCK
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	setg	%dil
	movq	%rbx, %rsi
	callq	_KASSERT
	movl	(%rbx), %eax
	cmpl	$2, %eax
	jl	LBB0_3
## %bb.2:
	decl	%eax
	movl	%eax, (%rbx)
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	xorl	%eax, %eax
	callq	_DQH_UNLOCK
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dqsync
	xorl	%eax, %eax
	callq	_DQH_LOCK
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	setg	%dil
	movq	%rbx, %rsi
	callq	_KASSERT
	movl	(%rbx), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, (%rbx)
	cmpl	$1, %eax
	jg	LBB0_8
## %bb.4:
	movq	_DQ_MOD@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %ecx
	testl	%ecx, 4(%rbx)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_DQH_UNLOCK
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_dqsync
	xorl	%eax, %eax
	callq	_DQH_LOCK
	xorl	%edi, %edi
	cmpl	$0, (%rbx)
	setg	%dil
	movq	%rbx, %rsi
	callq	_KASSERT
	movl	(%rbx), %eax
	leal	-1(%rax), %ecx
	movl	%ecx, (%rbx)
	cmpl	$1, %eax
	jle	LBB0_5
	jmp	LBB0_8
LBB0_7:
	movq	_dq_freelist@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_dqfreelist@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_TAIL
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DQH_UNLOCK                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NODQUOT,8,3                    ## @NODQUOT
	.comm	_DQ_MOD,4,2                     ## @DQ_MOD
	.comm	_dqfreelist,4,2                 ## @dqfreelist
	.comm	_dq_freelist,4,2                ## @dq_freelist
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dqrele                         ; -- Begin function dqrele
	.p2align	2
_dqrele:                                ; @dqrele
	.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
Lloh0:
	adrp	x8, _NODQUOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NODQUOT@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_3
; %bb.1:
	mov	x19, x1
	mov	x20, x0
	bl	_DQH_LOCK
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, gt
	mov	x1, x19
	bl	_KASSERT
	ldr	w8, [x19]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.2:
	sub	w8, w8, #1
	str	w8, [x19]
	b	LBB0_9
LBB0_3:
	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
LBB0_4:
	bl	_DQH_UNLOCK
	mov	x0, x20
	mov	x1, x19
	bl	_dqsync
	bl	_DQH_LOCK
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, gt
	mov	x1, x19
	bl	_KASSERT
	ldr	w8, [x19]
	subs	w9, w8, #1
	str	w9, [x19]
	b.gt	LBB0_9
; %bb.5:
Lloh3:
	adrp	x21, _DQ_MOD@GOTPAGE
Lloh4:
	ldr	x21, [x21, _DQ_MOD@GOTPAGEOFF]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19, #4]
	ldr	w10, [x21]
	tst	w10, w9
	b.eq	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	str	w8, [x19]
	bl	_DQH_UNLOCK
	mov	x0, x20
	mov	x1, x19
	bl	_dqsync
	bl	_DQH_LOCK
	ldr	w8, [x19]
	cmp	w8, #0
	cset	w0, gt
	mov	x1, x19
	bl	_KASSERT
	ldr	w8, [x19]
	subs	w9, w8, #1
	str	w9, [x19]
	b.le	LBB0_6
	b	LBB0_9
LBB0_8:
Lloh5:
	adrp	x8, _dq_freelist@GOTPAGE
Lloh6:
	ldr	x8, [x8, _dq_freelist@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x0, _dqfreelist@GOTPAGE
Lloh9:
	ldr	x0, [x0, _dqfreelist@GOTPAGEOFF]
	mov	x1, x19
	bl	_TAILQ_INSERT_TAIL
LBB0_9:
	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
	b	_DQH_UNLOCK
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_NODQUOT,8,3                    ; @NODQUOT
	.comm	_DQ_MOD,4,2                     ; @DQ_MOD
	.comm	_dqfreelist,4,2                 ; @dqfreelist
	.comm	_dq_freelist,4,2                ; @dq_freelist
.subsections_via_symbols
