	.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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	callq	_ide_get_drivedata
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_ide_xfer_verbose
	movslq	%eax, %rdi
	callq	_DBG
	movq	_XFER_MW_DMA_0@GOTPCREL(%rip), %rax
	subq	(%rax), %rbx
	leaq	_sl82c105_set_dma_mode.mwdma_timings(%rip), %rax
	movslq	(%rax,%rbx,4), %rsi
	movzwl	%r15w, %eax
	shlq	$16, %rsi
	orq	%rax, %rsi
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	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	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	bl	_ide_get_drivedata
	mov	x21, x0
	mov	x0, x19
	bl	_ide_xfer_verbose
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x0, w0
	bl	_DBG
Lloh0:
	adrp	x8, _XFER_MW_DMA_0@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XFER_MW_DMA_0@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _sl82c105_set_dma_mode.mwdma_timings@PAGE
Lloh4:
	add	x9, x9, _sl82c105_set_dma_mode.mwdma_timings@PAGEOFF
	sub	x8, x19, x8
	ldrsw	x8, [x9, x8, lsl #2]
	bfi	x21, x8, #16, #48
	mov	x0, x20
	mov	x1, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 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
