	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dwc_initialize
_dwc_initialize:                        ## @dwc_initialize
	.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, %rbx
	movl	8(%rdi), %edi
	callq	_to_dw_dma
	movq	%rax, %r14
	movq	_DW_DMA_IS_INITIALIZED@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rbx, %rdi
	callq	*(%r14)
	movq	_MASK@GOTPCREL(%rip), %r12
	movl	4(%r12), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_channel_set_bit
	movl	(%r12), %esi
	movl	4(%rbx), %edx
	movq	%r14, %rdi
	callq	_channel_set_bit
	movl	(%r15), %edi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_bit                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DW_DMA_IS_INITIALIZED,4,2      ## @DW_DMA_IS_INITIALIZED
	.comm	_MASK,8,2                       ## @MASK
	.no_dead_strip	_dwc_initialize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dwc_initialize
_dwc_initialize:                        ; @dwc_initialize
	.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
	ldr	w0, [x0, #8]
	bl	_to_dw_dma
	mov	x20, x0
Lloh0:
	adrp	x21, _DW_DMA_IS_INITIALIZED@GOTPAGE
Lloh1:
	ldr	x21, [x21, _DW_DMA_IS_INITIALIZED@GOTPAGEOFF]
	ldr	w0, [x21]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
	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
	ret
LBB0_2:
	ldr	x8, [x20]
	mov	x0, x19
	blr	x8
Lloh2:
	adrp	x22, _MASK@GOTPAGE
Lloh3:
	ldr	x22, [x22, _MASK@GOTPAGEOFF]
	ldr	w1, [x22, #4]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_channel_set_bit
	ldr	w1, [x22]
	ldr	w2, [x19, #4]
	mov	x0, x20
	bl	_channel_set_bit
	ldr	w0, [x21]
	mov	x1, x19
	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	_set_bit
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_DW_DMA_IS_INITIALIZED,4,2      ; @DW_DMA_IS_INITIALIZED
	.comm	_MASK,8,2                       ; @MASK
	.no_dead_strip	_dwc_initialize
.subsections_via_symbols
