	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hsu_chan_enable
_hsu_chan_enable:                       ## @hsu_chan_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_HSU_CH_CR_CHA@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	(%rdi), %rax
	movq	_DMA_MEM_TO_DEV@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_HSU_CH_CR_CHD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %edx
	jmp	LBB0_4
LBB0_2:
	movq	_DMA_DEV_TO_MEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	movq	_HSU_CH_CR_CHD@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
LBB0_4:
	movq	_HSU_CH_CR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	popq	%rbp
	jmp	_hsu_chan_writel                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_HSU_CH_CR_CHA,4,2              ## @HSU_CH_CR_CHA
	.comm	_DMA_MEM_TO_DEV,8,3             ## @DMA_MEM_TO_DEV
	.comm	_HSU_CH_CR_CHD,4,2              ## @HSU_CH_CR_CHD
	.comm	_DMA_DEV_TO_MEM,8,3             ## @DMA_DEV_TO_MEM
	.comm	_HSU_CH_CR,4,2                  ## @HSU_CH_CR
	.no_dead_strip	_hsu_chan_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hsu_chan_enable
_hsu_chan_enable:                       ; @hsu_chan_enable
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _HSU_CH_CR_CHA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HSU_CH_CR_CHA@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _DMA_MEM_TO_DEV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DMA_MEM_TO_DEV@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _HSU_CH_CR_CHD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _HSU_CH_CR_CHD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w2, w2, w8
	b	LBB0_4
LBB0_2:
Lloh9:
	adrp	x9, _DMA_DEV_TO_MEM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DMA_DEV_TO_MEM@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _HSU_CH_CR_CHD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HSU_CH_CR_CHD@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	orr	w2, w8, w2
LBB0_4:
Lloh15:
	adrp	x8, _HSU_CH_CR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HSU_CH_CR@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	b	_hsu_chan_writel
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_HSU_CH_CR_CHA,4,2              ; @HSU_CH_CR_CHA
	.comm	_DMA_MEM_TO_DEV,8,3             ; @DMA_MEM_TO_DEV
	.comm	_HSU_CH_CR_CHD,4,2              ; @HSU_CH_CR_CHD
	.comm	_DMA_DEV_TO_MEM,8,3             ; @DMA_DEV_TO_MEM
	.comm	_HSU_CH_CR,4,2                  ; @HSU_CH_CR
	.no_dead_strip	_hsu_chan_enable
.subsections_via_symbols
