	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fd_block_done
_fd_block_done:                         ## @fd_block_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_block_flag@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.1:
	movq	_custom@GOTPCREL(%rip), %rdx
	movl	$16384, (%rdx)                  ## imm = 0x4000
	cmpl	$2, %ecx
	jne	LBB0_3
## %bb.2:
	movq	_writepending@GOTPCREL(%rip), %rax
	movl	$2, (%rax)
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	incq	%rax
	movq	_post_write_timer@GOTPCREL(%rip), %rdi
	movq	%rax, 8(%rdi)
	movq	_selected@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	callq	_add_timer
	jmp	LBB0_4
LBB0_3:
	movl	$0, (%rax)
	movq	_wait_fd_block@GOTPCREL(%rip), %rdi
	callq	_wake_up
LBB0_4:
	movq	_IRQ_HANDLED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_block_flag,4,2                 ## @block_flag
	.comm	_custom,4,2                     ## @custom
	.comm	_writepending,4,2               ## @writepending
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_post_write_timer,16,3          ## @post_write_timer
	.comm	_selected,4,2                   ## @selected
	.comm	_wait_fd_block,4,2              ## @wait_fd_block
	.comm	_IRQ_HANDLED,4,2                ## @IRQ_HANDLED
	.no_dead_strip	_fd_block_done
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fd_block_done
_fd_block_done:                         ; @fd_block_done
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _block_flag@GOTPAGE
Lloh1:
	ldr	x8, [x8, _block_flag@GOTPAGEOFF]
	ldr	w9, [x8]
	cbz	w9, LBB0_3
; %bb.1:
Lloh2:
	adrp	x10, _custom@GOTPAGE
Lloh3:
	ldr	x10, [x10, _custom@GOTPAGEOFF]
	mov	w11, #16384
Lloh4:
	str	w11, [x10]
	cmp	w9, #2
	b.ne	LBB0_3
; %bb.2:
Lloh5:
	adrp	x8, _writepending@GOTPAGE
Lloh6:
	ldr	x8, [x8, _writepending@GOTPAGEOFF]
Lloh7:
	str	w9, [x8]
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
Lloh11:
	adrp	x0, _post_write_timer@GOTPAGE
Lloh12:
	ldr	x0, [x0, _post_write_timer@GOTPAGEOFF]
	add	x8, x8, #1
	str	x8, [x0, #8]
Lloh13:
	adrp	x8, _selected@GOTPAGE
Lloh14:
	ldr	x8, [x8, _selected@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [x0]
	bl	_add_timer
	b	LBB0_4
LBB0_3:
	str	wzr, [x8]
Lloh16:
	adrp	x0, _wait_fd_block@GOTPAGE
Lloh17:
	ldr	x0, [x0, _wait_fd_block@GOTPAGEOFF]
	bl	_wake_up
LBB0_4:
Lloh18:
	adrp	x8, _IRQ_HANDLED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _IRQ_HANDLED@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotStr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_block_flag,4,2                 ; @block_flag
	.comm	_custom,4,2                     ; @custom
	.comm	_writepending,4,2               ; @writepending
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_post_write_timer,16,3          ; @post_write_timer
	.comm	_selected,4,2                   ; @selected
	.comm	_wait_fd_block,4,2              ; @wait_fd_block
	.comm	_IRQ_HANDLED,4,2                ; @IRQ_HANDLED
	.no_dead_strip	_fd_block_done
.subsections_via_symbols
