	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___elv_add_request              ## -- Begin function __elv_add_request
	.p2align	4, 0x90
___elv_add_request:                     ## @__elv_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r14d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movl	(%rsi), %eax
	movq	_REQ_SOFTBARRIER@GOTPCREL(%rip), %rcx
	movq	_REQ_HARDBARRIER@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%eax, %edx
	je	LBB0_3
## %bb.1:
	movq	8(%rbx), %rax
	movq	_REQ_TYPE_FS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	callq	_rq_end_sector
	movl	%eax, 8(%r15)
	movq	%rbx, (%r15)
	jmp	LBB0_5
LBB0_3:
	movq	_REQ_ELVPRIV@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	_ELEVATOR_INSERT_SORT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	xorl	%r14d, %ecx
	orl	%eax, %ecx
	jne	LBB0_5
## %bb.4:
	movq	_ELEVATOR_INSERT_BACK@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_5:
	testl	%r12d, %r12d
	je	LBB0_7
## %bb.6:
	movq	%r15, %rdi
	callq	_blk_plug_device
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_elv_insert                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REQ_SOFTBARRIER,4,2            ## @REQ_SOFTBARRIER
	.comm	_REQ_HARDBARRIER,4,2            ## @REQ_HARDBARRIER
	.comm	_REQ_TYPE_FS,8,3                ## @REQ_TYPE_FS
	.comm	_REQ_ELVPRIV,4,2                ## @REQ_ELVPRIV
	.comm	_ELEVATOR_INSERT_SORT,4,2       ## @ELEVATOR_INSERT_SORT
	.comm	_ELEVATOR_INSERT_BACK,4,2       ## @ELEVATOR_INSERT_BACK
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	___elv_add_request              ; -- Begin function __elv_add_request
	.p2align	2
___elv_add_request:                     ; @__elv_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	x22, x3
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _REQ_SOFTBARRIER@GOTPAGE
Lloh1:
	ldr	x9, [x9, _REQ_SOFTBARRIER@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _REQ_HARDBARRIER@GOTPAGE
Lloh4:
	ldr	x10, [x10, _REQ_HARDBARRIER@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_6
; %bb.1:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _REQ_TYPE_FS@GOTPAGE
Lloh7:
	ldr	x9, [x9, _REQ_TYPE_FS@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x20
	bl	_rq_end_sector
	str	w0, [x21, #8]
	str	x20, [x21]
LBB0_3:
	cbz	w22, LBB0_5
LBB0_4:
	mov	x0, x21
	bl	_blk_plug_device
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, 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	_elv_insert
LBB0_6:
Lloh9:
	adrp	x9, _REQ_ELVPRIV@GOTPAGE
Lloh10:
	ldr	x9, [x9, _REQ_ELVPRIV@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	and	w8, w9, w8
Lloh12:
	adrp	x9, _ELEVATOR_INSERT_SORT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ELEVATOR_INSERT_SORT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	cmp	w9, w19
	ccmp	w8, #0, #0, eq
Lloh15:
	adrp	x8, _ELEVATOR_INSERT_BACK@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ELEVATOR_INSERT_BACK@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	csel	w19, w8, w19, eq
	cbnz	w22, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_REQ_SOFTBARRIER,4,2            ; @REQ_SOFTBARRIER
	.comm	_REQ_HARDBARRIER,4,2            ; @REQ_HARDBARRIER
	.comm	_REQ_TYPE_FS,8,3                ; @REQ_TYPE_FS
	.comm	_REQ_ELVPRIV,4,2                ; @REQ_ELVPRIV
	.comm	_ELEVATOR_INSERT_SORT,4,2       ; @ELEVATOR_INSERT_SORT
	.comm	_ELEVATOR_INSERT_BACK,4,2       ; @ELEVATOR_INSERT_BACK
.subsections_via_symbols
