	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mac100_dma_operation_mode
_mac100_dma_operation_mode:             ## @mac100_dma_operation_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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_DMA_CONTROL@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	addq	%rbx, %rdi
	callq	_readl
	cmpl	$65, %r14d
	jge	LBB0_1
## %bb.2:
	movq	_DMA_CONTROL_TTC_64@GOTPCREL(%rip), %rcx
	cmpl	$33, %r14d
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_DMA_CONTROL_TTC_128@GOTPCREL(%rip), %rcx
	cmpl	$33, %r14d
	jge	LBB0_5
LBB0_4:
	movq	_DMA_CONTROL_TTC_32@GOTPCREL(%rip), %rcx
LBB0_5:
	orl	(%rcx), %eax
	addq	(%r15), %rbx
	movl	%eax, %edi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_CONTROL,8,3                ## @DMA_CONTROL
	.comm	_DMA_CONTROL_TTC_32,4,2         ## @DMA_CONTROL_TTC_32
	.comm	_DMA_CONTROL_TTC_64,4,2         ## @DMA_CONTROL_TTC_64
	.comm	_DMA_CONTROL_TTC_128,4,2        ## @DMA_CONTROL_TTC_128
	.no_dead_strip	_mac100_dma_operation_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mac100_dma_operation_mode
_mac100_dma_operation_mode:             ; @mac100_dma_operation_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
Lloh0:
	adrp	x21, _DMA_CONTROL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DMA_CONTROL@GOTPAGEOFF]
	ldr	x8, [x21]
	add	x0, x8, x0
	bl	_readl
Lloh2:
	adrp	x8, _DMA_CONTROL_TTC_32@GOTPAGE
Lloh3:
	ldr	x8, [x8, _DMA_CONTROL_TTC_32@GOTPAGEOFF]
Lloh4:
	adrp	x9, _DMA_CONTROL_TTC_64@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DMA_CONTROL_TTC_64@GOTPAGEOFF]
Lloh6:
	adrp	x10, _DMA_CONTROL_TTC_128@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DMA_CONTROL_TTC_128@GOTPAGEOFF]
	cmp	w19, #65
	csel	x9, x9, x10, lt
	cmp	w19, #33
	csel	x8, x8, x9, lt
	ldr	w8, [x8]
	orr	w0, w8, w0
	ldr	x8, [x21]
	add	x1, x8, x20
	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	_writel
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_CONTROL,8,3                ; @DMA_CONTROL
	.comm	_DMA_CONTROL_TTC_32,4,2         ; @DMA_CONTROL_TTC_32
	.comm	_DMA_CONTROL_TTC_64,4,2         ; @DMA_CONTROL_TTC_64
	.comm	_DMA_CONTROL_TTC_128,4,2        ; @DMA_CONTROL_TTC_128
	.no_dead_strip	_mac100_dma_operation_mode
.subsections_via_symbols
