	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_dmac_isr_transfer_end
_usb_dmac_isr_transfer_end:             ## @usb_dmac_isr_transfer_end
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	movq	(%rdi), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_BUG_ON
	movq	(%rbx), %rdx
	leaq	1(%rdx), %rsi
	movq	%rsi, (%rbx)
	cmpq	8(%rbx), %rsi
	jge	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_usb_dmac_chan_start_sg         ## TAILCALL
LBB0_2:
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_usb_dmac_get_current_residue
	movl	%eax, 24(%rbx)
	leaq	16(%rbx), %rdi
	movl	16(%rbx), %eax
	movl	%eax, 20(%rbx)
	callq	_vchan_cookie_complete
	movq	%r14, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_usb_dmac_chan_start_desc       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_usb_dmac_isr_transfer_end
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb_dmac_isr_transfer_end
_usb_dmac_isr_transfer_end:             ; @usb_dmac_isr_transfer_end
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x20, [x0]
	cmp	x20, #0
	cset	w0, eq
	bl	_BUG_ON
	ldp	x2, x8, [x20]
	add	x1, x2, #1
	str	x1, [x20]
	cmp	x1, x8
	b.ge	LBB0_2
; %bb.1:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usb_dmac_chan_start_sg
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	bl	_usb_dmac_get_current_residue
	ldr	w8, [x20, #16]!
	stp	w8, w0, [x20, #4]
	mov	x0, x20
	bl	_vchan_cookie_complete
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usb_dmac_chan_start_desc
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_usb_dmac_isr_transfer_end
.subsections_via_symbols
