	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cs5530_set_dma_mode
_cs5530_set_dma_mode:                   ## @cs5530_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	addl	$-128, %esi
	xorl	%r13d, %r13d
	cmpl	$5, %esi
	ja	LBB0_2
## %bb.1:
	movslq	%esi, %rax
	leaq	l_switch.table.cs5530_set_dma_mode(%rip), %rcx
	movl	(%rcx,%rax,4), %r13d
LBB0_2:
	movl	4(%r14), %edi
	callq	_CS5530_BASEREG
	movq	%rax, %r12
	leaq	4(%rax), %r15
	movq	%r15, %rdi
	callq	_inl
	movl	%eax, %ebx
	testb	$1, (%r14)
	je	LBB0_4
## %bb.3:
	movl	%r13d, %eax
	andl	$1048576, %eax                  ## imm = 0x100000
	movl	%ebx, %edi
	andl	$-1048577, %edi                 ## imm = 0xFFEFFFFF
	orl	%eax, %edi
	movq	%r15, %rsi
	callq	_outl
	addq	$12, %r12
	movq	%r12, %r15
LBB0_4:
	andl	$-2147483648, %ebx              ## imm = 0x80000000
	orl	%r13d, %ebx
	movl	%ebx, %edi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_outl                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cs5530_set_dma_mode
	.section	__TEXT,__const
	.p2align	2                               ## @switch.table.cs5530_set_dma_mode
l_switch.table.cs5530_set_dma_mode:
	.long	9506864                         ## 0x911030
	.long	9507136                         ## 0x911140
	.long	9572944                         ## 0x921250
	.long	8224                            ## 0x2020
	.long	74017                           ## 0x12121
	.long	489329                          ## 0x77771

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cs5530_set_dma_mode
_cs5530_set_dma_mode:                   ; @cs5530_set_dma_mode
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	sub	w8, w1, #128
	cmp	w8, #5
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, l_switch.table.cs5530_set_dma_mode@PAGE
Lloh1:
	add	x9, x9, l_switch.table.cs5530_set_dma_mode@PAGEOFF
	ldr	w23, [x9, w8, sxtw #2]
	b	LBB0_3
LBB0_2:
	mov	w23, #0
LBB0_3:
	ldr	w0, [x19, #4]
	bl	_CS5530_BASEREG
	mov	x22, x0
	add	x20, x0, #4
	mov	x0, x20
	bl	_inl
	mov	x21, x0
	ldrb	w8, [x19]
	tbz	w8, #0, LBB0_5
; %bb.4:
	lsr	w8, w23, #20
	mov	x0, x21
	bfi	w0, w8, #20, #1
	mov	x1, x20
	bl	_outl
	add	x20, x22, #12
LBB0_5:
	and	w8, w21, #0x80000000
	orr	w0, w8, w23
	mov	x1, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_outl
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cs5530_set_dma_mode
	.section	__TEXT,__const
	.p2align	2                               ; @switch.table.cs5530_set_dma_mode
l_switch.table.cs5530_set_dma_mode:
	.long	9506864                         ; 0x911030
	.long	9507136                         ; 0x911140
	.long	9572944                         ; 0x921250
	.long	8224                            ; 0x2020
	.long	74017                           ; 0x12121
	.long	489329                          ; 0x77771

.subsections_via_symbols
