	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdtv_start_iso                 ## -- Begin function fdtv_start_iso
	.p2align	4, 0x90
_fdtv_start_iso:                        ## @fdtv_start_iso
	.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	%rdi, %r15
	callq	_device_of
	movq	%rax, %rbx
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$40, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r13
	movq	_FW_ISO_CONTEXT_RECEIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%r15), %edx
	movl	(%rbx), %edi
	movl	4(%rbx), %ecx
	movq	_ISO_HEADER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_handle_iso@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, (%rsp)
	callq	_fw_iso_context_create
	movl	%eax, (%r13)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movl	(%r13), %edi
	callq	_PTR_ERR
	movl	%eax, %r12d
	jmp	LBB0_4
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_18
LBB0_5:
	movq	%r13, %r14
	addq	$8, %r14
	movl	(%rbx), %esi
	movq	_N_PAGES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_DMA_FROM_DEVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r14, %rdi
	callq	_fw_iso_buffer_init
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_15
## %bb.6:
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	xorps	%xmm0, %xmm0
	movups	%xmm0, 24(%r13)
	movq	_N_PAGES@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_page_address
	movq	16(%r13), %rcx
	movl	%eax, (%rcx,%rbx,4)
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	movq	_N_PACKETS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_16
## %bb.10:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movl	%ebx, %esi
	callq	_queue_iso
	testl	%eax, %eax
	jne	LBB0_13
## %bb.11:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	%ebx
	cmpl	(%r14), %ebx
	jl	LBB0_12
LBB0_16:
	movl	(%r13), %edi
	movq	_FW_ISO_CONTEXT_MATCH_ALL_TAGS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movl	$-1, %esi
	xorl	%edx, %edx
	callq	_fw_iso_context_start
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_14
## %bb.17:
	movq	%r13, (%r15)
	jmp	LBB0_18
LBB0_13:
	movl	%eax, %r12d
LBB0_14:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_fw_iso_buffer_destroy
LBB0_15:
	movl	(%r13), %edi
	callq	_fw_iso_context_destroy
LBB0_4:
	movq	%r13, %rdi
	callq	_kfree
	movl	%r12d, %ebx
LBB0_18:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_FW_ISO_CONTEXT_RECEIVE,4,2     ## @FW_ISO_CONTEXT_RECEIVE
	.comm	_ISO_HEADER_SIZE,4,2            ## @ISO_HEADER_SIZE
	.comm	_handle_iso,4,2                 ## @handle_iso
	.comm	_N_PAGES,4,2                    ## @N_PAGES
	.comm	_DMA_FROM_DEVICE,4,2            ## @DMA_FROM_DEVICE
	.comm	_N_PACKETS,4,2                  ## @N_PACKETS
	.comm	_FW_ISO_CONTEXT_MATCH_ALL_TAGS,4,2 ## @FW_ISO_CONTEXT_MATCH_ALL_TAGS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fdtv_start_iso                 ; -- Begin function fdtv_start_iso
	.p2align	2
_fdtv_start_iso:                        ; @fdtv_start_iso
	.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, x0
	bl	_device_of
	mov	x20, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #40
	bl	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x19, x0
Lloh3:
	adrp	x8, _FW_ISO_CONTEXT_RECEIVE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_ISO_CONTEXT_RECEIVE@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x21, #8]
	ldp	w0, w3, [x20]
Lloh6:
	adrp	x8, _ISO_HEADER_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISO_HEADER_SIZE@GOTPAGEOFF]
Lloh8:
	ldr	w4, [x8]
Lloh9:
	adrp	x8, _handle_iso@GOTPAGE
Lloh10:
	ldr	x8, [x8, _handle_iso@GOTPAGEOFF]
Lloh11:
	ldr	w5, [x8]
	mov	x6, x21
	bl	_fw_iso_context_create
	str	w0, [x19]
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.2:
	ldr	w0, [x19]
	bl	_PTR_ERR
	mov	x23, x0
	b	LBB0_17
LBB0_3:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w23, w8
	b	LBB0_18
LBB0_4:
	add	x22, x19, #8
	ldr	w1, [x20]
Lloh15:
	adrp	x24, _N_PAGES@GOTPAGE
Lloh16:
	ldr	x24, [x24, _N_PAGES@GOTPAGEOFF]
	ldr	w2, [x24]
Lloh17:
	adrp	x8, _DMA_FROM_DEVICE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _DMA_FROM_DEVICE@GOTPAGEOFF]
Lloh19:
	ldr	w3, [x8]
	mov	x0, x22
	bl	_fw_iso_buffer_init
	mov	x23, x0
	cbnz	w0, LBB0_16
; %bb.5:
	stp	xzr, xzr, [x19, #24]
	ldr	w8, [x24]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x23, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	lsl	x25, x23, #2
	ldr	w0, [x8, x25]
	bl	_page_address
	ldr	x8, [x19, #16]
	str	w0, [x8, x25]
	add	x23, x23, #1
	ldrsw	x8, [x24]
	cmp	x23, x8
	b.lt	LBB0_7
LBB0_8:
Lloh20:
	adrp	x25, _N_PACKETS@GOTPAGE
Lloh21:
	ldr	x25, [x25, _N_PACKETS@GOTPAGEOFF]
	ldr	w8, [x25]
	cmp	w8, #1
	b.lt	LBB0_12
; %bb.9:
	mov	w24, #0
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x24
	bl	_queue_iso
	cbnz	w0, LBB0_14
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	w24, w24, #1
	ldr	w8, [x25]
	cmp	w24, w8
	b.lt	LBB0_10
LBB0_12:
	ldr	w0, [x19]
Lloh22:
	adrp	x8, _FW_ISO_CONTEXT_MATCH_ALL_TAGS@GOTPAGE
Lloh23:
	ldr	x8, [x8, _FW_ISO_CONTEXT_MATCH_ALL_TAGS@GOTPAGEOFF]
Lloh24:
	ldr	w3, [x8]
	mov	w1, #-1
	mov	w2, #0
	bl	_fw_iso_context_start
	mov	x23, x0
	cbnz	w0, LBB0_15
; %bb.13:
	str	x19, [x21]
	b	LBB0_18
LBB0_14:
	mov	x23, x0
LBB0_15:
	ldr	w1, [x20]
	mov	x0, x22
	bl	_fw_iso_buffer_destroy
LBB0_16:
	ldr	w0, [x19]
	bl	_fw_iso_context_destroy
LBB0_17:
	mov	x0, x19
	bl	_kfree
LBB0_18:
	mov	x0, x23
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_FW_ISO_CONTEXT_RECEIVE,4,2     ; @FW_ISO_CONTEXT_RECEIVE
	.comm	_ISO_HEADER_SIZE,4,2            ; @ISO_HEADER_SIZE
	.comm	_handle_iso,4,2                 ; @handle_iso
	.comm	_N_PAGES,4,2                    ; @N_PAGES
	.comm	_DMA_FROM_DEVICE,4,2            ; @DMA_FROM_DEVICE
	.comm	_N_PACKETS,4,2                  ; @N_PACKETS
	.comm	_FW_ISO_CONTEXT_MATCH_ALL_TAGS,4,2 ; @FW_ISO_CONTEXT_MATCH_ALL_TAGS
.subsections_via_symbols
