	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function a10dmac_read_ctl
_a10dmac_read_ctl:                      ## @a10dmac_read_ctl
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	_CH_NDMA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_AWIN_NDMA_CTL_REG@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_AWIN_DDMA_CTL_REG@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	popq	%rbp
	jmp	_DMACH_READ                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CH_NDMA,8,3                    ## @CH_NDMA
	.comm	_AWIN_NDMA_CTL_REG,4,2          ## @AWIN_NDMA_CTL_REG
	.comm	_AWIN_DDMA_CTL_REG,4,2          ## @AWIN_DDMA_CTL_REG
	.no_dead_strip	_a10dmac_read_ctl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function a10dmac_read_ctl
_a10dmac_read_ctl:                      ; @a10dmac_read_ctl
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _CH_NDMA@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CH_NDMA@GOTPAGEOFF]
Lloh2:
	adrp	x10, _AWIN_NDMA_CTL_REG@GOTPAGE
Lloh3:
	ldr	x10, [x10, _AWIN_NDMA_CTL_REG@GOTPAGEOFF]
Lloh4:
	adrp	x11, _AWIN_DDMA_CTL_REG@GOTPAGE
Lloh5:
	ldr	x11, [x11, _AWIN_DDMA_CTL_REG@GOTPAGEOFF]
Lloh6:
	ldr	x9, [x9]
	cmp	x8, x9
	csel	x8, x10, x11, eq
	ldr	w1, [x8]
	b	_DMACH_READ
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_CH_NDMA,8,3                    ; @CH_NDMA
	.comm	_AWIN_NDMA_CTL_REG,4,2          ; @AWIN_NDMA_CTL_REG
	.comm	_AWIN_DDMA_CTL_REG,4,2          ; @AWIN_DDMA_CTL_REG
	.no_dead_strip	_a10dmac_read_ctl
.subsections_via_symbols
