	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cfq_find_alloc_queue
_cfq_find_alloc_queue:                  ## @cfq_find_alloc_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r13d
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r12
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	callq	_cfq_get_cfqg
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_cfq_cic_lookup
	movq	%rax, %rdi
	movl	-44(%rbp), %esi                 ## 4-byte Reload
	callq	_cic_to_cfqq
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%rax, %rbx
	cmpq	%r12, %rax
	jne	LBB0_7
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testq	%r15, %r15
	jne	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	___GFP_WAIT@GOTPCREL(%rip), %rax
	testl	%r13d, (%rax)
	je	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r12), %rax
	movl	4(%rax), %edi
	callq	_spin_unlock_irq
	movq	_cfq_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___GFP_ZERO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	orl	%r13d, %esi
	movq	8(%r12), %rax
	movl	(%rax), %edx
	callq	_kmem_cache_alloc_node
	movq	%rax, %r15
	movq	8(%r12), %rax
	movl	4(%rax), %edi
	callq	_spin_lock_irq
	testq	%r15, %r15
	jne	LBB0_1
	jmp	LBB0_6
LBB0_7:
	testq	%r15, %r15
	je	LBB0_11
## %bb.8:
	movq	_cfq_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r15, %rsi
	callq	_kmem_cache_free
	jmp	LBB0_11
LBB0_9:
	movq	_cfq_pool@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	___GFP_ZERO@GOTPCREL(%rip), %rax
	orl	(%rax), %r13d
	movq	8(%r12), %rax
	movl	(%rax), %edx
	movl	%r13d, %esi
	callq	_kmem_cache_alloc_node
	movq	%rax, %r15
	testq	%rax, %rax
	je	LBB0_6
LBB0_10:
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	callq	_cfq_init_cfqq
	movq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_cfq_init_prio_data
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_cfq_link_cfqq_cfqg
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_cfq_log_cfqq
	movq	%r15, %rbx
	jmp	LBB0_11
LBB0_6:
	movq	%r12, %rbx
LBB0_11:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	___GFP_WAIT,4,2                 ## @__GFP_WAIT
	.comm	_cfq_pool,4,2                   ## @cfq_pool
	.comm	___GFP_ZERO,4,2                 ## @__GFP_ZERO
	.comm	_current,8,3                    ## @current
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"alloced"

	.no_dead_strip	_cfq_find_alloc_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cfq_find_alloc_queue
_cfq_find_alloc_queue:                  ; @cfq_find_alloc_queue
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x23, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	mov	x22, #0
Lloh0:
	adrp	x28, ___GFP_WAIT@GOTPAGE
Lloh1:
	ldr	x28, [x28, ___GFP_WAIT@GOTPAGEOFF]
Lloh2:
	adrp	x26, _cfq_pool@GOTPAGE
Lloh3:
	ldr	x26, [x26, _cfq_pool@GOTPAGEOFF]
Lloh4:
	adrp	x27, ___GFP_ZERO@GOTPAGE
Lloh5:
	ldr	x27, [x27, ___GFP_ZERO@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_cfq_get_cfqg
	mov	x24, x0
	mov	x0, x19
	mov	x1, x20
	bl	_cfq_cic_lookup
	mov	x1, x21
	bl	_cic_to_cfqq
	cbz	x0, LBB0_3
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x25, x0
	cmp	x0, x19
	b.ne	LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_1 Depth=1
	cbnz	x22, LBB0_9
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w8, [x28]
	tst	w8, w23
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_spin_unlock_irq
	ldr	w0, [x26]
	ldr	w8, [x27]
	orr	w1, w8, w23
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	bl	_kmem_cache_alloc_node
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_spin_lock_irq
	cbnz	x22, LBB0_1
	b	LBB0_10
LBB0_6:
	cbz	x22, LBB0_11
; %bb.7:
	ldr	w0, [x26]
	mov	x1, x22
	bl	_kmem_cache_free
	b	LBB0_11
LBB0_8:
	ldr	w0, [x26]
	ldr	w8, [x27]
	orr	w1, w8, w23
	ldr	x8, [x19, #8]
	ldr	w2, [x8]
	bl	_kmem_cache_alloc_node
	mov	x22, x0
	cbz	x0, LBB0_10
LBB0_9:
Lloh6:
	adrp	x8, _current@GOTPAGE
Lloh7:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x22
	mov	x3, x21
	bl	_cfq_init_cfqq
	mov	x0, x22
	mov	x1, x20
	bl	_cfq_init_prio_data
	mov	x0, x22
	mov	x1, x24
	bl	_cfq_link_cfqq_cfqg
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_cfq_log_cfqq
	mov	x25, x22
	b	LBB0_11
LBB0_10:
	mov	x25, x19
LBB0_11:
	mov	x0, x25
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	___GFP_WAIT,4,2                 ; @__GFP_WAIT
	.comm	_cfq_pool,4,2                   ; @cfq_pool
	.comm	___GFP_ZERO,4,2                 ; @__GFP_ZERO
	.comm	_current,8,3                    ; @current
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"alloced"

	.no_dead_strip	_cfq_find_alloc_queue
.subsections_via_symbols
