	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ali_warn_atapi_dma
_ali_warn_atapi_dma:                    ## @ali_warn_atapi_dma
	.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	8(%rdi), %rax
	movq	_ATA_EHI_PRINTINFO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	je	LBB0_3
## %bb.1:
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_ATA_DEV_ATAPI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.2:
	movq	_ali_atapi_dma@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_3
## %bb.4:
	movq	_KERN_WARNING@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	callq	_ata_dev_printk
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdx
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ata_dev_printk                 ## TAILCALL
LBB0_3:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATA_EHI_PRINTINFO,4,2          ## @ATA_EHI_PRINTINFO
	.comm	_ATA_DEV_ATAPI,8,3              ## @ATA_DEV_ATAPI
	.comm	_ali_atapi_dma,4,2              ## @ali_atapi_dma
	.comm	_KERN_WARNING,4,2               ## @KERN_WARNING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WARNING: ATAPI DMA disabled for reliability issues.  It can be enabled\n"

L_.str.1:                               ## @.str.1
	.asciz	"WARNING: via pata_ali.atapi_dma modparam or corresponding sysfs node.\n"

	.no_dead_strip	_ali_warn_atapi_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ali_warn_atapi_dma
_ali_warn_atapi_dma:                    ; @ali_warn_atapi_dma
	.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
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _ATA_EHI_PRINTINFO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ATA_EHI_PRINTINFO@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	x19, x0
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _ATA_DEV_ATAPI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATA_DEV_ATAPI@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
Lloh6:
	adrp	x10, _ali_atapi_dma@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ali_atapi_dma@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	cmp	x8, x9
	ccmp	w10, #0, #0, eq
	b.eq	LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
Lloh9:
	adrp	x20, _KERN_WARNING@GOTPAGE
Lloh10:
	ldr	x20, [x20, _KERN_WARNING@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh11:
	adrp	x2, l_.str@PAGE
Lloh12:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_ata_dev_printk
	ldr	w1, [x20]
Lloh13:
	adrp	x2, l_.str.1@PAGE
Lloh14:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ata_dev_printk
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ATA_EHI_PRINTINFO,4,2          ; @ATA_EHI_PRINTINFO
	.comm	_ATA_DEV_ATAPI,8,3              ; @ATA_DEV_ATAPI
	.comm	_ali_atapi_dma,4,2              ; @ali_atapi_dma
	.comm	_KERN_WARNING,4,2               ; @KERN_WARNING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WARNING: ATAPI DMA disabled for reliability issues.  It can be enabled\n"

l_.str.1:                               ; @.str.1
	.asciz	"WARNING: via pata_ali.atapi_dma modparam or corresponding sysfs node.\n"

	.no_dead_strip	_ali_warn_atapi_dma
.subsections_via_symbols
