	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ohci_iso_xmit_init
_ohci_iso_xmit_init:                    ## @ohci_iso_xmit_init
	.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	_ENOMEM@GOTPCREL(%rip), %r12
	movl	(%r12), %r15d
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$56, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, 16(%r14)
	movq	8(%r14), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%rbx)
	movabsq	$-4294967296, %rax              ## imm = 0xFFFFFFFF00000000
	movq	%rax, (%rbx)
	leaq	4(%r14), %rdi
	xorl	%esi, %esi
	callq	_atomic_set
	leaq	48(%rbx), %r12
	movq	%r12, %rdi
	callq	_dma_prog_region_init
	movl	(%r14), %esi
	shll	$2, %esi
	movq	40(%rbx), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_dma_prog_region_alloc
	testq	%rax, %rax
	je	LBB0_3
LBB0_5:
	negl	%r15d
	movq	%r14, %rdi
	callq	_ohci_iso_xmit_shutdown
	jmp	LBB0_6
LBB0_1:
	xorl	%r15d, %r15d
	subl	(%r12), %r15d
	jmp	LBB0_6
LBB0_3:
	movq	%rbx, %r15
	addq	$32, %r15
	movq	_OHCI_ISO_TRANSMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ohci_iso_xmit_task@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	%r14, %rcx
	callq	_ohci1394_init_iso_tasklet
	movq	40(%rbx), %rdi
	movq	%r15, %rsi
	callq	_ohci1394_register_iso_tasklet
	testq	%rax, %rax
	js	LBB0_4
## %bb.7:
	movl	$1, (%rbx)
	movslq	32(%rbx), %rax
	movq	_OHCI1394_IsoXmitContextControlSet@GOTPCREL(%rip), %rcx
	shlq	$4, %rax
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 24(%rbx)
	movq	_OHCI1394_IsoXmitContextControlClear@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	addq	%rax, %rcx
	movq	%rcx, 16(%rbx)
	movq	_OHCI1394_IsoXmitCommandPtr@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	movq	%rax, 8(%rbx)
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_EBUSY@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_OHCI_ISO_TRANSMIT,4,2          ## @OHCI_ISO_TRANSMIT
	.comm	_ohci_iso_xmit_task,4,2         ## @ohci_iso_xmit_task
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_OHCI1394_IsoXmitContextControlSet,8,3 ## @OHCI1394_IsoXmitContextControlSet
	.comm	_OHCI1394_IsoXmitContextControlClear,8,3 ## @OHCI1394_IsoXmitContextControlClear
	.comm	_OHCI1394_IsoXmitCommandPtr,8,3 ## @OHCI1394_IsoXmitCommandPtr
	.no_dead_strip	_ohci_iso_xmit_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ohci_iso_xmit_init
_ohci_iso_xmit_init:                    ; @ohci_iso_xmit_init
	.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, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
	ldr	w22, [x21]
Lloh2:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w0, #56
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	str	x0, [x19, #16]
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	str	x8, [x0, #40]
	movi	d0, #0xffffffff00000000
	str	d0, [x0]
	add	x0, x19, #4
	mov	w1, #0
	bl	_atomic_set
	add	x21, x20, #48
	mov	x0, x21
	bl	_dma_prog_region_init
	ldr	w8, [x19]
	lsl	w1, w8, #2
	ldr	x8, [x20, #40]
	ldr	w2, [x8]
	mov	x0, x21
	bl	_dma_prog_region_alloc
	cbz	x0, LBB0_4
LBB0_2:
	neg	w21, w22
	mov	x0, x19
	bl	_ohci_iso_xmit_shutdown
	b	LBB0_6
LBB0_3:
	ldr	w8, [x21]
	neg	w21, w8
	b	LBB0_6
LBB0_4:
	add	x21, x20, #32
Lloh5:
	adrp	x8, _OHCI_ISO_TRANSMIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _OHCI_ISO_TRANSMIT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _ohci_iso_xmit_task@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ohci_iso_xmit_task@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	mov	x0, x21
	mov	x3, x19
	bl	_ohci1394_init_iso_tasklet
	ldr	x0, [x20, #40]
	mov	x1, x21
	bl	_ohci1394_register_iso_tasklet
	tbnz	x0, #63, LBB0_7
; %bb.5:
	mov	w21, #0
	mov	w8, #1
	str	w8, [x20]
	ldrsw	x8, [x20, #32]
Lloh11:
	adrp	x9, _OHCI1394_IsoXmitContextControlSet@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OHCI1394_IsoXmitContextControlSet@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	lsl	x8, x8, #4
	add	x9, x9, x8
	str	x9, [x20, #24]
Lloh14:
	adrp	x9, _OHCI1394_IsoXmitContextControlClear@GOTPAGE
Lloh15:
	ldr	x9, [x9, _OHCI1394_IsoXmitContextControlClear@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	add	x9, x9, x8
Lloh17:
	adrp	x10, _OHCI1394_IsoXmitCommandPtr@GOTPAGE
Lloh18:
	ldr	x10, [x10, _OHCI1394_IsoXmitCommandPtr@GOTPAGEOFF]
Lloh19:
	ldr	x10, [x10]
	add	x8, x10, x8
	stp	x8, x9, [x20, #8]
LBB0_6:
	mov	x0, x21
	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_7:
Lloh20:
	adrp	x8, _EBUSY@GOTPAGE
Lloh21:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh22:
	ldr	w22, [x8]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_OHCI_ISO_TRANSMIT,4,2          ; @OHCI_ISO_TRANSMIT
	.comm	_ohci_iso_xmit_task,4,2         ; @ohci_iso_xmit_task
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_OHCI1394_IsoXmitContextControlSet,8,3 ; @OHCI1394_IsoXmitContextControlSet
	.comm	_OHCI1394_IsoXmitContextControlClear,8,3 ; @OHCI1394_IsoXmitContextControlClear
	.comm	_OHCI1394_IsoXmitCommandPtr,8,3 ; @OHCI1394_IsoXmitCommandPtr
	.no_dead_strip	_ohci_iso_xmit_init
.subsections_via_symbols
