	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ohci1394_register_iso_tasklet  ## -- Begin function ohci1394_register_iso_tasklet
	.p2align	4, 0x90
_ohci1394_register_iso_tasklet:         ## @ohci1394_register_iso_tasklet
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r12
	movq	_EBUSY@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movq	(%rsi), %rax
	movq	_OHCI_ISO_TRANSMIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movl	(%r12), %r13d
	leaq	8(%r12), %rbx
	jmp	LBB0_4
LBB0_2:
	movl	16(%r12), %r13d
	leaq	24(%r12), %rbx
	movq	_OHCI_ISO_MULTICHANNEL_RECEIVE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.3:
	leaq	32(%r12), %rsi
	xorl	%edi, %edi
	callq	_test_and_set_bit
	testq	%rax, %rax
	jne	LBB0_10
LBB0_4:
	leaq	40(%r12), %rdi
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	callq	_spin_lock_irqsave
	testl	%r13d, %r13d
	jle	LBB0_9
## %bb.5:
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_test_and_set_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incl	%r15d
	cmpl	%r15d, %r13d
	jne	LBB0_6
	jmp	LBB0_9
LBB0_7:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r15d, 8(%rdi)
	addq	$12, %rdi
	addq	$44, %r12
	movq	%r12, %rsi
	callq	_list_add_tail
	xorl	%r14d, %r14d
LBB0_9:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_spin_unlock_irqrestore
LBB0_10:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EBUSY,4,2                      ## @EBUSY
	.comm	_OHCI_ISO_TRANSMIT,8,3          ## @OHCI_ISO_TRANSMIT
	.comm	_OHCI_ISO_MULTICHANNEL_RECEIVE,8,3 ## @OHCI_ISO_MULTICHANNEL_RECEIVE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ohci1394_register_iso_tasklet  ; -- Begin function ohci1394_register_iso_tasklet
	.p2align	2
_ohci1394_register_iso_tasklet:         ; @ohci1394_register_iso_tasklet
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _EBUSY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w19, w8
	ldr	x8, [x1]
Lloh3:
	adrp	x9, _OHCI_ISO_TRANSMIT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _OHCI_ISO_TRANSMIT@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x22, x20
	ldr	w25, [x22], #8
	b	LBB0_4
LBB0_2:
	ldr	w25, [x20, #16]
	add	x22, x20, #24
Lloh6:
	adrp	x9, _OHCI_ISO_MULTICHANNEL_RECEIVE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _OHCI_ISO_MULTICHANNEL_RECEIVE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	add	x1, x20, #32
	mov	w0, #0
	bl	_test_and_set_bit
	cbnz	x0, LBB0_10
LBB0_4:
	add	x23, x20, #40
	mov	x0, x23
	bl	_spin_lock_irqsave
	cmp	w25, #1
	b.lt	LBB0_9
; %bb.5:
	mov	w24, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x22
	bl	_test_and_set_bit
	cbz	x0, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w24, w24, #1
	cmp	w25, w24
	b.ne	LBB0_6
	b	LBB0_9
LBB0_8:
	str	w24, [x21, #8]
	add	x0, x21, #12
	add	x1, x20, #44
	bl	_list_add_tail
	mov	w19, #0
LBB0_9:
	mov	x0, x23
	bl	_spin_unlock_irqrestore
LBB0_10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EBUSY,4,2                      ; @EBUSY
	.comm	_OHCI_ISO_TRANSMIT,8,3          ; @OHCI_ISO_TRANSMIT
	.comm	_OHCI_ISO_MULTICHANNEL_RECEIVE,8,3 ; @OHCI_ISO_MULTICHANNEL_RECEIVE
.subsections_via_symbols
