	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pmac_ide_apply_timings
_pmac_ide_apply_timings:                ## @pmac_ide_apply_timings
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	(%rax), %edi
	callq	_dev_get_drvdata
	movl	(%rbx), %ecx
	andl	$1, %ecx
	movq	(%rax), %rax
	movl	(%rax,%rcx,4), %ebx
	movq	_IDE_TIMING_CONFIG@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_PMAC_IDE_REG
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movl	(%r14), %edi
	callq	_PMAC_IDE_REG
	movl	%eax, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_readl                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IDE_TIMING_CONFIG,4,2          ## @IDE_TIMING_CONFIG
	.no_dead_strip	_pmac_ide_apply_timings
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pmac_ide_apply_timings
_pmac_ide_apply_timings:                ; @pmac_ide_apply_timings
	.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, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
	bl	_dev_get_drvdata
	ldr	w8, [x19]
	and	x8, x8, #0x1
	ldr	x9, [x0]
	ldr	w19, [x9, x8, lsl #2]
Lloh0:
	adrp	x20, _IDE_TIMING_CONFIG@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IDE_TIMING_CONFIG@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_PMAC_IDE_REG
	mov	x1, x0
	mov	x0, x19
	bl	_writel
	ldr	w0, [x20]
	bl	_PMAC_IDE_REG
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_readl
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IDE_TIMING_CONFIG,4,2          ; @IDE_TIMING_CONFIG
	.no_dead_strip	_pmac_ide_apply_timings
.subsections_via_symbols
