	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cpp41_dma_filter_fn
_cpp41_dma_filter_fn:                   ## @cpp41_dma_filter_fn
	.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
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	xorl	%r15d, %r15d
	cmpq	_cpp41_dma_driver@GOTPCREL(%rip), %rax
	jne	LBB0_6
## %bb.1:
	movq	%rsi, %rbx
	callq	_to_cpp41_chan
	movq	%rax, %r14
	movq	(%rax), %rax
	movq	_INFO_PORT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	(%rbx,%rcx,8), %rax
	jne	LBB0_6
## %bb.2:
	movq	16(%r14), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_INFO_IS_TX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	$0, (%rbx,%rcx,8)
	je	LBB0_6
LBB0_4:
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setne	%cl
	movq	24(%r14), %rax
	movq	(%rax,%rcx,8), %r12
	movq	_am335x_usb_queues_rx@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	callq	_ARRAY_SIZE
	movq	%rax, %rbx
	movq	_am335x_usb_queues_tx@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setne	%dil
	callq	_BUILD_BUG_ON
	movq	(%r14), %rbx
	movl	(%r13), %edi
	callq	_ARRAY_SIZE
	xorl	%edi, %edi
	cmpq	%rax, %rbx
	setge	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	(%r14), %rax
	movl	4(%r12,%rax,8), %ecx
	movl	%ecx, 12(%r14)
	movl	(%r12,%rax,8), %eax
	movl	%eax, 8(%r14)
	movl	$1, %r15d
LBB0_6:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpp41_dma_driver,4,2           ## @cpp41_dma_driver
	.comm	_INFO_PORT,8,3                  ## @INFO_PORT
	.comm	_INFO_IS_TX,8,3                 ## @INFO_IS_TX
	.comm	_am335x_usb_queues_rx,4,2       ## @am335x_usb_queues_rx
	.comm	_am335x_usb_queues_tx,4,2       ## @am335x_usb_queues_tx
	.no_dead_strip	_cpp41_dma_filter_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cpp41_dma_filter_fn
_cpp41_dma_filter_fn:                   ; @cpp41_dma_filter_fn
	.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
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _cpp41_dma_driver@GOTPAGE
Lloh1:
	ldr	x9, [x9, _cpp41_dma_driver@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	mov	x20, x1
	bl	_to_cpp41_chan
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _INFO_PORT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _INFO_PORT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldr	x9, [x20, x9, lsl #3]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_4
; %bb.3:
Lloh5:
	adrp	x9, _INFO_IS_TX@GOTPAGE
Lloh6:
	ldr	x9, [x9, _INFO_IS_TX@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	ldr	x9, [x20, x9, lsl #3]
	cbz	x9, LBB0_5
LBB0_4:
	cmp	x8, #0
	cset	w8, ne
	ldr	x9, [x19, #24]
	ldr	x21, [x9, w8, uxtw #3]
Lloh8:
	adrp	x22, _am335x_usb_queues_rx@GOTPAGE
Lloh9:
	ldr	x22, [x22, _am335x_usb_queues_rx@GOTPAGEOFF]
	ldr	w0, [x22]
	bl	_ARRAY_SIZE
	mov	x20, x0
Lloh10:
	adrp	x8, _am335x_usb_queues_tx@GOTPAGE
Lloh11:
	ldr	x8, [x8, _am335x_usb_queues_tx@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_ARRAY_SIZE
	cmp	x20, x0
	cset	w0, ne
	bl	_BUILD_BUG_ON
	ldr	x20, [x19]
	ldr	w0, [x22]
	bl	_ARRAY_SIZE
	cmp	x20, x0
	cset	w0, ge
	bl	_WARN_ON
	cbz	x0, LBB0_7
LBB0_5:
	mov	w0, #0
LBB0_6:
	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:
	ldr	x8, [x19]
	ldr	d0, [x21, x8, lsl #3]
	str	d0, [x19, #8]
	mov	w0, #1
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_cpp41_dma_driver,4,2           ; @cpp41_dma_driver
	.comm	_INFO_PORT,8,3                  ; @INFO_PORT
	.comm	_INFO_IS_TX,8,3                 ; @INFO_IS_TX
	.comm	_am335x_usb_queues_rx,4,2       ; @am335x_usb_queues_rx
	.comm	_am335x_usb_queues_tx,4,2       ; @am335x_usb_queues_tx
	.no_dead_strip	_cpp41_dma_filter_fn
.subsections_via_symbols
