	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_fd_request
_do_fd_request:                         ## @do_fd_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_max_buffer_sectors@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_6
## %bb.1:
	movq	_usage_count@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.2:
	movq	_fdc_busy@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_6:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printk                         ## TAILCALL
LBB0_7:
	movq	_current_req@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_printk
	movq	(%rbx), %rdi
	callq	_blk_rq_pos
	movq	(%rbx), %rdx
	movl	(%rdx), %ecx
	movl	4(%rdx), %edx
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_printk                         ## TAILCALL
LBB0_5:
	movq	_MAXTIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_lock_fdc
	xorl	%eax, %eax
	callq	_process_fd_request
	leaq	L_.str.4(%rip), %rdi
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_is_alive                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_max_buffer_sectors,8,3         ## @max_buffer_sectors
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"VFS: do_fd_request called on non-open device\n"

	.comm	_usage_count,8,3                ## @usage_count
L_.str.1:                               ## @.str.1
	.asciz	"warning: usage count=0, current_req=%p exiting\n"

	.comm	_current_req,8,3                ## @current_req
L_.str.2:                               ## @.str.2
	.asciz	"sect=%ld type=%x flags=%x\n"

	.comm	_fdc_busy,4,2                   ## @fdc_busy
L_.str.3:                               ## @.str.3
	.asciz	"do fd request, old request running"

	.comm	_MAXTIMEOUT,4,2                 ## @MAXTIMEOUT
L_.str.4:                               ## @.str.4
	.asciz	"do fd request"

	.no_dead_strip	_do_fd_request
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_fd_request
_do_fd_request:                         ; @do_fd_request
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, _max_buffer_sectors@GOTPAGE
Lloh1:
	ldr	x8, [x8, _max_buffer_sectors@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _usage_count@GOTPAGE
Lloh4:
	ldr	x8, [x8, _usage_count@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.2:
Lloh6:
	adrp	x1, _fdc_busy@GOTPAGE
Lloh7:
	ldr	x1, [x1, _fdc_busy@GOTPAGEOFF]
	mov	w0, #0
	bl	_test_bit
	cbz	x0, LBB0_6
; %bb.3:
Lloh8:
	adrp	x0, l_.str.3@PAGE
Lloh9:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_7
LBB0_4:
Lloh10:
	adrp	x0, l_.str@PAGE
Lloh11:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_printk
LBB0_5:
Lloh12:
	adrp	x19, _current_req@GOTPAGE
Lloh13:
	ldr	x19, [x19, _current_req@GOTPAGEOFF]
	ldr	x8, [x19]
	str	x8, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_printk
	ldr	x0, [x19]
	bl	_blk_rq_pos
	ldr	x8, [x19]
	ldp	w8, w9, [x8]
	stp	x9, x8, [sp, #8]
	str	x0, [sp]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printk
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh18:
	adrp	x8, _MAXTIMEOUT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _MAXTIMEOUT@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_lock_fdc
	bl	_process_fd_request
Lloh21:
	adrp	x0, l_.str.4@PAGE
Lloh22:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_is_alive
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_max_buffer_sectors,8,3         ; @max_buffer_sectors
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"VFS: do_fd_request called on non-open device\n"

	.comm	_usage_count,8,3                ; @usage_count
l_.str.1:                               ; @.str.1
	.asciz	"warning: usage count=0, current_req=%p exiting\n"

	.comm	_current_req,8,3                ; @current_req
l_.str.2:                               ; @.str.2
	.asciz	"sect=%ld type=%x flags=%x\n"

	.comm	_fdc_busy,4,2                   ; @fdc_busy
l_.str.3:                               ; @.str.3
	.asciz	"do fd request, old request running"

	.comm	_MAXTIMEOUT,4,2                 ; @MAXTIMEOUT
l_.str.4:                               ; @.str.4
	.asciz	"do fd request"

	.no_dead_strip	_do_fd_request
.subsections_via_symbols
