	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_put_queue
_cfq_put_queue:                         ## @cfq_put_queue
	.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, %rbx
	movq	40(%rdi), %r14
	xorl	%edi, %edi
	cmpq	$0, (%rbx)
	setle	%dil
	callq	_BUG_ON
	decq	(%rbx)
	je	LBB0_1
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_cfq_log_cfqq
	leaq	32(%rbx), %rdi
	callq	_rb_first
	movl	%eax, %edi
	callq	_BUG_ON
	movq	8(%rbx), %rax
	movq	_READ@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	_WRITE@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rax,%rdx,4), %edi
	addl	(%rax,%rcx,4), %edi
	callq	_BUG_ON
	movq	16(%rbx), %r15
	movq	24(%rbx), %r12
	xorl	%edi, %edi
	cmpq	%rbx, (%r14)
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	___cfq_slice_expired
	movq	%r14, %rdi
	callq	_cfq_schedule_dispatch
LBB0_3:
	movq	%rbx, %rdi
	callq	_cfq_cfqq_on_rr
	movl	%eax, %edi
	callq	_BUG_ON
	movq	_cfq_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_kmem_cache_free
	movq	%r12, %rdi
	callq	_cfq_put_cfqg
	testq	%r15, %r15
	je	LBB0_4
## %bb.5:
	movq	%r15, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_cfq_put_cfqg                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"put_queue"

	.comm	_READ,8,3                       ## @READ
	.comm	_WRITE,8,3                      ## @WRITE
	.comm	_cfq_pool,4,2                   ## @cfq_pool
	.no_dead_strip	_cfq_put_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_put_queue
_cfq_put_queue:                         ; @cfq_put_queue
	.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, #40]
	ldr	x8, [x0]
	cmp	x8, #1
	cset	w0, lt
	bl	_BUG_ON
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	b.eq	LBB0_2
LBB0_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
LBB0_2:
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	mov	x1, x19
	bl	_cfq_log_cfqq
	add	x0, x19, #32
	bl	_rb_first
	bl	_BUG_ON
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x9, _READ@GOTPAGE
Lloh3:
	ldr	x9, [x9, _READ@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	w9, [x8, x9, lsl #2]
Lloh5:
	adrp	x10, _WRITE@GOTPAGE
Lloh6:
	ldr	x10, [x10, _WRITE@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	ldr	w8, [x8, x10, lsl #2]
	add	w0, w8, w9
	bl	_BUG_ON
	ldp	x21, x22, [x19, #16]
	ldr	x8, [x20]
	cmp	x8, x19
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	___cfq_slice_expired
	mov	x0, x20
	bl	_cfq_schedule_dispatch
LBB0_4:
	mov	x0, x19
	bl	_cfq_cfqq_on_rr
	bl	_BUG_ON
Lloh8:
	adrp	x8, _cfq_pool@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cfq_pool@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_kmem_cache_free
	mov	x0, x22
	bl	_cfq_put_cfqg
	cbz	x21, LBB0_1
; %bb.5:
	mov	x0, x21
	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	_cfq_put_cfqg
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"put_queue"

	.comm	_READ,8,3                       ; @READ
	.comm	_WRITE,8,3                      ; @WRITE
	.comm	_cfq_pool,4,2                   ; @cfq_pool
	.no_dead_strip	_cfq_put_queue
.subsections_via_symbols
