	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mt76x2u_init_dma
_mt76x2u_init_dma:                      ## @mt76x2u_init_dma
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_CFG@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_MT_USB_U3DMA_CFG@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	callq	_MT_VEND_ADDR
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_mt76_rr
	movq	_MT_USB_DMA_CFG_RX_DROP_OR_PAD@GOTPCREL(%rip), %rcx
	movq	_MT_USB_DMA_CFG_RX_BULK_EN@GOTPCREL(%rip), %rdx
	movq	_MT_USB_DMA_CFG_TX_BULK_EN@GOTPCREL(%rip), %rsi
	orl	(%rcx), %eax
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	movq	_MT_USB_DMA_CFG_RX_BULK_AGG_EN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movl	(%r15), %edi
	movl	(%r12), %esi
	callq	_MT_VEND_ADDR
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mt76_wr                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CFG,4,2                        ## @CFG
	.comm	_MT_USB_U3DMA_CFG,4,2           ## @MT_USB_U3DMA_CFG
	.comm	_MT_USB_DMA_CFG_RX_DROP_OR_PAD,4,2 ## @MT_USB_DMA_CFG_RX_DROP_OR_PAD
	.comm	_MT_USB_DMA_CFG_RX_BULK_EN,4,2  ## @MT_USB_DMA_CFG_RX_BULK_EN
	.comm	_MT_USB_DMA_CFG_TX_BULK_EN,4,2  ## @MT_USB_DMA_CFG_TX_BULK_EN
	.comm	_MT_USB_DMA_CFG_RX_BULK_AGG_EN,4,2 ## @MT_USB_DMA_CFG_RX_BULK_AGG_EN
	.no_dead_strip	_mt76x2u_init_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mt76x2u_init_dma
_mt76x2u_init_dma:                      ; @mt76x2u_init_dma
	.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, x0
Lloh0:
	adrp	x21, _CFG@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CFG@GOTPAGEOFF]
	ldr	w0, [x21]
Lloh2:
	adrp	x22, _MT_USB_U3DMA_CFG@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MT_USB_U3DMA_CFG@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_MT_VEND_ADDR
	mov	x1, x0
	mov	x0, x19
	bl	_mt76_rr
Lloh4:
	adrp	x8, _MT_USB_DMA_CFG_RX_DROP_OR_PAD@GOTPAGE
Lloh5:
	ldr	x8, [x8, _MT_USB_DMA_CFG_RX_DROP_OR_PAD@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
Lloh7:
	adrp	x9, _MT_USB_DMA_CFG_RX_BULK_EN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _MT_USB_DMA_CFG_RX_BULK_EN@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _MT_USB_DMA_CFG_TX_BULK_EN@GOTPAGE
Lloh11:
	ldr	x10, [x10, _MT_USB_DMA_CFG_TX_BULK_EN@GOTPAGEOFF]
Lloh12:
	ldr	w10, [x10]
	orr	w8, w8, w0
	orr	w8, w8, w9
	orr	w8, w8, w10
Lloh13:
	adrp	x9, _MT_USB_DMA_CFG_RX_BULK_AGG_EN@GOTPAGE
Lloh14:
	ldr	x9, [x9, _MT_USB_DMA_CFG_RX_BULK_AGG_EN@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	bic	w20, w8, w9
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_MT_VEND_ADDR
	mov	x1, x0
	mov	x0, x19
	mov	x2, 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	_mt76_wr
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CFG,4,2                        ; @CFG
	.comm	_MT_USB_U3DMA_CFG,4,2           ; @MT_USB_U3DMA_CFG
	.comm	_MT_USB_DMA_CFG_RX_DROP_OR_PAD,4,2 ; @MT_USB_DMA_CFG_RX_DROP_OR_PAD
	.comm	_MT_USB_DMA_CFG_RX_BULK_EN,4,2  ; @MT_USB_DMA_CFG_RX_BULK_EN
	.comm	_MT_USB_DMA_CFG_TX_BULK_EN,4,2  ; @MT_USB_DMA_CFG_TX_BULK_EN
	.comm	_MT_USB_DMA_CFG_RX_BULK_AGG_EN,4,2 ; @MT_USB_DMA_CFG_RX_BULK_AGG_EN
	.no_dead_strip	_mt76x2u_init_dma
.subsections_via_symbols
