	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function initialize_dma_trm_ctx
_initialize_dma_trm_ctx:                ## @initialize_dma_trm_ctx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	64(%rdi), %r14
	movl	56(%rdi), %esi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_ohci1394_stop_context
	xorps	%xmm0, %xmm0
	movups	%xmm0, 40(%rbx)
	movl	32(%rbx), %eax
	movl	%eax, 36(%rbx)
	movq	$0, 24(%rbx)
	leaq	16(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	leaq	12(%rbx), %rdi
	callq	_INIT_LIST_HEAD
	movq	(%rbx), %rax
	movq	_DMA_CTX_ISO@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_OHCI1394_IsoXmitIntMaskSet@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movb	8(%rbx), %cl
	movl	$1, %edx
	shll	%cl, %edx
	movq	%r14, %rdi
	callq	_reg_write
LBB0_2:
	movl	8(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_DBGMSG                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DMA_CTX_ISO,8,3                ## @DMA_CTX_ISO
	.comm	_OHCI1394_IsoXmitIntMaskSet,4,2 ## @OHCI1394_IsoXmitIntMaskSet
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Transmit DMA ctx=%d initialized"

	.no_dead_strip	_initialize_dma_trm_ctx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function initialize_dma_trm_ctx
_initialize_dma_trm_ctx:                ; @initialize_dma_trm_ctx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0, #64]
	ldr	w1, [x0, #56]
	mov	x0, x20
	mov	x2, #0
	bl	_ohci1394_stop_context
	stp	xzr, xzr, [x19, #40]
	ldr	w8, [x19, #32]
	str	w8, [x19, #36]
	str	xzr, [x19, #24]
	add	x0, x19, #16
	bl	_INIT_LIST_HEAD
	add	x0, x19, #12
	bl	_INIT_LIST_HEAD
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _DMA_CTX_ISO@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DMA_CTX_ISO@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _OHCI1394_IsoXmitIntMaskSet@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OHCI1394_IsoXmitIntMaskSet@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w8, [x19, #8]
	mov	w9, #1
	lsl	w2, w9, w8
	mov	x0, x20
	bl	_reg_write
LBB0_2:
	ldr	w1, [x19, #8]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_DBGMSG
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_DMA_CTX_ISO,8,3                ; @DMA_CTX_ISO
	.comm	_OHCI1394_IsoXmitIntMaskSet,4,2 ; @OHCI1394_IsoXmitIntMaskSet
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Transmit DMA ctx=%d initialized"

	.no_dead_strip	_initialize_dma_trm_ctx
.subsections_via_symbols
