	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_usb_adapter_stream_init    ## -- Begin function dvb_usb_adapter_stream_init
	.p2align	4, 0x90
_dvb_usb_adapter_stream_init:           ## @dvb_usb_adapter_stream_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$0, (%rdi)
	jle	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movl	$4, %r15d
	xorl	%ebx, %ebx
	movq	_dvb_usb_data_complete_raw@GOTPCREL(%rip), %r12
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rax
	movq	24(%r14), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax,%rbx)
	movq	8(%r14), %rsi
	movl	(%rsi,%r13,8), %edi
	movq	_DVB_USB_ADAP_RECEIVES_204_BYTE_TS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%edi, %ecx
	movq	%r12, %r8
	movq	_DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD@GOTPCREL(%rip), %rdx
	andl	(%rdx), %edi
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_dvb_usb_data_complete@GOTPCREL(%rip), %r8
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	leaq	(%rax,%rbx), %rdi
	testl	%ecx, %ecx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	_dvb_usb_data_complete_204@GOTPCREL(%rip), %r8
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=1
	movl	(%r8), %ecx
	movl	%ecx, 8(%rax,%rbx)
	movq	%r14, (%rax,%rbx)
	addq	%r15, %rsi
	callq	_usb_urb_init
	testl	%eax, %eax
	js	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movslq	(%r14), %rcx
	addq	$16, %rbx
	addq	$8, %r15
	cmpq	%rcx, %r13
	jl	LBB0_4
	jmp	LBB0_9
LBB0_1:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DVB_USB_ADAP_RECEIVES_204_BYTE_TS,4,2 ## @DVB_USB_ADAP_RECEIVES_204_BYTE_TS
	.comm	_dvb_usb_data_complete_204,4,2  ## @dvb_usb_data_complete_204
	.comm	_DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD,4,2 ## @DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD
	.comm	_dvb_usb_data_complete_raw,4,2  ## @dvb_usb_data_complete_raw
	.comm	_dvb_usb_data_complete,4,2      ## @dvb_usb_data_complete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dvb_usb_adapter_stream_init    ; -- Begin function dvb_usb_adapter_stream_init
	.p2align	2
_dvb_usb_adapter_stream_init:           ; @dvb_usb_adapter_stream_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x19, x0
	mov	x20, #0
	mov	x21, #0
	mov	x22, #0
Lloh0:
	adrp	x23, _DVB_USB_ADAP_RECEIVES_204_BYTE_TS@GOTPAGE
Lloh1:
	ldr	x23, [x23, _DVB_USB_ADAP_RECEIVES_204_BYTE_TS@GOTPAGEOFF]
Lloh2:
	adrp	x24, _DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD@GOTPAGE
Lloh3:
	ldr	x24, [x24, _DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD@GOTPAGEOFF]
Lloh4:
	adrp	x25, _dvb_usb_data_complete@GOTPAGE
Lloh5:
	ldr	x25, [x25, _dvb_usb_data_complete@GOTPAGEOFF]
Lloh6:
	adrp	x26, _dvb_usb_data_complete_raw@GOTPAGE
Lloh7:
	ldr	x26, [x26, _dvb_usb_data_complete_raw@GOTPAGEOFF]
Lloh8:
	adrp	x27, _dvb_usb_data_complete_204@GOTPAGE
Lloh9:
	ldr	x27, [x27, _dvb_usb_data_complete_204@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x9, x8, [x19, #16]
	ldr	w8, [x8]
	ldr	x10, [x19, #8]
	add	x0, x9, x21
	str	w8, [x0, #12]
	add	x1, x10, x20
	ldr	w8, [x1], #4
	ldr	w9, [x23]
	ldr	w10, [x24]
	tst	w10, w8
	csel	x10, x25, x26, eq
	tst	w9, w8
	csel	x8, x10, x27, eq
	ldr	w8, [x8]
	str	w8, [x0, #8]
	str	x19, [x0]
	bl	_usb_urb_init
	tbnz	w0, #31, LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	ldrsw	x8, [x19]
	add	x21, x21, #16
	add	x20, x20, #8
	cmp	x22, x8
	b.lt	LBB0_2
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DVB_USB_ADAP_RECEIVES_204_BYTE_TS,4,2 ; @DVB_USB_ADAP_RECEIVES_204_BYTE_TS
	.comm	_dvb_usb_data_complete_204,4,2  ; @dvb_usb_data_complete_204
	.comm	_DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD,4,2 ; @DVB_USB_ADAP_RECEIVES_RAW_PAYLOAD
	.comm	_dvb_usb_data_complete_raw,4,2  ; @dvb_usb_data_complete_raw
	.comm	_dvb_usb_data_complete,4,2      ; @dvb_usb_data_complete
.subsections_via_symbols
