	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function delay_bio
_delay_bio:                             ## @delay_bio
	.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
	movl	$1, %r12d
	testl	%esi, %esi
	je	LBB0_3
## %bb.1:
	movq	%rdx, %r14
	movl	%esi, %ebx
	movq	%rdi, %r15
	addq	$16, %rdi
	callq	_atomic_read
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	12(%r15), %edi
	movq	_GFP_NOIO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_mempool_alloc
	movq	%rax, %r13
	movq	%r15, 24(%rax)
	movq	%r14, 16(%rax)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	_HZ@GOTPCREL(%rip), %rcx
	imull	(%rcx), %ebx
	movslq	%ebx, %rcx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	movq	%rcx, %rdx
	shrq	$63, %rdx
	sarq	$38, %rcx
	addl	%edx, %ecx
	movslq	%ecx, %r12
	addq	%rax, %r12
	movq	%r12, (%r13)
	movq	_delayed_bios_lock@GOTPCREL(%rip), %rbx
	movq	%rbx, %rdi
	callq	_mutex_lock
	movq	%r14, %rdi
	callq	_bio_data_dir
	movq	_WRITE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	cmpq	(%rcx), %rax
	sete	%dl
	incl	4(%r15,%rdx,4)
	addq	$8, %r13
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_list_add_tail
	movq	%rbx, %rdi
	callq	_mutex_unlock
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_queue_timeout
	xorl	%r12d, %r12d
LBB0_3:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_NOIO,4,2                   ## @GFP_NOIO
	.comm	_jiffies,4,2                    ## @jiffies
	.comm	_HZ,4,2                         ## @HZ
	.comm	_delayed_bios_lock,4,2          ## @delayed_bios_lock
	.comm	_WRITE,8,3                      ## @WRITE
	.no_dead_strip	_delay_bio
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function delay_bio
_delay_bio:                             ; @delay_bio
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	w1, LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, x0, #16
	bl	_atomic_read
	cbz	w0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #12]
Lloh0:
	adrp	x8, _GFP_NOIO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_NOIO@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_mempool_alloc
	mov	x22, x0
	stp	x20, x19, [x0, #16]
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
Lloh6:
	adrp	x9, _HZ@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HZ@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	mul	w9, w9, w21
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	smull	x9, w9, w10
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w9, w9, w10
	add	x21, x8, w9, sxtw
	str	x21, [x0]
Lloh9:
	adrp	x23, _delayed_bios_lock@GOTPAGE
Lloh10:
	ldr	x23, [x23, _delayed_bios_lock@GOTPAGEOFF]
	mov	x0, x23
	bl	_mutex_lock
	mov	x0, x20
	bl	_bio_data_dir
Lloh11:
	adrp	x8, _WRITE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _WRITE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	mov	w9, #4
	mov	w10, #8
	cmp	x0, x8
	csel	x8, x10, x9, eq
	ldr	w9, [x19, x8]
	add	w9, w9, #1
	str	w9, [x19, x8]
	add	x0, x22, #8
	mov	x1, x19
	bl	_list_add_tail
	mov	x0, x23
	bl	_mutex_unlock
	mov	x0, x19
	mov	x1, x21
	bl	_queue_timeout
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_NOIO,4,2                   ; @GFP_NOIO
	.comm	_jiffies,4,2                    ; @jiffies
	.comm	_HZ,4,2                         ; @HZ
	.comm	_delayed_bios_lock,4,2          ; @delayed_bios_lock
	.comm	_WRITE,8,3                      ; @WRITE
	.no_dead_strip	_delay_bio
.subsections_via_symbols
