	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_raw_taskfile               ## -- Begin function ide_raw_taskfile
	.p2align	4, 0x90
_ide_raw_taskfile:                      ## @ide_raw_taskfile
	.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	%ecx, %r12d
	movq	%rdx, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	_IDE_TFLAG_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	(%rsi), %eax
	jne	LBB0_1
## %bb.2:
	movq	_READ@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_WRITE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movl	(%r15), %edi
	movq	___GFP_WAIT@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	callq	_blk_get_request
	movq	%rax, %rbx
	movq	_REQ_TYPE_ATA_TASKFILE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	testl	%r12d, %r12d
	je	LBB0_5
## %bb.4:
	movl	(%r15), %edi
	movq	_SECTOR_SIZE@GOTPCREL(%rip), %rax
	imull	(%rax), %r12d
	movl	(%r13), %r8d
	movq	%rbx, %rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%r12d, %ecx
	callq	_blk_rq_map_kern
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_6
LBB0_5:
	movq	%r14, (%rbx)
	movq	%rbx, 8(%r14)
	movl	(%r15), %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	xorl	%ecx, %ecx
	callq	_blk_execute_rq
	movl	%eax, %r12d
LBB0_6:
	movq	%rbx, %rdi
	callq	_blk_put_request
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_TFLAG_WRITE,4,2            ## @IDE_TFLAG_WRITE
	.comm	_READ,4,2                       ## @READ
	.comm	_WRITE,4,2                      ## @WRITE
	.comm	___GFP_WAIT,4,2                 ## @__GFP_WAIT
	.comm	_REQ_TYPE_ATA_TASKFILE,4,2      ## @REQ_TYPE_ATA_TASKFILE
	.comm	_SECTOR_SIZE,4,2                ## @SECTOR_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ide_raw_taskfile               ; -- Begin function ide_raw_taskfile
	.p2align	2
_ide_raw_taskfile:                      ; @ide_raw_taskfile
	.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
	mov	x23, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x1]
Lloh0:
	adrp	x9, _IDE_TFLAG_WRITE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IDE_TFLAG_WRITE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _READ@GOTPAGE
Lloh4:
	ldr	x10, [x10, _READ@GOTPAGEOFF]
Lloh5:
	adrp	x11, _WRITE@GOTPAGE
Lloh6:
	ldr	x11, [x11, _WRITE@GOTPAGEOFF]
	tst	w9, w8
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	ldr	w0, [x0]
Lloh7:
	adrp	x24, ___GFP_WAIT@GOTPAGE
Lloh8:
	ldr	x24, [x24, ___GFP_WAIT@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_blk_get_request
	mov	x21, x0
Lloh9:
	adrp	x8, _REQ_TYPE_ATA_TASKFILE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REQ_TYPE_ATA_TASKFILE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	str	w8, [x0, #8]
	cbz	w23, LBB0_2
; %bb.1:
	ldr	w0, [x19]
Lloh12:
	adrp	x8, _SECTOR_SIZE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SECTOR_SIZE@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	mul	w3, w8, w23
	ldr	w4, [x24]
	mov	x1, x21
	mov	x2, x22
	bl	_blk_rq_map_kern
	mov	x22, x0
	cbnz	w0, LBB0_3
LBB0_2:
	str	x20, [x21]
	str	x21, [x20, #8]
	ldr	w0, [x19]
	mov	x1, #0
	mov	x2, x21
	mov	w3, #0
	bl	_blk_execute_rq
	mov	x22, x0
LBB0_3:
	mov	x0, x21
	bl	_blk_put_request
	mov	x0, x22
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_TFLAG_WRITE,4,2            ; @IDE_TFLAG_WRITE
	.comm	_READ,4,2                       ; @READ
	.comm	_WRITE,4,2                      ; @WRITE
	.comm	___GFP_WAIT,4,2                 ; @__GFP_WAIT
	.comm	_REQ_TYPE_ATA_TASKFILE,4,2      ; @REQ_TYPE_ATA_TASKFILE
	.comm	_SECTOR_SIZE,4,2                ; @SECTOR_SIZE
.subsections_via_symbols
