	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sl82c105_set_dma_mode
_sl82c105_set_dma_mode:                 ## @sl82c105_set_dma_mode
	.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	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_ide_get_drivedata
	movq	(%rbx), %rcx
	movq	_XFER_MW_DMA_0@GOTPCREL(%rip), %rdx
	subq	(%rdx), %rcx
	leaq	_sl82c105_set_dma_mode.mwdma_timings(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rsi
	movzwl	%ax, %eax
	shlq	$16, %rsi
	orq	%rax, %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_ide_set_drivedata              ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @sl82c105_set_dma_mode.mwdma_timings
_sl82c105_set_dma_mode.mwdma_timings:
	.long	1799                            ## 0x707
	.long	513                             ## 0x201
	.long	512                             ## 0x200

	.comm	_XFER_MW_DMA_0,8,3              ## @XFER_MW_DMA_0
	.no_dead_strip	_sl82c105_set_dma_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sl82c105_set_dma_mode
_sl82c105_set_dma_mode:                 ; @sl82c105_set_dma_mode
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x0, x1
	bl	_ide_get_drivedata
	mov	x1, x0
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _XFER_MW_DMA_0@GOTPAGE
Lloh1:
	ldr	x9, [x9, _XFER_MW_DMA_0@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x10, _sl82c105_set_dma_mode.mwdma_timings@PAGE
Lloh4:
	add	x10, x10, _sl82c105_set_dma_mode.mwdma_timings@PAGEOFF
	sub	x8, x8, x9
	ldrsw	x8, [x10, x8, lsl #2]
	bfi	x1, x8, #16, #48
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ide_set_drivedata
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @sl82c105_set_dma_mode.mwdma_timings
_sl82c105_set_dma_mode.mwdma_timings:
	.long	1799                            ; 0x707
	.long	513                             ; 0x201
	.long	512                             ; 0x200

	.comm	_XFER_MW_DMA_0,8,3              ; @XFER_MW_DMA_0
	.no_dead_strip	_sl82c105_set_dma_mode
.subsections_via_symbols
