	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function em28xx_dvb_urb_data_copy
_em28xx_dvb_urb_data_copy:              ## @em28xx_dvb_urb_data_copy
	.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
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.1:
	movq	%rdi, %r14
	cmpq	$0, 8(%rdi)
	je	LBB0_2
LBB0_18:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rsi, %r12
	movq	(%rsi), %rdx
	testq	%rdx, %rdx
	jns	LBB0_4
## %bb.3:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_print_err_status
LBB0_4:
	movl	36(%r12), %edi
	callq	_usb_pipebulk
	movl	$1, %ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movl	8(%r12), %ecx
	testl	%ecx, %ecx
	jle	LBB0_18
LBB0_6:
	movl	%ecx, %r13d
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rdi
	movq	24(%r12), %rsi
LBB0_16:                                ##   in Loop: Header=BB0_7 Depth=1
	callq	_dvb_dmx_swfilter
LBB0_17:                                ##   in Loop: Header=BB0_7 Depth=1
	incq	%rbx
	addq	$24, %r15
	cmpq	%rbx, %r13
	je	LBB0_18
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r12), %rdx
	testq	%rdx, %rdx
	jns	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_print_err_status
	movq	(%r12), %rax
	movq	_EPROTO@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	jne	LBB0_17
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	32(%r12), %edx
	testl	%edx, %edx
	jne	LBB0_11
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=1
	movq	16(%r12), %rax
	movq	(%rax,%r15), %rdx
	testq	%rdx, %rdx
	jns	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_print_err_status
	movq	16(%r12), %rax
	movq	(%rax,%r15), %rcx
	movq	_EPROTO@GOTPCREL(%rip), %rdx
	addq	(%rdx), %rcx
	jne	LBB0_17
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	8(%rax,%r15), %edx
	testl	%edx, %edx
	je	LBB0_17
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	(%r14), %rdi
	movq	16(%rax,%r15), %rsi
	addq	24(%r12), %rsi
	jmp	LBB0_16
	.cfi_endproc
                                        ## -- End function
	.comm	_EPROTO,8,3                     ## @EPROTO
	.no_dead_strip	_em28xx_dvb_urb_data_copy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function em28xx_dvb_urb_data_copy
_em28xx_dvb_urb_data_copy:              ; @em28xx_dvb_urb_data_copy
	.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
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_3
LBB0_2:
	mov	w0, #0
	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
LBB0_3:
	mov	x19, x1
	ldr	x2, [x1]
	tbz	x2, #63, LBB0_5
; %bb.4:
	mov	x0, x20
	mov	w1, #-1
	bl	_print_err_status
LBB0_5:
	ldr	w0, [x19, #36]
	bl	_usb_pipebulk
	mov	x21, x0
	cbz	w0, LBB0_7
; %bb.6:
	mov	w8, #1
	b	LBB0_8
LBB0_7:
	ldr	w8, [x19, #8]
	cmp	w8, #1
	b.lt	LBB0_2
LBB0_8:
	mov	x23, #0
	mov	x22, #0
Lloh0:
	adrp	x24, _EPROTO@GOTPAGE
Lloh1:
	ldr	x24, [x24, _EPROTO@GOTPAGEOFF]
	mov	w25, w8
	b	LBB0_12
LBB0_9:                                 ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x20]
	ldr	x1, [x19, #24]
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=1
	bl	_dvb_dmx_swfilter
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x22, x22, #1
	add	x23, x23, #24
	cmp	x25, x22
	b.eq	LBB0_2
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	cbz	w21, LBB0_16
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x2, [x19]
	tbz	x2, #63, LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_print_err_status
	ldr	x8, [x19]
	ldr	x9, [x24]
	cmn	x8, x9
	b.ne	LBB0_11
LBB0_15:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	w2, [x19, #32]
	cbnz	w2, LBB0_9
	b	LBB0_11
LBB0_16:                                ;   in Loop: Header=BB0_12 Depth=1
	ldr	x8, [x19, #16]
	ldr	x2, [x8, x23]
	tbz	x2, #63, LBB0_18
; %bb.17:                               ;   in Loop: Header=BB0_12 Depth=1
	mov	x0, x20
	mov	x1, x22
	bl	_print_err_status
	ldr	x8, [x19, #16]
	ldr	x9, [x8, x23]
	ldr	x10, [x24]
	cmn	x9, x10
	b.ne	LBB0_11
LBB0_18:                                ;   in Loop: Header=BB0_12 Depth=1
	add	x8, x8, x23
	ldr	w2, [x8, #8]
	cbz	w2, LBB0_11
; %bb.19:                               ;   in Loop: Header=BB0_12 Depth=1
	ldr	x0, [x20]
	ldr	x9, [x19, #24]
	ldr	x8, [x8, #16]
	add	x1, x8, x9
	b	LBB0_10
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_EPROTO,8,3                     ; @EPROTO
	.no_dead_strip	_em28xx_dvb_urb_data_copy
.subsections_via_symbols
