	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function as_add_request
_as_add_request:                        ## @as_add_request
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r13
	movq	%rdi, %r12
	movq	8(%rdi), %rax
	movq	(%rax), %r14
	movq	_AS_RQ_NEW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	callq	_RQ_SET_STATE
	movq	%r13, %rdi
	callq	_rq_is_sync
	movl	%eax, %r15d
	movl	(%r12), %edi
	callq	_as_get_io_context
	movq	8(%r13), %rcx
	movl	%eax, (%rcx)
	movq	%r13, %rdi
	callq	_RQ_IOC
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r13, %rdi
	callq	_RQ_IOC
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	callq	_as_update_iohist
	movq	%r13, %rdi
	callq	_RQ_IOC
	movq	(%rax), %rdi
	callq	_atomic_inc
LBB0_2:
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_RQ_RB_ROOT
	movl	%eax, %edi
	movq	%r13, %rsi
	callq	_elv_rb_add
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	8(%r14), %rcx
	movslq	%r15d, %rbx
	movq	(%rcx,%rbx,8), %rsi
	addq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_rq_set_fifo_time
	shlq	$2, %rbx
	addq	(%r14), %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_list_add_tail
	movq	%r14, %rdi
	movq	%r13, %rsi
	callq	_as_update_rq
	movq	_AS_RQ_QUEUED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r13, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_RQ_SET_STATE                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_AS_RQ_NEW,4,2                  ## @AS_RQ_NEW
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_AS_RQ_QUEUED,4,2               ## @AS_RQ_QUEUED
	.no_dead_strip	_as_add_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function as_add_request
_as_add_request:                        ; @as_add_request
	.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, x1
	mov	x22, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8]
Lloh0:
	adrp	x8, _AS_RQ_NEW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AS_RQ_NEW@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_RQ_SET_STATE
	mov	x0, x19
	bl	_rq_is_sync
	mov	x21, x0
	ldr	w0, [x22]
	bl	_as_get_io_context
	ldr	x8, [x19, #8]
	str	w0, [x8]
	mov	x0, x19
	bl	_RQ_IOC
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_RQ_IOC
	ldr	x1, [x0]
	mov	x0, x20
	mov	x2, x19
	bl	_as_update_iohist
	mov	x0, x19
	bl	_RQ_IOC
	ldr	x0, [x0]
	bl	_atomic_inc
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	bl	_RQ_RB_ROOT
	mov	x1, x19
	bl	_elv_rb_add
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	ldr	x9, [x20, #8]
	ldr	x9, [x9, w21, sxtw #3]
	add	x1, x9, x8
	mov	x0, x19
	bl	_rq_set_fifo_time
	ldr	x8, [x20]
	add	x1, x8, w21, sxtw #2
	mov	x0, x19
	bl	_list_add_tail
	mov	x0, x20
	mov	x1, x19
	bl	_as_update_rq
Lloh6:
	adrp	x8, _AS_RQ_QUEUED@GOTPAGE
Lloh7:
	ldr	x8, [x8, _AS_RQ_QUEUED@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, 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
	b	_RQ_SET_STATE
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_AS_RQ_NEW,4,2                  ; @AS_RQ_NEW
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_AS_RQ_QUEUED,4,2               ; @AS_RQ_QUEUED
	.no_dead_strip	_as_add_request
.subsections_via_symbols
