	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function auide_set_dma_mode
_auide_set_dma_mode:                    ## @auide_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_MEM_STCFG2@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	callq	_au_readl
	movl	%eax, %ebx
	movq	_MEM_STTIME2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_au_writel
	movl	(%r14), %esi
	movl	%ebx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_au_writel                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MEM_STCFG2,4,2                 ## @MEM_STCFG2
	.comm	_MEM_STTIME2,4,2                ## @MEM_STTIME2
	.comm	_MDMA0,4,2                      ## @MDMA0
	.comm	_MDMA1,4,2                      ## @MDMA1
	.comm	_MDMA2,4,2                      ## @MDMA2
	.comm	_SBC_IDE_MDMA0_TCSOE,4,2        ## @SBC_IDE_MDMA0_TCSOE
	.comm	_SBC_IDE_MDMA0_TOECS,4,2        ## @SBC_IDE_MDMA0_TOECS
	.comm	_SBC_IDE_MDMA1_TCSOE,4,2        ## @SBC_IDE_MDMA1_TCSOE
	.comm	_SBC_IDE_MDMA1_TOECS,4,2        ## @SBC_IDE_MDMA1_TOECS
	.comm	_SBC_IDE_MDMA2_TCSOE,4,2        ## @SBC_IDE_MDMA2_TCSOE
	.comm	_SBC_IDE_MDMA2_TOECS,4,2        ## @SBC_IDE_MDMA2_TOECS
	.comm	_TCSOE_MASK,4,2                 ## @TCSOE_MASK
	.comm	_TOECS_MASK,4,2                 ## @TOECS_MASK
	.comm	_TS_MASK,4,2                    ## @TS_MASK
	.no_dead_strip	_auide_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 auide_set_dma_mode
_auide_set_dma_mode:                    ; @auide_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
Lloh0:
	adrp	x20, _MEM_STCFG2@GOTPAGE
Lloh1:
	ldr	x20, [x20, _MEM_STCFG2@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	_au_readl
	mov	x19, x0
Lloh2:
	adrp	x8, _MEM_STTIME2@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MEM_STTIME2@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_au_writel
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_au_writel
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MEM_STCFG2,4,2                 ; @MEM_STCFG2
	.comm	_MEM_STTIME2,4,2                ; @MEM_STTIME2
	.comm	_MDMA0,4,2                      ; @MDMA0
	.comm	_MDMA1,4,2                      ; @MDMA1
	.comm	_MDMA2,4,2                      ; @MDMA2
	.comm	_SBC_IDE_MDMA0_TCSOE,4,2        ; @SBC_IDE_MDMA0_TCSOE
	.comm	_SBC_IDE_MDMA0_TOECS,4,2        ; @SBC_IDE_MDMA0_TOECS
	.comm	_SBC_IDE_MDMA1_TCSOE,4,2        ; @SBC_IDE_MDMA1_TCSOE
	.comm	_SBC_IDE_MDMA1_TOECS,4,2        ; @SBC_IDE_MDMA1_TOECS
	.comm	_SBC_IDE_MDMA2_TCSOE,4,2        ; @SBC_IDE_MDMA2_TCSOE
	.comm	_SBC_IDE_MDMA2_TOECS,4,2        ; @SBC_IDE_MDMA2_TOECS
	.comm	_TCSOE_MASK,4,2                 ; @TCSOE_MASK
	.comm	_TOECS_MASK,4,2                 ; @TOECS_MASK
	.comm	_TS_MASK,4,2                    ; @TS_MASK
	.no_dead_strip	_auide_set_dma_mode
.subsections_via_symbols
